SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.rop
Class ResultListFactory

java.lang.Object
  |
  +--com.solarmetric.rd.rop.ResultListFactory

public class ResultListFactory
extends java.lang.Object

A factory that creates an appropriate ResultList for a given input.

Since:
2.2.6

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

ResultListFactory

public ResultListFactory()
Method Detail

createResultList

public 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. The input will be freed when an error occurs or the result list no longer needs it. If the given 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

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.