Uses of Class
org.datanucleus.FetchPlan
-
Packages that use FetchPlan Package Description org.datanucleus This package provides classes that are typically externally called, whether that means by developers or by other DataNucleus plugins.org.datanucleus.state Provides classes relating to the life cycle state management of a persistable object.org.datanucleus.store Package handling the storage of classes to the datastore, and the management of the datastore.org.datanucleus.store.query Package providing query language support for datastores. -
-
Uses of FetchPlan in org.datanucleus
Methods in org.datanucleus that return FetchPlan Modifier and Type Method Description FetchPlan
FetchPlan. addGroup(String grpName)
Method to add a group to the fetch plan.FetchPlan
FetchPlan. clearGroups()
Method to clear the current groups and activate the DFG.FetchPlan
FetchPlan. getCopy()
Returns a copy of this FetchPlan with all settings initialized.FetchPlan
ExecutionContext. getFetchPlan()
Acessor for the current FetchPlanFetchPlan
ExecutionContextImpl. getFetchPlan()
FetchPlan
FetchPlanForClass. getFetchPlan()
Accessor for the FetchPlan that this classes plan relates to.FetchPlan
FetchPlan. removeGroup(String grpName)
Method to remove a group from the fetch plan.FetchPlan
FetchPlan. setDetachmentOptions(int options)
Set the options to be used at detachment.FetchPlan
FetchPlan. setDetachmentRootClasses(Class[] rootClasses)
Set the classes used for roots of the detachment graph for DetachAllOnCommit.FetchPlan
FetchPlan. setDetachmentRoots(Collection roots)
Set the roots for DetachAllOnCommitFetchPlan
FetchPlan. setFetchSize(int fetchSize)
Method to set the fetch size when using large result sets.FetchPlan
FetchPlan. setGroup(String grpName)
Method to set the fetch group.FetchPlan
FetchPlan. setGroups(String[] grpNames)
Method to set the groups using an array.FetchPlan
FetchPlan. setGroups(Collection<String> grpNames)
Method to set the groups of the fetch plan.FetchPlan
FetchPlan. setMaxFetchDepth(int max)
Mutator for the maximum fetch depth where -1 implies no restriction on the fetch depth and 0 is invalid and throws a JDOUserException.Methods in org.datanucleus that return types with arguments of type FetchPlan Modifier and Type Method Description Collection<FetchPlan>
FetchGroup. getListenerFPs()
Methods in org.datanucleus with parameters of type FetchPlan Modifier and Type Method Description void
FetchGroup. deregisterListener(FetchPlan plan)
Method to deregister a listener for changes to this FetchGroup.void
FetchGroup. registerListener(FetchPlan plan)
Method to register a listener for changes to this FetchGroup.Constructors in org.datanucleus with parameters of type FetchPlan Constructor Description FetchPlanForClass(AbstractClassMetaData cmd, FetchPlan fetchPlan)
Constructor. -
Uses of FetchPlan in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type FetchPlan Modifier and Type Method Description void
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)
Fetchs from the database all currently unloaded fields in the actual fetch plan.LifeCycleState
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 FetchPlan Modifier and Type Method Description FetchPlan
FieldValues. getFetchPlanForLoading()
Accessor for any FetchPlan to use when loading of fields (if any). -
Uses of FetchPlan in org.datanucleus.store.query
Methods in org.datanucleus.store.query that return FetchPlan Modifier and Type Method Description FetchPlan
DefaultCandidateExtent. getFetchPlan()
FetchPlan
Extent. getFetchPlan()
FetchPlan
Query. getFetchPlan()
This method retrieves the fetch plan associated with the Query.Methods in org.datanucleus.store.query with parameters of type FetchPlan Modifier and Type Method Description void
Query. setFetchPlan(FetchPlan fp)
Mutator for the FetchPlan of the query.
-