Documentation of 'org.neodatis.odb.core.query.execution.GenericQueryExecutor' Java class
GenericQueryExecutor
org.neodatis.odb.core.query.execution

Class GenericQueryExecutor

    • Method Detail

      • prepareQuery

        public abstract void prepareQuery()
      • getCurrentObjectMetaRepresentation

        public abstract java.lang.Object getCurrentObjectMetaRepresentation()
        This can be a NonNAtiveObjectInf or AttributeValuesMap
        Returns:
      • matchObjectWithOid

        public abstract boolean matchObjectWithOid(OID oid,
                                                   boolean loadObjectInfo,
                                                   boolean inMemory)
        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!
        Parameters:
        oid - The object position
        loadObjectInfo - 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
      • buildOrderByKey

        public OdbComparable buildOrderByKey(java.lang.Object object)
        TODO very bad. Should remove the instanceof
        Parameters:
        object -
        Returns:
      • executeStartAndEndOfQueryAction

        public boolean executeStartAndEndOfQueryAction()
        Description copied from interface: IMultiClassQueryExecutor
        Used to indicate if the execute method must call start and end method of the queryResultAction. The default is yes. For MultiClass Query executor, it is set to false to avoid to reset the result
        Specified by:
        executeStartAndEndOfQueryAction in interface IMultiClassQueryExecutor
        Returns:
        true or false to indicate if start and end method of queryResultAction must be executed

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.