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 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 implementation of query language support for datastores.
|
Modifier and Type | Method and 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 FetchPlan
|
FetchPlan |
FetchPlanForClass.getFetchPlan()
Accessor for the FetchPlan that this classes plan relates to.
|
FetchPlan |
ExecutionContextImpl.getFetchPlan() |
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 DetachAllOnCommit
|
FetchPlan |
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(Collection<String> grpNames)
Method to set the groups of the fetch plan.
|
FetchPlan |
FetchPlan.setGroups(String[] grpNames)
Method to set the groups using an array.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<FetchPlan> |
FetchGroup.getListenerFPs() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
FetchPlanForClass(AbstractClassMetaData cmd,
FetchPlan fetchPlan)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectProvider.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(ObjectProvider op,
FetchPlan fetchPlan)
Method to transition to retrieve state.
|
Modifier and Type | Method and Description |
---|---|
FetchPlan |
Extent.getFetchPlan() |
FetchPlan |
DefaultCandidateExtent.getFetchPlan() |
FetchPlan |
FieldValues.getFetchPlanForLoading()
Accessor for any FetchPlan to use when loading of fields (if any).
|
Modifier and Type | Method and Description |
---|---|
FetchPlan |
Query.getFetchPlan()
This method retrieves the fetch plan associated with the Query.
|
Modifier and Type | Method and Description |
---|---|
void |
Query.setFetchPlan(FetchPlan fp)
Mutator for the FetchPlan of the query.
|
Copyright © 2019. All rights reserved.