public class OBetweenCondition extends OBooleanExpression
Modifier and Type | Field and Description |
---|---|
protected OExpression |
first |
protected OExpression |
second |
protected OExpression |
third |
FALSE, TRUE
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OBetweenCondition(int id) |
OBetweenCondition(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
OBooleanExpression |
copy() |
boolean |
equals(Object o) |
boolean |
evaluate(OIdentifiable currentRecord,
OCommandContext ctx) |
boolean |
evaluate(OResult currentRecord,
OCommandContext ctx) |
void |
extractSubQueries(SubQueryCollector collector) |
protected List<Object> |
getExternalCalculationConditions() |
OExpression |
getFirst() |
List<String> |
getMatchPatternInvolvedAliases() |
protected int |
getNumberOfExternalCalculations() |
OExpression |
getSecond() |
OExpression |
getThird() |
int |
hashCode() |
boolean |
isCacheable() |
boolean |
needsAliases(Set<String> aliases) |
boolean |
refersToParent() |
void |
setFirst(OExpression first) |
void |
setSecond(OExpression second) |
void |
setThird(OExpression third) |
boolean |
supportsBasicCalculation() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
void |
translateLuceneOperator() |
deserialize, deserializeFromOResult, encapsulateInAndBlock, flatten, getIndexedFunctionConditions, isAlwaysTrue, isEmpty, rewriteIndexChainsAsSubqueries, serialize, transformToUpdateItem
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
protected OExpression first
protected OExpression second
protected OExpression third
public OBetweenCondition(int id)
public OBetweenCondition(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 OExpression getFirst()
public void setFirst(OExpression first)
public OExpression getSecond()
public void setSecond(OExpression second)
public OExpression getThird()
public void setThird(OExpression third)
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 OBooleanExpression 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 void translateLuceneOperator()
translateLuceneOperator
in class OBooleanExpression
public boolean isCacheable()
isCacheable
in class OBooleanExpression
Copyright © 2009–2020 OrientDB. All rights reserved.