
public class OBinaryCondition extends OBooleanExpression
| Modifier and Type | Field and Description |
|---|---|
protected OExpression |
left |
protected OBinaryCompareOperator |
operator |
protected OExpression |
right |
FALSE, TRUEchildren, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OBinaryCondition(int id) |
OBinaryCondition(OrientSql p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
long |
estimateIndexed(OFromClause target,
OCommandContext context) |
boolean |
evaluate(OIdentifiable currentRecord,
OCommandContext ctx) |
Iterable<OIdentifiable> |
executeIndexedFunction(OFromClause target,
OCommandContext context) |
protected List<Object> |
getExternalCalculationConditions() |
List<OBinaryCondition> |
getIndexedFunctionConditions(OClass iSchemaClass,
ODatabaseDocumentInternal database) |
List<String> |
getMatchPatternInvolvedAliases() |
protected int |
getNumberOfExternalCalculations() |
OBinaryCondition |
isIndexedFunctionCondition(OClass iSchemaClass,
ODatabaseDocumentInternal database) |
Object |
jjtAccept(OrientSqlVisitor visitor,
Object data)
Accept the visitor.
|
protected boolean |
supportsBasicCalculation() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
encapsulateInAndBlock, flattenchildrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toStringprotected OExpression left
protected OBinaryCompareOperator operator
protected OExpression right
public OBinaryCondition(int id)
public OBinaryCondition(OrientSql p, int id)
public Object jjtAccept(OrientSqlVisitor visitor, Object data)
jjtAccept in interface NodejjtAccept in class OBooleanExpressionpublic boolean evaluate(OIdentifiable currentRecord, OCommandContext ctx)
evaluate in class OBooleanExpressionpublic void toString(Map<Object,Object> params, StringBuilder builder)
toString in class SimpleNodeprotected boolean supportsBasicCalculation()
supportsBasicCalculation in class OBooleanExpressionprotected int getNumberOfExternalCalculations()
getNumberOfExternalCalculations in class OBooleanExpressionprotected List<Object> getExternalCalculationConditions()
getExternalCalculationConditions in class OBooleanExpressionpublic OBinaryCondition isIndexedFunctionCondition(OClass iSchemaClass, ODatabaseDocumentInternal database)
public long estimateIndexed(OFromClause target, OCommandContext context)
public Iterable<OIdentifiable> executeIndexedFunction(OFromClause target, OCommandContext context)
public List<OBinaryCondition> getIndexedFunctionConditions(OClass iSchemaClass, ODatabaseDocumentInternal database)
getIndexedFunctionConditions in class OBooleanExpressionpublic List<String> getMatchPatternInvolvedAliases()
getMatchPatternInvolvedAliases in class OBooleanExpressionCopyright © 2009–2025 OrientDB. All rights reserved.