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 PrefetchTreeNodeRelationshipProperty.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 PrefetchTreeNodeRelationshipProperty.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 PrefetchTreeNodeRelationshipProperty.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 PrefetchTreeNodePrefetchTreeNode.parentprotected PrefetchTreeNodeSQLSelect.prefetchesFields in org.apache.cayenne.query with type parameters of type PrefetchTreeNodeModifier and TypeFieldDescriptionprotected Collection<PrefetchTreeNode> PrefetchTreeNode.childrenMethods 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 PrefetchTreeNodeLooks 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 PrefetchTreeNodeCreates 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 TypeMethodDescriptionvoidPrefetchTreeNode.addChild(PrefetchTreeNode child) voidSelectQuery.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.voidSQLTemplate.addPrefetch(PrefetchTreeNode prefetchElement) Adds a prefetch with specified relationship path to the query.voidPrefetchProcessor.finishPrefetch(PrefetchTreeNode node) PrefetchTreeNode.getPath(PrefetchTreeNode upTillParent) voidPrefetchTreeNode.merge(PrefetchTreeNode node) MergesPrefetchTreeNodeinto 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.voidPrefetchTreeNode.removeChild(PrefetchTreeNode child) voidPrefetchSelectQuery.setPrefetchTree(PrefetchTreeNode prefetch) Clean set of the prefetch tree without any merge with existing nodes.voidSelectQuery.setPrefetchTree(PrefetchTreeNode prefetchTree) Deprecated.booleanPrefetchProcessor.startDisjointByIdPrefetch(PrefetchTreeNode prefetchTreeNode) booleanPrefetchProcessor.startDisjointPrefetch(PrefetchTreeNode node) booleanPrefetchProcessor.startJointPrefetch(PrefetchTreeNode node) booleanPrefetchProcessor.startPhantomPrefetch(PrefetchTreeNode node) booleanPrefetchProcessor.startUnknownPrefetch(PrefetchTreeNode node) Constructors in org.apache.cayenne.query with parameters of type PrefetchTreeNodeModifierConstructorDescriptionprotectedPrefetchTreeNode(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.