Uses of Interface
org.apache.openjpa.kernel.FetchConfiguration
Package
Description
OpenJPA Abstract StoreManager Implementation
OpenJPA Data Cache
OpenJPA-JDBC Runtime Kernel
OpenJPA Runtime Kernel
OpenJPA JPA
OpenJPA JPA-JDBC
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
OpenJPA Utilities
XML Store
-
Uses of FetchConfiguration 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
.abstract boolean
AbstractStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) This method is invoked when OpenJPA needs to load an object whose identity is known but which has not yet been loaded from the data store.abstract boolean
AbstractStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) This method is invoked when OpenJPA needs to load additional data into an object that has already been at least partially loaded by a previousAbstractStoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)
invocation.AbstractStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) This implementation just delegates to the proper singular method (StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)
orStoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)
) depending on each state manager's state. -
Uses of FetchConfiguration in org.apache.openjpa.datacache
Modifier and TypeMethodDescriptionboolean
DataCacheStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) boolean
DataCacheStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) DataCacheStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) ModifierConstructorDescriptionCachedList
(QueryResult res, boolean proj, StoreContext ctx, FetchConfiguration fc) -
Uses of FetchConfiguration in org.apache.openjpa.jdbc.kernel
Modifier and TypeClassDescriptionclass
Delegating fetch configuration that can also perform exception transation for use in facades.class
JDBC extensions to OpenJPA'sFetchConfiguration
.Modifier and TypeMethodDescriptionFinderCacheImpl.cache
(ClassMapping mapping, SelectExecutor select, FetchConfiguration fetch) Cache a Finder Query for the given mapping and select.void
JDBCFetchConfigurationImpl.copy
(FetchConfiguration fetch) FinderQueryImpl.execute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) JDBCStoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch) FinderCacheImpl.get
(ClassMapping mapping, FetchConfiguration fetch) Gets the finder query for the given mapping.boolean
JDBCStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) boolean
JDBCStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context) JDBCStoreManager.loadAll
(Collection sms, PCState state, int load, FetchConfiguration fetch, Object context) PreparedQueryCacheImpl.register
(String id, Query query, FetchConfiguration hints) -
Uses of FetchConfiguration in org.apache.openjpa.kernel
Modifier and TypeClassDescriptionclass
Delegating fetch configuration that can also perform exception translation for use in facades.class
Allows configuration and optimization of how objects are loaded from the data store.Modifier and TypeMethodDescriptionDelegatingFetchConfiguration.addFetchGroup
(String group) FetchConfiguration.addFetchGroup
(String group) Addsgroup
to the set of fetch group names to use when loading objects.FetchConfigurationImpl.addFetchGroup
(String name) DelegatingFetchConfiguration.addFetchGroups
(Collection groups) FetchConfiguration.addFetchGroups
(Collection<String> groups) Addsgroups
to the set of fetch group names to use when loading objects.FetchConfigurationImpl.addFetchGroups
(Collection<String> groups) Addsfield
to the set of fully-qualified field names to use when loading objects.DelegatingFetchConfiguration.addFields
(Collection fields) FetchConfiguration.addFields
(Collection<String> fields) Addsfields
to the set of fully-qualified field names to use when loading objects.FetchConfigurationImpl.addFields
(Collection<String> fields) DelegatingFetchConfiguration.clearFetchGroups()
FetchConfiguration.clearFetchGroups()
Clears the set of fetch group names to use when loading data.FetchConfigurationImpl.clearFetchGroups()
DelegatingFetchConfiguration.clearFields()
FetchConfiguration.clearFields()
Clears the set of field names to use when loading data.FetchConfigurationImpl.clearFields()
DelegatingFetchConfiguration.getDelegate()
Return the direct delegate.BrokerImpl.getFetchConfiguration()
DelegatingBroker.getFetchConfiguration()
DelegatingExtent.getFetchConfiguration()
DelegatingQuery.getFetchConfiguration()
Extent.getFetchConfiguration()
Return the (mutable) fetch configuration for this extent.ExtentImpl.getFetchConfiguration()
QueryContext.getFetchConfiguration()
Return the fetch configuration for this query.QueryImpl.getFetchConfiguration()
StoreContext.getFetchConfiguration()
Return the (mutable) fetch configuration for loading objects from this context.DelegatingFetchConfiguration.getInnermostDelegate()
Return the native delegate.DelegatingStoreManager.newFetchConfiguration()
StoreManager.newFetchConfiguration()
Return a fetch configuration suitable for this runtime.BrokerImpl.pushFetchConfiguration()
BrokerImpl.pushFetchConfiguration
(FetchConfiguration fc) DelegatingBroker.pushFetchConfiguration()
DelegatingBroker.pushFetchConfiguration
(FetchConfiguration fc) StoreContext.pushFetchConfiguration()
Pushes a new fetch configuration that inherits from the current fetch configuration onto a stack, and makes the new configuration the active one.StoreContext.pushFetchConfiguration
(FetchConfiguration fc) Pushes the fetch configuration argument onto a stack, and makes the new configuration the active one.DelegatingFetchConfiguration.removeFetchGroup
(String group) FetchConfiguration.removeFetchGroup
(String group) Remove the given fetch group.FetchConfigurationImpl.removeFetchGroup
(String group) DelegatingFetchConfiguration.removeFetchGroups
(Collection groups) FetchConfiguration.removeFetchGroups
(Collection<String> groups) Removesgroups
from the set of fetch group names to use when loading objects.FetchConfigurationImpl.removeFetchGroups
(Collection<String> groups) DelegatingFetchConfiguration.removeField
(String field) FetchConfiguration.removeField
(String field) Remove the given fully-qualified field.FetchConfigurationImpl.removeField
(String field) DelegatingFetchConfiguration.removeFields
(Collection fields) FetchConfiguration.removeFields
(Collection<String> fields) Removesfields
from the set of fully-qualified field names to use when loading objects.FetchConfigurationImpl.removeFields
(Collection<String> fields) DelegatingFetchConfiguration.resetFetchGroups()
FetchConfiguration.resetFetchGroups()
Resets the set of fetch groups to the list in the global configuration.FetchConfigurationImpl.resetFetchGroups()
DelegatingFetchConfiguration.setExtendedPathLookup
(boolean flag) FetchConfiguration.setExtendedPathLookup
(boolean flag) Sets extended path lookup feature.FetchConfigurationImpl.setExtendedPathLookup
(boolean flag) DelegatingFetchConfiguration.setFetchBatchSize
(int fetchBatchSize) FetchConfiguration.setFetchBatchSize
(int fetchBatchSize) Set the fetch batch size for large result set support.FetchConfigurationImpl.setFetchBatchSize
(int fetchBatchSize) DelegatingFetchConfiguration.setFlushBeforeQueries
(int flush) FetchConfiguration.setFlushBeforeQueries
(int flush) The query automatic flush configuration.FetchConfigurationImpl.setFlushBeforeQueries
(int flush) DelegatingFetchConfiguration.setLockScope
(int scope) FetchConfiguration.setLockScope
(int scope) The lock scope for next fetch.FetchConfigurationImpl.setLockScope
(int scope) DelegatingFetchConfiguration.setLockTimeout
(int timeout) FetchConfiguration.setLockTimeout
(int timeout) The number of milliseconds to wait for an object lock, or -1 for no limit.FetchConfigurationImpl.setLockTimeout
(int timeout) DelegatingFetchConfiguration.setMaxFetchDepth
(int depth) FetchConfiguration.setMaxFetchDepth
(int max) Set the maximum depth of the fetched instance graph.FetchConfigurationImpl.setMaxFetchDepth
(int depth) DelegatingFetchConfiguration.setQueryCacheEnabled
(boolean cache) FetchConfiguration.setQueryCacheEnabled
(boolean cache) Control whether or not query caching is enabled.FetchConfigurationImpl.setQueryCacheEnabled
(boolean cache) DelegatingFetchConfiguration.setQueryTimeout
(int timeout) FetchConfiguration.setQueryTimeout
(int timeout) The number of milliseconds to wait for a query, or -1 for no limit.FetchConfigurationImpl.setQueryTimeout
(int timeout) DelegatingFetchConfiguration.setReadLockLevel
(int level) FetchConfiguration.setReadLockLevel
(int level) The lock level to use for locking loaded objects.FetchConfigurationImpl.setReadLockLevel
(int level) DelegatingFetchConfiguration.setRootClasses
(Collection roots) FetchConfiguration.setRootClasses
(Collection<Class<?>> classes) Root classes for recursive operations.FetchConfigurationImpl.setRootClasses
(Collection<Class<?>> classes) DelegatingFetchConfiguration.setRootInstances
(Collection roots) FetchConfiguration.setRootInstances
(Collection<?> roots) Root instances for recursive operations.FetchConfigurationImpl.setRootInstances
(Collection<?> instances) DelegatingFetchConfiguration.setWriteLockLevel
(int level) FetchConfiguration.setWriteLockLevel
(int level) The lock level to use for locking dirtied objects.FetchConfigurationImpl.setWriteLockLevel
(int level) DelegatingFetchConfiguration.traverse
(FieldMetaData fmd) FetchConfiguration.traverse
(FieldMetaData fm) Traverse the given field to generate (possibly) a new configuration state.FetchConfigurationImpl.traverse
(FieldMetaData fm) Modifier and TypeMethodDescriptionFinderQuery<K,
V, R> FinderCache.cache
(K key, V value, FetchConfiguration fetch) Cache a FinderQuery for the given key and value.void
DelegatingFetchConfiguration.copy
(FetchConfiguration fetch) void
FetchConfiguration.copy
(FetchConfiguration fetch) Copy the state from the given fetch configuration to this one.void
FetchConfigurationImpl.copy
(FetchConfiguration fetch) FinderQuery.execute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) Execute the query for a given instance.DelegatingStoreManager.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.BrokerImpl.extentIterator
(Class type, boolean subclasses, FetchConfiguration fetch, boolean ignoreChanges) DelegatingBroker.extentIterator
(Class cls, boolean subs, FetchConfiguration fetch, boolean ignoreChanges) StoreContext.extentIterator
(Class<?> cls, boolean subs, FetchConfiguration fetch, boolean ignoreChanges) Return an iterator over all instances of the given type.BrokerImpl.find
(Object oid, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) protected Object
BrokerImpl.find
(Object oid, FetchConfiguration fetch, BitSet exclude, Object edata, int flags, FindCallbacks call) Internal finder.DelegatingBroker.find
(Object oid, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) StoreContext.find
(Object oid, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) Return the object with the given oid.Object[]
BrokerImpl.findAll
(Collection oids, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) protected Object[]
BrokerImpl.findAll
(Collection oids, FetchConfiguration fetch, BitSet exclude, Object edata, int flags, FindCallbacks call) Internal finder.Object[]
DelegatingBroker.findAll
(Collection oids, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) Object[]
StoreContext.findAll
(Collection<Object> oids, FetchConfiguration fetch, BitSet exclude, Object edata, int flags) Return the objects with the given oids.FinderQuery<K,
V, R> FinderCache.get
(K key, FetchConfiguration fetch) Get the FinderQuery for the given key.DetachedStateManager.getUnloaded
(FetchConfiguration fetch) DetachedValueStateManager.getUnloaded
(FetchConfiguration fetch) ObjectIdStateManager.getUnloaded
(FetchConfiguration fetch) OpenJPAStateManager.getUnloaded
(FetchConfiguration fetch) Return a mutable mask of the unloaded fields that need loading based on the given fetch configuration.StateManagerImpl.getUnloaded
(FetchConfiguration fetch) void
AbstractPCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) protected StateManagerImpl
BrokerImpl.initialize
(StateManagerImpl sm, boolean load, FetchConfiguration fetch, Object edata) Initialize a newly-constructed state manager.boolean
DelegatingStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) void
PCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) Initializes the state manager.boolean
StoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) Initialize the given state manager.protected abstract void
AbstractPCResultObjectProvider.load
(OpenJPAStateManager sm, FetchConfiguration fetch) Load data from the current input record into the given state manager.boolean
DelegatingStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context) void
DetachedStateManager.load
(FetchConfiguration fetch) void
DetachedValueStateManager.load
(FetchConfiguration fetch) void
ObjectIdStateManager.load
(FetchConfiguration fetch) void
OpenJPAStateManager.load
(FetchConfiguration fetch) Load fetch group fields.void
PCData.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, Object context) Loads some or all of the marked fields from the cache into the given state manager.void
PCData.load
(OpenJPAStateManager sm, FetchConfiguration fetch, Object context) Loads all fields that are currently stored in the cache into the given state manager.void
PCDataImpl.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, Object context) void
PCDataImpl.load
(OpenJPAStateManager sm, FetchConfiguration fetch, Object context) void
StateManagerImpl.load
(FetchConfiguration fetch) protected boolean
StateManagerImpl.load
(FetchConfiguration fetch, int loadMode, BitSet exclude, Object sdata, boolean forWrite) Load the state of this instance based on the given fetch configuration and load mode.boolean
StoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) Load the given state manager.DelegatingStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object context) StoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) Initialize, load, or validate the existance of all of the given objects.protected void
PCDataImpl.loadField
(OpenJPAStateManager sm, FieldMetaData fmd, FetchConfiguration fetch, Object context) Set field-level information into the given state manager.BrokerImpl.pushFetchConfiguration
(FetchConfiguration fc) DelegatingBroker.pushFetchConfiguration
(FetchConfiguration fc) StoreContext.pushFetchConfiguration
(FetchConfiguration fc) Pushes the fetch configuration argument onto a stack, and makes the new configuration the active one.PreparedQueryCache.register
(String key, Query query, FetchConfiguration hints) Register the given query for caching against the given key if it has not already been cached.protected Object
AbstractPCData.toEmbeddedField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data into an embedded PC field value.protected Object
AbstractPCData.toField
(OpenJPAStateManager sm, FieldMetaData fmd, Object data, FetchConfiguration fetch, Object context) Transform the given data value into its field value.protected Object
AbstractPCData.toNestedField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data value to its field value.protected Collection
AbstractPCData.toNestedFields
(OpenJPAStateManager sm, ValueMetaData vmd, Collection data, FetchConfiguration fetch, Object context) Transform the given data value to its field value.protected Object
AbstractPCData.toRelationField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data into a relation field value.protected Object[]
AbstractPCData.toRelationFields
(OpenJPAStateManager sm, Object data, FetchConfiguration fetch) Transform the given data into relation field values.ModifierConstructorDescriptionConstructor; supply delegate.Constructor; supply delegate and exception translator. -
Uses of FetchConfiguration in org.apache.openjpa.persistence
Modifier and TypeMethodDescriptionFetchPlan.getDelegate()
Deprecated.FetchPlanImpl.getDelegate()
Delegate.Modifier and TypeMethodDescriptionprotected DelegatingFetchConfiguration
FetchPlanImpl.newDelegatingFetchConfiguration
(FetchConfiguration fetch) Create a new exception-translating delegating fetch configuration.EntityManagerImpl.pushFetchPlan
(FetchConfiguration fc) ModifierConstructorDescriptionFetchPlanImpl
(FetchConfiguration fetch) Constructor; supply delegate. -
Uses of FetchConfiguration in org.apache.openjpa.persistence.jdbc
Modifier and TypeMethodDescriptionprotected DelegatingFetchConfiguration
JDBCFetchPlanImpl.newDelegatingFetchConfiguration
(FetchConfiguration fetch) ModifierConstructorDescriptionConstructor; supply delegate. -
Uses of FetchConfiguration in org.apache.openjpa.slice.jdbc
Modifier and TypeClassDescriptionclass
A fetch configuration that is aware of special hint to narrow its operation on subset of slices. -
Uses of FetchConfiguration in org.apache.openjpa.util
Modifier and TypeMethodDescriptionstatic Collection
ImplHelper.loadAll
(Collection sms, StoreManager store, PCState state, int load, FetchConfiguration fetch, Object context) Helper for store manager implementations. -
Uses of FetchConfiguration in org.apache.openjpa.xmlstore
Modifier and TypeMethodDescriptionXMLStoreManager.executeExtent
(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch) boolean
XMLStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) void
ObjectData.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch) Load the data and version information for this object into the given state manager.void
ObjectData.load
(OpenJPAStateManager sm, FetchConfiguration fetch) Load the data and version information for this object into the given state manager.boolean
XMLStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context)
FetchPlanImpl
instead.