
public class OQueryOperatorEquals extends OQueryOperatorEqualityNotNulls
OQueryOperator.ORDERDEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary| Constructor and Description |
|---|
OQueryOperatorEquals() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
comparesValues(Object iValue,
ORecord iRecord,
boolean iConsiderIn) |
static boolean |
equals(Object iLeft,
Object iRight) |
static boolean |
equals(Object iLeft,
Object iRight,
OType type) |
boolean |
evaluate(OBinaryField iFirstField,
OBinaryField iSecondField,
OCommandContext iContext) |
protected boolean |
evaluateExpression(OIdentifiable iRecord,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight,
OCommandContext iContext) |
OIndexCursor |
executeIndexQuery(OCommandContext iContext,
OIndex<?> index,
List<Object> keyParams,
boolean ascSortOrder)
Performs index query and returns index cursor which presents subset of index data which corresponds to result of execution of
given operator.
|
ORID |
getBeginRidRange(Object iLeft,
Object iRight) |
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.
|
boolean |
isSupportingBinaryEvaluate() |
evaluateRecordcanBeMerged, canShortCircuit, compare, configure, getOIndexSearchResult, getSyntax, isUnary, toString, updateProfilerprotected static boolean comparesValues(Object iValue, ORecord iRecord, boolean iConsiderIn)
public OIndexReuseType getIndexReuseType(Object iLeft, Object iRight)
OQueryOperatorgetIndexReuseType in class OQueryOperatoriLeft - Value of left query parameter.iRight - Value of right query parameter.public OIndexCursor executeIndexQuery(OCommandContext iContext, OIndex<?> index, List<Object> keyParams, boolean ascSortOrder)
OQueryOperatorexecuteIndexQuery in class OQueryOperatorindex - Instance of index that will be used to calculate result of operator execution.keyParams - Parameters of query is used to calculate query result.ascSortOrder - Data returned by cursors should be sorted in ascending or descending order.null otherwise.public ORID getBeginRidRange(Object iLeft, Object iRight)
getBeginRidRange in class OQueryOperatorpublic ORID getEndRidRange(Object iLeft, Object iRight)
getEndRidRange in class OQueryOperatorprotected boolean evaluateExpression(OIdentifiable iRecord, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext)
evaluateExpression in class OQueryOperatorEqualitypublic boolean evaluate(OBinaryField iFirstField, OBinaryField iSecondField, OCommandContext iContext)
evaluate in class OQueryOperatorEqualitypublic boolean isSupportingBinaryEvaluate()
isSupportingBinaryEvaluate in class OQueryOperatorCopyright © 2009–2025 OrientDB. All rights reserved.