Package org.apache.openjpa.lib.rop
Result Object Provider Framework
This package provides a framework for the lazy loading of potentially large lists of data.
-
Interface Summary Interface Description BatchedResultObjectProvider A provider for multiple result sets.ResultList<E> List interface that represents a potentially lazy ResultList instantiation.ResultObjectProvider Interface that allows lazy/custom instantiation of input objects. -
Class Summary Class Description AbstractNonSequentialResultList Abstract base class for random-access result lists.AbstractResultList<E> Abstract base class for read-only result lists.AbstractSequentialResultList Abstract base class for sequential result lists.EagerResultList Simple, non-lazy ResultList implementationLazyForwardResultList Lazy forward-only result list.ListResultList A basicResultList
implementation that wraps a normal list.ListResultObjectProvider A result object provider wrapped around a normal list.MergedResultObjectProvider A result object provider that merges multiple result object provider delegates.RandomAccessResultList Random-access result list implementation.RangeResultObjectProvider Prevents a view of a given range of indices from the delegate result object provider.ResultListIterator Wrapper iterator that will return false forhasNext()
if the owning ResultList has been closed.ResultObjectProviderIterator Iterator wrapped around aResultObjectProvider
.SimpleResultList An almost statelessResultList
designed for use with result object providers backed by efficient random-access data structures, such as theListResultObjectProvider
.SoftRandomAccessResultList Specialization of theRandomAccessResultList
that only maintains soft references to instantiated objects.WindowResultList ResultList implementation that uses a forward-scrolling window of results.