public class OOrBlock extends OBooleanExpression
FALSE, TRUE
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OOrBlock(int id) |
OOrBlock(OrientSql p,
int id) |
deserialize, deserializeFromOResult, encapsulateInAndBlock, serialize, transformToUpdateItem
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
public OOrBlock(int id)
public OOrBlock(OrientSql p, int id)
public boolean evaluate(OIdentifiable currentRecord, OCommandContext ctx)
evaluate
in class OBooleanExpression
public boolean evaluate(OResult currentRecord, OCommandContext ctx)
evaluate
in class OBooleanExpression
public boolean evaluate(Object currentRecord, OCommandContext ctx)
public List<OBooleanExpression> getSubBlocks()
public void setSubBlocks(List<OBooleanExpression> subBlocks)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
protected boolean supportsBasicCalculation()
supportsBasicCalculation
in class OBooleanExpression
protected int getNumberOfExternalCalculations()
getNumberOfExternalCalculations
in class OBooleanExpression
protected List<Object> getExternalCalculationConditions()
getExternalCalculationConditions
in class OBooleanExpression
public List<OBinaryCondition> getIndexedFunctionConditions(OClass iSchemaClass, ODatabaseDocumentInternal database)
getIndexedFunctionConditions
in class OBooleanExpression
public List<OAndBlock> flatten()
flatten
in class OBooleanExpression
public boolean needsAliases(Set<String> aliases)
needsAliases
in class OBooleanExpression
public OOrBlock copy()
copy
in class OBooleanExpression
public boolean isEmpty()
isEmpty
in class OBooleanExpression
public void extractSubQueries(SubQueryCollector collector)
extractSubQueries
in class OBooleanExpression
public boolean refersToParent()
refersToParent
in class OBooleanExpression
public List<String> getMatchPatternInvolvedAliases()
getMatchPatternInvolvedAliases
in class OBooleanExpression
public void translateLuceneOperator()
translateLuceneOperator
in class OBooleanExpression
public boolean isCacheable()
isCacheable
in class OBooleanExpression
public OBooleanExpression rewriteIndexChainsAsSubqueries(OCommandContext ctx, OClass clazz)
rewriteIndexChainsAsSubqueries
in class OBooleanExpression
public boolean isAlwaysTrue()
OBooleanExpression
isAlwaysTrue
in class OBooleanExpression
Copyright © 2009–2020 OrientDB. All rights reserved.