Uses of Interface
org.apache.openjpa.lib.rop.ResultObjectProvider
Package
Description
OpenJPA Abstract StoreManager Implementation
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA Runtime Kernel
Result Object Provider Framework
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
XML Store
-
Uses of ResultObjectProvider in org.apache.openjpa.abstractstore
Modifier and TypeMethodDescriptionabstract ResultObjectProvider
AbstractStoreManager.executeExtent
(ClassMetaData meta, boolean subs, FetchConfiguration fetch) Create aResultObjectProvider
that can return all instances oftype
, optionally including subclasses as defined bysubclasses
. -
Uses of ResultObjectProvider in org.apache.openjpa.jdbc.kernel
Modifier and TypeClassDescriptionclass
Object provider implementation wrapped around a genericResult
.class
Object provider implementation wrapped around aSelect
.class
Object provider implementation that fetches one page of results at a a time as it scrolls.class
A Select-oriented Result Object Provider whose Select has been executed outside its own scope.class
Abstract provider implementation wrapped around aSelect
.class
Gets multiple Result Object Providers each with different mapping.Modifier and TypeMethodDescriptionJDBCStoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch) protected ResultObjectProvider
JDBCStoreQuery.executeQuery
(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range) PreparedSQLStoreQuery.PreparedSQLExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) SQLStoreQuery.SQLExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) StoredProcedureQuery.StoredProcedureQueryExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) XROP.getResultObject()
Gets the current result set, wraps it with aResultSetResult
, then wraps again with appropriate ROP based on the result set mapping.Modifier and TypeMethodDescriptionResultList<?>
JDBCFetchConfigurationImpl.newResultList
(ResultObjectProvider rop) -
Uses of ResultObjectProvider in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionClassMapping.customLoad
(JDBCStore store, boolean subclasses, JDBCFetchConfiguration fetch, long startIdx, long endIdx) ClassStrategy.customLoad
(JDBCStore store, boolean subclasses, JDBCFetchConfiguration fetch, long startIdx, long endIdx) Implement this method to customize obtaining a result containing all instances of this class. -
Uses of ResultObjectProvider in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionAbstractClassStrategy.customLoad
(JDBCStore store, boolean subclasses, JDBCFetchConfiguration fetch, long startIdx, long endIdx) -
Uses of ResultObjectProvider in org.apache.openjpa.kernel
Modifier and TypeInterfaceDescriptioninterface
Variant ofResultObjectProvider
that populates aOpenJPAStateManager
object in an application-defined manner.Modifier and TypeClassDescriptionclass
Abstract implementation ofPCResultObjectProvider
that implementsgetResultObject()
by assembling the necessary information about the object to be loaded.class
Merged result object provider specialization that extracts ordering values from results for comparison.static class
Result object provider that packs results before returning them.Modifier and TypeMethodDescriptionDelegatingStoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch) StoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch) Return a provider for all instances of the given candidate class, optionally including subclasses.ExpressionStoreQuery.DataStoreExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) protected ResultObjectProvider
ExpressionStoreQuery.executeQuery
(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, StoreQuery.Range range) Execute the given expression against the given candidate extent.ExpressionStoreQuery.InMemoryExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) StoreQuery.Executor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) Return the result of executing this query with the given parameter values.QueryImpl.PackingResultObjectProvider.getDelegate()
Modifier and TypeMethodDescriptionprotected Object
OrderingMergedResultObjectProvider.getOrderingValue
(Object val, int idx, ResultObjectProvider rop) DelegatingFetchConfiguration.newResultList
(ResultObjectProvider rop) ResultList<?>
FetchConfiguration.newResultList
(ResultObjectProvider rop) Return a new result list for the current fetch configuration.ResultList<?>
FetchConfigurationImpl.newResultList
(ResultObjectProvider rop) protected Object
QueryImpl.toResult
(StoreQuery q, StoreQuery.Executor ex, ResultObjectProvider rop, StoreQuery.Range range) Return the query result for the given result object provider.ModifierConstructorDescriptionOrderingMergedResultObjectProvider
(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor[] execs, StoreQuery q, Object[] params) OrderingMergedResultObjectProvider
(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor exec, StoreQuery q, Object[] params) PackingResultObjectProvider
(ResultObjectProvider delegate, ResultPacker packer, int resultLength) -
Uses of ResultObjectProvider in org.apache.openjpa.lib.rop
Modifier and TypeInterfaceDescriptioninterface
A provider for multiple result sets.Modifier and TypeClassDescriptionclass
A result object provider wrapped around a normal list.class
A result object provider that merges multiple result object provider delegates.class
Prevents a view of a given range of indices from the delegate result object provider.Modifier and TypeMethodDescriptionRangeResultObjectProvider.getDelegate()
BatchedResultObjectProvider.getResultObject()
Gets the next result object provider from its batch.Modifier and TypeMethodDescriptionprotected Object
MergedResultObjectProvider.getOrderingValue
(Object val, int idx, ResultObjectProvider rop) Return the value to use for ordering on the given result value.ModifierConstructorDescriptionConstructor.MergedResultObjectProvider
(ResultObjectProvider[] rops, Comparator comp) Constructor.RangeResultObjectProvider
(ResultObjectProvider delegate, long startIdx, long endIdx) Constructor.Constructor.WindowResultList
(ResultObjectProvider rop, int windowSize) -
Uses of ResultObjectProvider in org.apache.openjpa.slice.jdbc
Modifier and TypeClassDescriptionclass
Aggregates individual single query results from different databases.ModifierConstructorDescriptionUniqueResultObjectProvider
(ResultObjectProvider[] rops, StoreQuery q, QueryExpressions[] exps) -
Uses of ResultObjectProvider in org.apache.openjpa.xmlstore
Modifier and TypeMethodDescriptionXMLStoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)