|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neodatis.odb.impl.core.query.criteria.CollectionQueryResultAction
public class CollectionQueryResultAction
Class that manage normal query. Query that return a list of objects. For each object That matches the query criteria, the objectMatch method is called and it keeps the objects in the 'objects' instance.
Field Summary | |
---|---|
protected IInstanceBuilder |
instanceBuilder
An object to build instances |
Constructor Summary | |
---|---|
CollectionQueryResultAction(IQuery query,
boolean inMemory,
IStorageEngine storageEngine,
boolean returnObjects,
IInstanceBuilder instanceBuilder)
|
Method Summary | |
---|---|
void |
end()
Called at the end of the query execution - used to clean or finish some task |
java.lang.Object |
getCurrentInstance(NonNativeObjectInfo nnoi)
|
Objects<java.lang.Object> |
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 |
---|
protected IInstanceBuilder instanceBuilder
Constructor Detail |
---|
public CollectionQueryResultAction(IQuery query, boolean inMemory, IStorageEngine storageEngine, boolean returnObjects, IInstanceBuilder instanceBuilder)
Method Detail |
---|
public void objectMatch(OID oid, OdbComparable orderByKey)
IMatchingObjectAction
objectMatch
in interface IMatchingObjectAction
public void objectMatch(OID oid, java.lang.Object object, OdbComparable orderByKey)
IMatchingObjectAction
objectMatch
in interface IMatchingObjectAction
public void start()
IMatchingObjectAction
start
in interface IMatchingObjectAction
public void end()
IMatchingObjectAction
end
in interface IMatchingObjectAction
public java.lang.Object getCurrentInstance(NonNativeObjectInfo nnoi)
public Objects<java.lang.Object> getObjects()
IMatchingObjectAction
getObjects
in interface IMatchingObjectAction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |