Uses of Class
org.datanucleus.FetchPlan
Packages that use FetchPlan
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
Provides classes relating to the life cycle state management of a persistable object.
Package handling the storage of classes to the datastore, and the management of the datastore.
Package providing query language support for datastores.
-
Uses of FetchPlan in org.datanucleus
Fields in org.datanucleus declared as FetchPlanModifier and TypeFieldDescriptionprivate FetchPlan
ExecutionContextImpl.fetchPlan
Current FetchPlan for the context.(package private) final FetchPlan
FetchPlanForClass.plan
Parent FetchPlan.Fields in org.datanucleus with type parameters of type FetchPlanModifier and TypeFieldDescriptionprivate Collection
<FetchPlan> FetchGroup.planListeners
FetchPlans listening to this group for changes.Methods in org.datanucleus that return FetchPlanModifier and TypeMethodDescriptionMethod to add a group to the fetch plan.FetchPlan.clearGroups()
Method to clear the current groups and activate the DFG.FetchPlan.getCopy()
Returns a copy of this FetchPlan with all settings initialized.ExecutionContext.getFetchPlan()
Acessor for the current FetchPlanExecutionContextImpl.getFetchPlan()
final FetchPlan
FetchPlanForClass.getFetchPlan()
Accessor for the FetchPlan that this classes plan relates to.FetchPlan.removeGroup
(String grpName) Method to remove a group from the fetch plan.FetchPlan.setDetachmentOptions
(int options) Set the options to be used at detachment.FetchPlan.setDetachmentRootClasses
(Class[] rootClasses) Set the classes used for roots of the detachment graph for DetachAllOnCommit.FetchPlan.setDetachmentRoots
(Collection<Object> roots) Set the roots for DetachAllOnCommitFetchPlan.setFetchSize
(int fetchSize) Method to set the fetch size when using large result sets.Method to set the fetch group.Method to set the groups using an array.FetchPlan.setGroups
(Collection<String> grpNames) Method to set the groups of the fetch plan.FetchPlan.setMaxFetchDepth
(int max) Mutator for the maximum fetch depth where -1 implies no restriction on the fetch depth.Methods in org.datanucleus that return types with arguments of type FetchPlanMethods in org.datanucleus with parameters of type FetchPlanModifier and TypeMethodDescriptionvoid
FetchGroup.deregisterListener
(FetchPlan plan) Method to deregister a listener for changes to this FetchGroup.(package private) FetchPlanForClass
Returns a copy of this object with all settings initialised.void
FetchGroup.registerListener
(FetchPlan plan) Method to register a listener for changes to this FetchGroup.Constructors in org.datanucleus with parameters of type FetchPlanModifierConstructorDescriptionFetchPlanForClass
(AbstractClassMetaData cmd, FetchPlan fetchPlan) Constructor. -
Uses of FetchPlan in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type FetchPlanModifier and TypeMethodDescriptionvoid
DNStateManager.loadUnloadedFieldsOfClassInFetchPlan
(FetchPlan fetchPlan) Loads (from the database) all unloaded fields of the managed class that are in the specified FetchPlan.void
StateManagerImpl.loadUnloadedFieldsOfClassInFetchPlan
(FetchPlan fetchPlan) LifeCycleState.transitionRetrieve
(DNStateManager sm, FetchPlan fetchPlan) Method to transition to retrieve state. -
Uses of FetchPlan in org.datanucleus.store
Methods in org.datanucleus.store that return FetchPlanModifier and TypeMethodDescriptionFieldValues.getFetchPlanForLoading()
Accessor for any FetchPlan to use when loading of fields (if any). -
Uses of FetchPlan in org.datanucleus.store.query
Fields in org.datanucleus.store.query declared as FetchPlanModifier and TypeFieldDescriptionprivate FetchPlan
DefaultCandidateExtent.fetchPlan
FetchPlan for use with this Extent.private FetchPlan
Query.fetchPlan
Fetch Plan to use for the query.Methods in org.datanucleus.store.query that return FetchPlanModifier and TypeMethodDescriptionDefaultCandidateExtent.getFetchPlan()
Extent.getFetchPlan()
Query.getFetchPlan()
This method retrieves the fetch plan associated with the Query.Methods in org.datanucleus.store.query with parameters of type FetchPlanModifier and TypeMethodDescriptionvoid
Query.setFetchPlan
(FetchPlan fp) Mutator for the FetchPlan of the query.