Package | Description |
---|---|
org.apache.openjpa.abstractstore |
OpenJPA Abstract StoreManager Implementation
This package provides some infrastructure classes to help in the creation
of OpenJPA drivers for new non-relational data stores.
|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.lib.rop |
Result Object Provider Framework
This package provides a framework for the lazy loading of potentially
large lists of data.
|
org.apache.openjpa.slice.jdbc |
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
|
org.apache.openjpa.xmlstore |
XML Store
Simple XML store using the common OpenJPA runtime system as a front end.
|
Modifier and Type | Method and Description |
---|---|
abstract ResultObjectProvider |
AbstractStoreManager.executeExtent(ClassMetaData meta,
boolean subs,
FetchConfiguration fetch)
Create a
ResultObjectProvider that can return all instances
of type , optionally including subclasses as defined
by subclasses . |
Modifier and Type | Class and Description |
---|---|
class |
GenericResultObjectProvider
Object provider implementation wrapped around a generic
Result . |
class |
InstanceResultObjectProvider
Object provider implementation wrapped around a
Select . |
class |
PagingResultObjectProvider
Object provider implementation that fetches one page of results at a
a time as it scrolls.
|
class |
PreparedResultObjectProvider
A Select-oriented Result Object Provider whose Select has been executed
outside its own scope.
|
class |
SelectResultObjectProvider
Abstract provider implementation wrapped around a
Select . |
class |
XROP
Gets multiple Result Object Providers each with different mapping.
|
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
JDBCStoreManager.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) |
ResultObjectProvider |
StoredProcedureQuery.StoredProcedureQueryExecutor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range) |
ResultObjectProvider |
SQLStoreQuery.SQLExecutor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range) |
ResultObjectProvider |
PreparedSQLStoreQuery.PreparedSQLExecutor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range) |
ResultObjectProvider |
XROP.getResultObject()
Gets the current result set, wraps it with a
ResultSetResult , then wraps
again with appropriate ROP based on the result set mapping. |
Modifier and Type | Method and Description |
---|---|
ResultList<?> |
JDBCFetchConfigurationImpl.newResultList(ResultObjectProvider rop) |
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
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.
|
ResultObjectProvider |
ClassMapping.customLoad(JDBCStore store,
boolean subclasses,
JDBCFetchConfiguration fetch,
long startIdx,
long endIdx) |
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
AbstractClassStrategy.customLoad(JDBCStore store,
boolean subclasses,
JDBCFetchConfiguration fetch,
long startIdx,
long endIdx) |
Modifier and Type | Interface and Description |
---|---|
interface |
PCResultObjectProvider
Variant of
ResultObjectProvider that populates a
OpenJPAStateManager object in an application-defined manner. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPCResultObjectProvider
Abstract implementation of
PCResultObjectProvider
that implements getResultObject()
by assembling the necessary information about the object to be loaded. |
class |
OrderingMergedResultObjectProvider
Merged result object provider specialization that extracts ordering
values from results for comparison.
|
static class |
QueryImpl.PackingResultObjectProvider
Result object provider that packs results before returning them.
|
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
StoreManager.executeExtent(ClassMetaData meta,
boolean subclasses,
FetchConfiguration fetch)
Return a provider for all instances of the given candidate class,
optionally including subclasses.
|
ResultObjectProvider |
DelegatingStoreManager.executeExtent(ClassMetaData meta,
boolean subclasses,
FetchConfiguration fetch) |
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.
|
ResultObjectProvider |
StoreQuery.Executor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range)
Return the result of executing this query with the given parameter
values.
|
ResultObjectProvider |
ExpressionStoreQuery.InMemoryExecutor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range) |
ResultObjectProvider |
ExpressionStoreQuery.DataStoreExecutor.executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range) |
ResultObjectProvider |
QueryImpl.PackingResultObjectProvider.getDelegate() |
Modifier and Type | Method and Description |
---|---|
protected Object |
OrderingMergedResultObjectProvider.getOrderingValue(Object val,
int idx,
ResultObjectProvider rop) |
ResultList<?> |
FetchConfigurationImpl.newResultList(ResultObjectProvider rop) |
ResultList<?> |
FetchConfiguration.newResultList(ResultObjectProvider rop)
Return a new result list for the current fetch configuration.
|
ResultList |
DelegatingFetchConfiguration.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.
|
Constructor and Description |
---|
OrderingMergedResultObjectProvider(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) |
Modifier and Type | Interface and Description |
---|---|
interface |
BatchedResultObjectProvider
A provider for multiple result sets.
|
Modifier and Type | Class and Description |
---|---|
class |
ListResultObjectProvider
A result object provider wrapped around a normal list.
|
class |
MergedResultObjectProvider
A result object provider that merges multiple result object provider
delegates.
|
class |
RangeResultObjectProvider
Prevents a view of a given range of indices from the delegate
result object provider.
|
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
RangeResultObjectProvider.getDelegate() |
ResultObjectProvider |
BatchedResultObjectProvider.getResultObject()
Gets the next result object provider from its batch.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
MergedResultObjectProvider.getOrderingValue(Object val,
int idx,
ResultObjectProvider rop)
Return the value to use for ordering on the given result value.
|
Constructor and Description |
---|
EagerResultList(ResultObjectProvider rop) |
LazyForwardResultList(ResultObjectProvider rop) |
MergedResultObjectProvider(ResultObjectProvider[] rops)
Constructor.
|
MergedResultObjectProvider(ResultObjectProvider[] rops,
Comparator comp)
Constructor.
|
RandomAccessResultList(ResultObjectProvider rop) |
RangeResultObjectProvider(ResultObjectProvider delegate,
long startIdx,
long endIdx)
Constructor.
|
ResultObjectProviderIterator(ResultObjectProvider rop)
Constructor.
|
SimpleResultList(ResultObjectProvider rop) |
SoftRandomAccessResultList(ResultObjectProvider rop) |
WindowResultList(ResultObjectProvider rop) |
WindowResultList(ResultObjectProvider rop,
int windowSize) |
Modifier and Type | Class and Description |
---|---|
class |
UniqueResultObjectProvider
Aggregates individual single query results from different databases.
|
Constructor and Description |
---|
UniqueResultObjectProvider(ResultObjectProvider[] rops,
StoreQuery q,
QueryExpressions[] exps) |
Modifier and Type | Method and Description |
---|---|
ResultObjectProvider |
XMLStoreManager.executeExtent(ClassMetaData meta,
boolean subclasses,
FetchConfiguration fetch) |
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.