public class OInCondition extends OBooleanExpression
Modifier and Type | Field and Description |
---|---|
protected OExpression |
left |
protected OBinaryCompareOperator |
operator |
protected Object |
right |
protected OMathExpression |
rightMathExpression |
protected OInputParameter |
rightParam |
protected OSelectStatement |
rightStatement |
FALSE, TRUE
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OInCondition(int id) |
OInCondition(OrientSql p,
int id) |
deserialize, deserializeFromOResult, encapsulateInAndBlock, flatten, getIndexedFunctionConditions, isAlwaysTrue, isEmpty, rewriteIndexChainsAsSubqueries, serialize, transformToUpdateItem, translateLuceneOperator
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
protected OExpression left
protected OBinaryCompareOperator operator
protected OSelectStatement rightStatement
protected OInputParameter rightParam
protected OMathExpression rightMathExpression
protected Object right
public OInCondition(int id)
public OInCondition(OrientSql p, int id)
public boolean evaluate(OIdentifiable currentRecord, OCommandContext ctx)
evaluate
in class OBooleanExpression
public Object evaluateRight(OIdentifiable currentRecord, OCommandContext ctx)
public Object evaluateLeft(OIdentifiable currentRecord, OCommandContext ctx)
public boolean evaluate(OResult currentRecord, OCommandContext ctx)
evaluate
in class OBooleanExpression
public Object evaluateRight(OResult currentRecord, OCommandContext ctx)
public Object evaluateLeft(OResult currentRecord, OCommandContext ctx)
protected static Object executeQuery(OSelectStatement rightStatement, OCommandContext ctx)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class SimpleNode
public boolean supportsBasicCalculation()
supportsBasicCalculation
in class OBooleanExpression
protected int getNumberOfExternalCalculations()
getNumberOfExternalCalculations
in class OBooleanExpression
protected List<Object> getExternalCalculationConditions()
getExternalCalculationConditions
in class OBooleanExpression
public boolean needsAliases(Set<String> aliases)
needsAliases
in class OBooleanExpression
public OInCondition copy()
copy
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 boolean isCacheable()
isCacheable
in class OBooleanExpression
public OExpression getLeft()
public void setLeft(OExpression left)
public OSelectStatement getRightStatement()
public OInputParameter getRightParam()
public OMathExpression getRightMathExpression()
public void setRightParam(OInputParameter rightParam)
public void setRightMathExpression(OMathExpression rightMathExpression)
Copyright © 2009–2020 OrientDB. All rights reserved.