|
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.rop.ResultListFactory
A factory that creates an appropriate ResultList for a given input.
| Constructor Summary | |
ResultListFactory()
|
|
| Method Summary | |
static com.solarmetric.rd.rop.ResultList |
createResultList(java.lang.Object input,
com.solarmetric.rd.rop.ResultObjectProvider rop,
int fetchThreshold,
int fetchBatchSize)
Create a result list from the given input. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResultListFactory()
| Method Detail |
public static com.solarmetric.rd.rop.ResultList createResultList(java.lang.Object input,
com.solarmetric.rd.rop.ResultObjectProvider rop,
int fetchThreshold,
int fetchBatchSize)
fetchThreshold is negative, then an
EagerResultList will be used. If it is 0 and the input
supports random access, then a LazyResultList will be returned.
If it is positive, then a LazyResultList will be used if the
size of the input is above the threshold and random access is
supported, else an EagerResultList is returned.
|
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 | |||||||||