public class OQueryOperatorTraverse extends OQueryOperatorEqualityNotNulls
OQueryOperator.ORDER
DEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary
Constructor and Description |
---|
OQueryOperatorTraverse() |
OQueryOperatorTraverse(int startDeepLevel,
int endDeepLevel,
String[] iFieldList) |
Modifier and Type | Method and Description |
---|---|
OQueryOperator |
configure(List<String> iParams)
Default State-less implementation: does not save parameters and just return itself
|
protected boolean |
evaluateExpression(OIdentifiable iRecord,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight,
OCommandContext iContext) |
ORID |
getBeginRidRange(Object iLeft,
Object iRight) |
String[] |
getCfgFields() |
int |
getEndDeepLevel() |
ORID |
getEndRidRange(Object iLeft,
Object iRight) |
OIndexReuseType |
getIndexReuseType(Object iLeft,
Object iRight)
Returns hint how index can be used to calculate result of operator execution.
|
int |
getStartDeepLevel() |
String |
getSyntax() |
String |
toString() |
evaluateRecord
evaluate
canBeMerged, canShortCircuit, compare, executeIndexQuery, getOIndexSearchResult, isSupportingBinaryEvaluate, isUnary, updateProfiler
public OQueryOperatorTraverse()
public OQueryOperatorTraverse(int startDeepLevel, int endDeepLevel, String[] iFieldList)
public String getSyntax()
getSyntax
in class OQueryOperator
protected boolean evaluateExpression(OIdentifiable iRecord, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext)
evaluateExpression
in class OQueryOperatorEquality
public OQueryOperator configure(List<String> iParams)
OQueryOperator
configure
in class OQueryOperator
public int getStartDeepLevel()
public int getEndDeepLevel()
public String[] getCfgFields()
public OIndexReuseType getIndexReuseType(Object iLeft, Object iRight)
OQueryOperator
getIndexReuseType
in class OQueryOperator
iLeft
- Value of left query parameter.iRight
- Value of right query parameter.public String toString()
toString
in class OQueryOperator
public ORID getBeginRidRange(Object iLeft, Object iRight)
getBeginRidRange
in class OQueryOperator
public ORID getEndRidRange(Object iLeft, Object iRight)
getEndRidRange
in class OQueryOperator
Copyright © 2009–2020 OrientDB. All rights reserved.