Class OLuceneSpatialOperator
java.lang.Object
com.orientechnologies.orient.core.sql.operator.OQueryOperator
com.orientechnologies.orient.core.sql.operator.OQueryTargetOperator
com.orientechnologies.spatial.operator.OLuceneSpatialOperator
- Direct Known Subclasses:
OLuceneOverlapOperator
Created by Enrico Risa on 12/08/15.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
OQueryOperator.ORDER -
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
DEFAULT_OPERATORS_ORDER, expectedRightWords, expectsParameters, keyword, precedence, unary -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOLuceneSpatialOperator(String iKeyword, int iPrecedence, boolean iLogical) -
Method Summary
Modifier and TypeMethodDescriptionevaluateRecord(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.getBeginRidRange(Object iLeft, Object iRight) getEndRidRange(Object iLeft, Object iRight) getIndexReuseType(Object iLeft, Object iRight) Returns hint how index can be used to calculate result of operator execution.getOIndexSearchResult(OClass iSchemaClass, OSQLFilterCondition iCondition, List<OIndexSearchResult> iIndexSearchResults, OCommandContext context) Methods inherited from class com.orientechnologies.orient.core.sql.operator.OQueryOperator
canBeMerged, canShortCircuit, compare, configure, evaluate, executeIndexQuery, getKeyword, getSyntax, isSupportingBinaryEvaluate, isUnary, toString, updateProfiler
-
Field Details
-
factory
-
-
Constructor Details
-
OLuceneSpatialOperator
-
-
Method Details
-
getOIndexSearchResult
public OIndexSearchResult getOIndexSearchResult(OClass iSchemaClass, OSQLFilterCondition iCondition, List<OIndexSearchResult> iIndexSearchResults, OCommandContext context) - Overrides:
getOIndexSearchResultin classOQueryOperator
-
evaluateRecord
public Object evaluateRecord(OIdentifiable iRecord, ODocument iCurrentResult, OSQLFilterCondition iCondition, Object iLeft, Object iRight, OCommandContext iContext, ODocumentSerializer serializer) Description copied from class:OQueryTargetOperatorAt 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. In this case sub-class must extend it.- Overrides:
evaluateRecordin classOQueryTargetOperator
-
getIndexReuseType
Description copied from class:OQueryOperatorReturns hint how index can be used to calculate result of operator execution.- Specified by:
getIndexReuseTypein classOQueryOperator- Parameters:
iLeft- Value of left query parameter.iRight- Value of right query parameter.- Returns:
- Hint how index can be used to calculate result of operator execution.
-
getBeginRidRange
- Specified by:
getBeginRidRangein classOQueryOperator
-
getEndRidRange
- Specified by:
getEndRidRangein classOQueryOperator
-