public class OQueryOperatorContainsText extends OQueryTargetOperator
OQueryOperator.ORDER
DEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary
Constructor and Description |
---|
OQueryOperatorContainsText() |
OQueryOperatorContainsText(boolean iIgnoreCase) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateRecord(OIdentifiable iRecord,
ODocument iCurrentResult,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight,
OCommandContext iContext,
ODocumentSerializer serializer)
This is executed on non-indexed fields.
|
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.
|
Collection<OIdentifiable> |
filterRecords(ODatabase<?> iDatabase,
List<String> iTargetClasses,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight) |
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.
|
String |
getSyntax() |
boolean |
isIgnoreCase() |
canBeMerged, canShortCircuit, compare, configure, getOIndexSearchResult, isSupportingBinaryEvaluate, isUnary, toString, updateProfiler
public OQueryOperatorContainsText(boolean iIgnoreCase)
public OQueryOperatorContainsText()
public String getSyntax()
getSyntax
in class OQueryOperator
public Object evaluateRecord(OIdentifiable iRecord, ODocument iCurrentResult, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext, ODocumentSerializer serializer)
evaluateRecord
in class OQueryTargetOperator
public Collection<OIdentifiable> filterRecords(ODatabase<?> iDatabase, List<String> iTargetClasses, OSQLFilterCondition iCondition, Object iLeft, Object iRight)
filterRecords
in class OQueryTargetOperator
public boolean isIgnoreCase()
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 OIndexCursor executeIndexQuery(OCommandContext iContext, OIndex<?> index, List<Object> keyParams, boolean ascSortOrder)
OQueryOperator
executeIndexQuery
in class OQueryOperator
index
- 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 OQueryOperator
public ORID getEndRidRange(Object iLeft, Object iRight)
getEndRidRange
in class OQueryOperator
Copyright © 2009–2019 OrientDB. All rights reserved.