|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCResultObjectProvider
Object provider implementation wrapped around a JDBC Result.
| Constructor Summary | |
JDBCResultObjectProvider(java.lang.Class pcClass,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
Constructor. |
|
JDBCResultObjectProvider(com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
Constructor. |
|
| Method Summary | |
boolean |
absolute(java.lang.Object input,
int pos)
Move to the given 0-based input item. |
boolean |
advance(java.lang.Object input)
Advance the input source input to the next
position. |
void |
free(java.lang.Object input)
Optionally free the resources associated with this provider. |
com.solarmetric.rd.rop.ResultList |
getResultList(java.sql.Connection conn,
java.sql.Statement stmnt,
java.sql.ResultSet rs)
Return a result list for the given result set. |
com.solarmetric.rd.rop.ResultList |
getResultList(java.sql.Connection conn,
java.sql.Statement stmnt,
java.sql.ResultSet rs,
int fetchThreshold,
int fetchBatchSize)
Return a result list for the given result set. |
com.solarmetric.rd.rop.ResultList |
getResultList(com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res)
Return a result list for the given result. |
com.solarmetric.rd.rop.ResultList |
getResultList(com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res,
int fetchThreshold,
int fetchBatchSize)
Return a result list for the given result. |
java.lang.Object |
getResultObject(java.lang.Object input)
Instantiate the desired object from the current data in input. |
boolean |
open(java.lang.Object input)
Open the input source input. |
void |
setFetchBatchSize(java.lang.Object input,
int fetchBatchSize)
Set the batch size to fetch at once. |
int |
size(java.lang.Object input)
Return the number of items in the input, or Integer.MAX_VALUE
if the size is unknown. |
boolean |
supportsRandomAccess(java.lang.Object input)
If the input supports random access, return true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCResultObjectProvider(java.lang.Class pcClass,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
pcClass - the base class of the result objectsstore - the store manager to delegate loading to
public JDBCResultObjectProvider(com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping mapping,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
mapping - the mapping for the base class of the result objectsstore - the store manager to delegate loading to| Method Detail |
public com.solarmetric.rd.rop.ResultList getResultList(java.sql.Connection conn,
java.sql.Statement stmnt,
java.sql.ResultSet rs)
public com.solarmetric.rd.rop.ResultList getResultList(java.sql.Connection conn,
java.sql.Statement stmnt,
java.sql.ResultSet rs,
int fetchThreshold,
int fetchBatchSize)
public com.solarmetric.rd.rop.ResultList getResultList(com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res)
public com.solarmetric.rd.rop.ResultList getResultList(com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res,
int fetchThreshold,
int fetchBatchSize)
public boolean supportsRandomAccess(java.lang.Object input)
ResultObjectProvider
supportsRandomAccess in interface ResultObjectProvider
public void setFetchBatchSize(java.lang.Object input,
int fetchBatchSize)
ResultObjectProviderResultObjectProvider.open(java.lang.Object).
setFetchBatchSize in interface ResultObjectProviderpublic java.lang.Object getResultObject(java.lang.Object input)
ResultObjectProviderinput.
getResultObject in interface ResultObjectProviderpublic boolean open(java.lang.Object input)
ResultObjectProviderinput. This is invoked
before any data is loaded from the input. Return
true if there is data in the input; otherwise
false.
open in interface ResultObjectProviderpublic boolean advance(java.lang.Object input)
ResultObjectProviderinput to the next
position. Return true if there is more data;
otherwise false. This is invoked between each
invocation of ResultObjectProvider.getResultObject(java.lang.Object).
advance in interface ResultObjectProvider
public boolean absolute(java.lang.Object input,
int pos)
ResultObjectProvidertrue if there is data at this position;
otherwise false. This may be invoked in place of
ResultObjectProvider.advance(java.lang.Object).
absolute in interface ResultObjectProviderpublic int size(java.lang.Object input)
ResultObjectProviderInteger.MAX_VALUE
if the size is unknown.
size in interface ResultObjectProviderpublic void free(java.lang.Object input)
ResultObjectProvider
free in interface ResultObjectProvider
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||