Uses of Class
org.apache.cayenne.query.PrefetchTreeNode
Packages that use PrefetchTreeNode
Package
Description
Property API
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
General utility classes.
-
Uses of PrefetchTreeNode in org.apache.cayenne.ejbql
Methods in org.apache.cayenne.ejbql that return PrefetchTreeNodeModifier and TypeMethodDescriptionEJBQLCompiledExpression.getPrefetchTree()
Returns prefetched columns tree for fetch joins. -
Uses of PrefetchTreeNode in org.apache.cayenne.exp.property
Methods in org.apache.cayenne.exp.property that return PrefetchTreeNodeModifier and TypeMethodDescriptiondefault PrefetchTreeNode
RelationshipProperty.disjoint()
Returns a prefetch tree that follows this property path, potentially spanning a number of phantom nodes, and having a single leaf with "disjoint" prefetch semantics.default PrefetchTreeNode
RelationshipProperty.disjointById()
Returns a prefetch tree that follows this property path, potentially spanning a number of phantom nodes, and having a single leaf with "disjoint by id" prefetch semantics.default PrefetchTreeNode
RelationshipProperty.joint()
Returns a prefetch tree that follows this property path, potentially spanning a number of phantom nodes, and having a single leaf with "joint" prefetch semantics. -
Uses of PrefetchTreeNode in org.apache.cayenne.query
Fields in org.apache.cayenne.query declared as PrefetchTreeNodeModifier and TypeFieldDescriptionprotected PrefetchTreeNode
PrefetchTreeNode.parent
protected PrefetchTreeNode
SQLSelect.prefetches
Fields in org.apache.cayenne.query with type parameters of type PrefetchTreeNodeModifier and TypeFieldDescriptionprotected Collection
<PrefetchTreeNode> PrefetchTreeNode.children
Methods in org.apache.cayenne.query that return PrefetchTreeNodeModifier and TypeMethodDescriptionAdds a "path" with specified semantics to this prefetch node.ProcedureQuery.addPrefetch
(String prefetchPath) Adds a prefetch.SelectQuery.addPrefetch
(String prefetchPath) Deprecated.Adds a prefetch with specified relationship path to the query.SQLTemplate.addPrefetch
(String prefetchPath) Adds a prefetch.PrefetchTreeNode.cloneJointSubtree()
Returns a clone of subtree that includes all joint children starting from this node itself and till the first occurrence of non-joint nodeprotected PrefetchTreeNode
Looks up an existing node in the tree desribed by the dot-separated path.PrefetchTreeNode.getParent()
FluentSelect.getPrefetches()
SelectById.getPrefetches()
ProcedureQuery.getPrefetchTree()
QueryMetadata.getPrefetchTree()
Returns a root node of prefetch tree used by this query, or null of no prefetches are configured.QueryMetadataProxy.getPrefetchTree()
SelectQuery.getPrefetchTree()
Deprecated.SQLTemplate.getPrefetchTree()
PrefetchTreeNode.getRoot()
Returns the root of the node tree.static PrefetchTreeNode
Creates and returns a prefetch tree spanning a single path.Methods in org.apache.cayenne.query that return types with arguments of type PrefetchTreeNodeModifier and TypeMethodDescriptionPrefetchTreeNode.adjacentJointNodes()
Returns a subset of nodes with "joint" semantics that are to be prefetched in the same query as the current node.PrefetchTreeNode.disjointByIdNodes()
Returns a collection of PrefetchTreeNodes with disjoint semanticsPrefetchTreeNode.disjointNodes()
Returns a collection of PrefetchTreeNodes with disjoint semantics.PrefetchTreeNode.getChildren()
Returns an unmodifiable collection of children.PrefetchTreeNode.jointNodes()
Returns a collection of PrefetchTreeNodes in this tree with joint semantics.PrefetchTreeNode.nonPhantomNodes()
Returns a collection of PrefetchTreeNodes that are not phantoms.Methods in org.apache.cayenne.query with parameters of type PrefetchTreeNodeModifier and TypeMethodDescriptionvoid
PrefetchTreeNode.addChild
(PrefetchTreeNode child) void
SelectQuery.addPrefetch
(PrefetchTreeNode prefetchElement) Deprecated.Adds a prefetch with specified relationship path to the query.SQLSelect.addPrefetch
(PrefetchTreeNode node) Merges a prefetch into the query prefetch tree.void
SQLTemplate.addPrefetch
(PrefetchTreeNode prefetchElement) Adds a prefetch with specified relationship path to the query.void
PrefetchProcessor.finishPrefetch
(PrefetchTreeNode node) PrefetchTreeNode.getPath
(PrefetchTreeNode upTillParent) void
PrefetchTreeNode.merge
(PrefetchTreeNode node) MergesPrefetchTreeNode
into the current prefetch tree, cloning the nodes added to this tree.ColumnSelect.prefetch
(PrefetchTreeNode prefetch) Merges prefetch into the query prefetch tree.ObjectSelect.prefetch
(PrefetchTreeNode prefetch) Merges prefetch into the query prefetch tree.SelectById.prefetch
(PrefetchTreeNode prefetch) Merges prefetch into the query prefetch tree.void
PrefetchTreeNode.removeChild
(PrefetchTreeNode child) void
PrefetchSelectQuery.setPrefetchTree
(PrefetchTreeNode prefetch) Clean set of the prefetch tree without any merge with existing nodes.void
SelectQuery.setPrefetchTree
(PrefetchTreeNode prefetchTree) Deprecated.boolean
PrefetchProcessor.startDisjointByIdPrefetch
(PrefetchTreeNode prefetchTreeNode) boolean
PrefetchProcessor.startDisjointPrefetch
(PrefetchTreeNode node) boolean
PrefetchProcessor.startJointPrefetch
(PrefetchTreeNode node) boolean
PrefetchProcessor.startPhantomPrefetch
(PrefetchTreeNode node) boolean
PrefetchProcessor.startUnknownPrefetch
(PrefetchTreeNode node) Constructors in org.apache.cayenne.query with parameters of type PrefetchTreeNodeModifierConstructorDescriptionprotected
PrefetchTreeNode
(PrefetchTreeNode parent, String name) Creates a phantom PrefetchTreeNode, initializing it with parent node and a name of a relationship segment connecting this node with the parent. -
Uses of PrefetchTreeNode in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type PrefetchTreeNodeModifier and TypeMethodDescriptionObjectDetachOperation.detach
(Object object, ClassDescriptor descriptor, PrefetchTreeNode prefetchTree) "Detaches" an object from its context by creating an unattached copy.