org.neodatis.odb.impl.core.query.values
Class ValuesQueryResultAction
- java.lang.Object
-
- org.neodatis.odb.impl.core.query.values.ValuesQueryResultAction
-
- All Implemented Interfaces:
- IMatchingObjectAction
public class ValuesQueryResultAction extends java.lang.Object implements IMatchingObjectAction
-
-
Constructor Summary
Constructors Constructor and Description ValuesQueryResultAction(IValuesQuery query, IStorageEngine storageEngine, IInstanceBuilder instanceBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidend()Called at the end of the query execution - used to clean or finish some task<T> Objects<T>getObjects()Returns the resulting objectsValuesgetValues()voidobjectMatch(OID oid, java.lang.Object object, OdbComparable orderByKey)Called (by the GenericQueryExecutor) when an object matches the queryvoidobjectMatch(OID oid, OdbComparable orderByKey)Called (by the GenericQueryExecutor) when an object matches with lazy loading, only stores the OIDvoidstart()Called at the beginning of the query execution - used to prepare result object
-
-
-
Constructor Detail
-
ValuesQueryResultAction
public ValuesQueryResultAction(IValuesQuery query, IStorageEngine storageEngine, IInstanceBuilder instanceBuilder)
-
-
Method Detail
-
objectMatch
public void objectMatch(OID oid, OdbComparable orderByKey)
Description copied from interface:IMatchingObjectActionCalled (by the GenericQueryExecutor) when an object matches with lazy loading, only stores the OID- Specified by:
objectMatchin interfaceIMatchingObjectAction
-
objectMatch
public void objectMatch(OID oid, java.lang.Object object, OdbComparable orderByKey)
Description copied from interface:IMatchingObjectActionCalled (by the GenericQueryExecutor) when an object matches the query- Specified by:
objectMatchin interfaceIMatchingObjectAction
-
start
public void start()
Description copied from interface:IMatchingObjectActionCalled at the beginning of the query execution - used to prepare result object- Specified by:
startin interfaceIMatchingObjectAction
-
end
public void end()
Description copied from interface:IMatchingObjectActionCalled at the end of the query execution - used to clean or finish some task- Specified by:
endin interfaceIMatchingObjectAction
-
getValues
public Values getValues()
-
getObjects
public <T> Objects<T> getObjects()
Description copied from interface:IMatchingObjectActionReturns the resulting objects- Specified by:
getObjectsin interfaceIMatchingObjectAction
-
-
DataMelt 3.0 © DataMelt by jWork.ORG