org.neodatis.odb.core.query.execution
Interface IMatchingObjectAction

All Known Implementing Classes:
CollectionQueryResultAction, GroupByValuesQueryResultAction, ValuesQueryResultAction

public interface IMatchingObjectAction

The interface used to implement the classes that are called by the generic query executor when an object matches the query

Author:
osmadja

Method Summary
 void end()
          Called at the end of the query execution - used to clean or finish some task
<T> Objects<T>
getObjects()
          Returns the resulting objects
 void objectMatch(OID oid, java.lang.Object object, OdbComparable orderByKey)
          Called (by the GenericQueryExecutor) when an object matches the query
 void objectMatch(OID oid, OdbComparable orderByKey)
          Called (by the GenericQueryExecutor) when an object matches with lazy loading, only stores the OID
 void start()
          Called at the beginning of the query execution - used to prepare result object
 

Method Detail

start

void start()
Called at the beginning of the query execution - used to prepare result object


objectMatch

void objectMatch(OID oid,
                 OdbComparable orderByKey)
Called (by the GenericQueryExecutor) when an object matches with lazy loading, only stores the OID


objectMatch

void objectMatch(OID oid,
                 java.lang.Object object,
                 OdbComparable orderByKey)
Called (by the GenericQueryExecutor) when an object matches the query


end

void end()
Called at the end of the query execution - used to clean or finish some task


getObjects

<T> Objects<T> getObjects()
Returns the resulting objects