public abstract class OLuceneSpatialOperator extends OQueryTargetOperator
OQueryOperator.ORDER
Modifier and Type | Field and Description |
---|---|
protected OShapeBuilder |
factory |
DEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary
Modifier | Constructor and Description |
---|---|
protected |
OLuceneSpatialOperator(String iKeyword,
int iPrecedence,
boolean iLogical) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateRecord(OIdentifiable iRecord,
ODocument iCurrentResult,
OSQLFilterCondition iCondition,
Object iLeft,
Object iRight,
OCommandContext iContext,
ODocumentSerializer serializer)
At run-time the evaluation per record must return always true since the recordset are filtered
at the beginning unless an operator can work in both modes.
|
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.
|
OIndexSearchResult |
getOIndexSearchResult(OClass iSchemaClass,
OSQLFilterCondition iCondition,
List<OIndexSearchResult> iIndexSearchResults,
OCommandContext context) |
canBeMerged, canShortCircuit, compare, configure, executeIndexQuery, getSyntax, isSupportingBinaryEvaluate, isUnary, toString, updateProfiler
protected OShapeBuilder factory
protected OLuceneSpatialOperator(String iKeyword, int iPrecedence, boolean iLogical)
public OIndexSearchResult getOIndexSearchResult(OClass iSchemaClass, OSQLFilterCondition iCondition, List<OIndexSearchResult> iIndexSearchResults, OCommandContext context)
getOIndexSearchResult
in class OQueryOperator
public Object evaluateRecord(OIdentifiable iRecord, ODocument iCurrentResult, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext, ODocumentSerializer serializer)
OQueryTargetOperator
evaluateRecord
in class OQueryTargetOperator
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 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.