org.neodatis.odb.impl.core.query.values
Class ValuesCriteriaQueryExecutor
java.lang.Object
org.neodatis.odb.core.query.execution.GenericQueryExecutor
org.neodatis.odb.impl.core.query.values.ValuesCriteriaQueryExecutor
- All Implemented Interfaces:
- IMultiClassQueryExecutor, IQueryExecutor
public class ValuesCriteriaQueryExecutor
- extends GenericQueryExecutor
Fields inherited from class org.neodatis.odb.core.query.execution.GenericQueryExecutor |
callback, classInfo, currentNnoi, currentOid, executeStartAndEndOfQueryAction, LOG_ID, nextOID, objectReader, query, session, storageEngine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValuesCriteriaQueryExecutor
public ValuesCriteriaQueryExecutor(IQuery query,
IStorageEngine engine)
getExecutionPlan
public IQueryExecutionPlan getExecutionPlan()
- Specified by:
getExecutionPlan
in class GenericQueryExecutor
prepareQuery
public void prepareQuery()
- Specified by:
prepareQuery
in class GenericQueryExecutor
matchObjectWithOid
public boolean matchObjectWithOid(OID oid,
boolean returnObject,
boolean inMemory)
- Description copied from class:
GenericQueryExecutor
- Check if the object with oid matches the query, returns true
This method must compute the next object oid and the orderBy key if it
exists!
- Specified by:
matchObjectWithOid
in class GenericQueryExecutor
- Parameters:
oid
- The object positionreturnObject
- To indicate if object must loaded (when the query indicator
'in memory' is false, we do not need to load object, only ids)inMemory
- To indicate if object must be actually loaded to memory
computeIndexKey
public java.lang.Comparable computeIndexKey(ClassInfo ci,
ClassInfoIndex index)
- Specified by:
computeIndexKey
in class GenericQueryExecutor
getCurrentObjectMetaRepresentation
public java.lang.Object getCurrentObjectMetaRepresentation()
- Description copied from class:
GenericQueryExecutor
- This can be a NonNAtiveObjectInf or AttributeValuesMap
- Specified by:
getCurrentObjectMetaRepresentation
in class GenericQueryExecutor
- Returns:
getFullClassName
public java.lang.String getFullClassName(IQuery query)
- Specified by:
getFullClassName
in interface IQueryExecutor
- Specified by:
getFullClassName
in class GenericQueryExecutor