Class AbstractROF<T>
- java.lang.Object
-
- org.datanucleus.store.rdbms.query.AbstractROF<T>
-
- All Implemented Interfaces:
ResultObjectFactory<T>
- Direct Known Subclasses:
PersistentClassROF,ResultClassROF,ResultMetaDataROF
public abstract class AbstractROF<T> extends Object implements ResultObjectFactory<T>
Abstract result object factory, taking the ExecutionContext being operated in, and the ResultSet that will be processed.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.datanucleus.ExecutionContextecprotected org.datanucleus.FetchPlanfpprotected booleanignoreCacheprotected ResultSetrs
-
Constructor Summary
Constructors Constructor Description AbstractROF(org.datanucleus.ExecutionContext ec, ResultSet rs, boolean ignoreCache, org.datanucleus.FetchPlan fp)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetgetResultSet()Accessor for the JDBC ResultSet being processed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.datanucleus.store.rdbms.query.ResultObjectFactory
getObject
-
-
-
-
Field Detail
-
ec
protected org.datanucleus.ExecutionContext ec
-
rs
protected ResultSet rs
-
ignoreCache
protected boolean ignoreCache
-
fp
protected org.datanucleus.FetchPlan fp
-
-
Constructor Detail
-
AbstractROF
public AbstractROF(org.datanucleus.ExecutionContext ec, ResultSet rs, boolean ignoreCache, org.datanucleus.FetchPlan fp)Constructor.- Parameters:
ec- ExecutionContextrs- The JDBC ResultSetignoreCache- Whether to ignore the cache(s) when instantiating any persistable objects in the results.fp- FetchPlan
-
-
Method Detail
-
getResultSet
public ResultSet getResultSet()
Description copied from interface:ResultObjectFactoryAccessor for the JDBC ResultSet being processed.- Specified by:
getResultSetin interfaceResultObjectFactory<T>- Returns:
- The ResultSet
-
-