org.neodatis.odb.impl.core.query.values
Class GroupByValuesQueryResultAction

java.lang.Object
  extended by org.neodatis.odb.impl.core.query.values.GroupByValuesQueryResultAction
All Implemented Interfaces:
IMatchingObjectAction

public class GroupByValuesQueryResultAction
extends java.lang.Object
implements IMatchingObjectAction


Field Summary
protected  ClassInfo classInfo
           
protected  IInstanceBuilder instanceBuilder
          An object to build instances
 
Constructor Summary
GroupByValuesQueryResultAction(IValuesQuery query, IStorageEngine storageEngine, IInstanceBuilder instanceBuilder)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceBuilder

protected IInstanceBuilder instanceBuilder
An object to build instances


classInfo

protected ClassInfo classInfo
Constructor Detail

GroupByValuesQueryResultAction

public GroupByValuesQueryResultAction(IValuesQuery query,
                                      IStorageEngine storageEngine,
                                      IInstanceBuilder instanceBuilder)
Method Detail

objectMatch

public void objectMatch(OID oid,
                        OdbComparable orderByKey)
Description copied from interface: IMatchingObjectAction
Called (by the GenericQueryExecutor) when an object matches with lazy loading, only stores the OID

Specified by:
objectMatch in interface IMatchingObjectAction

objectMatch

public void objectMatch(OID oid,
                        java.lang.Object object,
                        OdbComparable orderByKey)
Description copied from interface: IMatchingObjectAction
Called (by the GenericQueryExecutor) when an object matches the query

Specified by:
objectMatch in interface IMatchingObjectAction

start

public void start()
Description copied from interface: IMatchingObjectAction
Called at the beginning of the query execution - used to prepare result object

Specified by:
start in interface IMatchingObjectAction

end

public void end()
Description copied from interface: IMatchingObjectAction
Called at the end of the query execution - used to clean or finish some task

Specified by:
end in interface IMatchingObjectAction

getObjects

public <T> Objects<T> getObjects()
Description copied from interface: IMatchingObjectAction
Returns the resulting objects

Specified by:
getObjects in interface IMatchingObjectAction