## Uses of Class
org.apache.cayenne.query.PrefetchTreeNode

- Packages that use PrefetchTreeNode
  Package | Description
  --- | ---
  org.apache.cayenne.ejbql |
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
  org.apache.cayenne.util | General utility classes.

- - ### Uses of PrefetchTreeNode in org.apache.cayenne.ejbql

    Methods in org.apache.cayenne.ejbql that return PrefetchTreeNode
    Modifier and Type | Method and Description
    --- | ---
    `PrefetchTreeNode` | EJBQLCompiledExpression.`getPrefetchTree()` Returns prefetched columns tree for fetch joins.

  - ### Uses of PrefetchTreeNode in org.apache.cayenne.query

    Fields in org.apache.cayenne.query declared as PrefetchTreeNode
    Modifier and Type | Field and Description
    --- | ---
    `protected PrefetchTreeNode` | PrefetchTreeNode.`parent`

    Fields in org.apache.cayenne.query with type parameters of type PrefetchTreeNode
    Modifier and Type | Field and Description
    --- | ---
    `protected Collection<PrefetchTreeNode>` | PrefetchTreeNode.`children`

    Methods in org.apache.cayenne.query that return PrefetchTreeNode
    Modifier and Type | Method and Description
    --- | ---
    `PrefetchTreeNode` | PrefetchTreeNode.`addPath(String path)` Adds a "path" with specified semantics to this prefetch node.
    `PrefetchTreeNode` | ProcedureQuery.`addPrefetch(String prefetchPath)` Adds a prefetch.
    `PrefetchTreeNode` | SelectQuery.`addPrefetch(String prefetchPath)` Adds a prefetch with specified relationship path to the query.
    `PrefetchTreeNode` | SQLTemplate.`addPrefetch(String prefetchPath)` Adds a prefetch.
    `PrefetchTreeNode` | 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 node
    `protected PrefetchTreeNode` | PrefetchTreeNode.`getChild(String segment)`
    `PrefetchTreeNode` | PrefetchTreeNode.`getNode(String path)` Looks up an existing node in the tree desribed by the dot-separated path.
    `PrefetchTreeNode` | PrefetchTreeNode.`getParent()`
    `PrefetchTreeNode` | ProcedureQuery.`getPrefetchTree()`
    `PrefetchTreeNode` | QueryMetadata.`getPrefetchTree()` Returns a root node of prefetch tree used by this query, or null of no prefetches are configured.
    `PrefetchTreeNode` | SelectQuery.`getPrefetchTree()`
    `PrefetchTreeNode` | SQLTemplate.`getPrefetchTree()`
    `PrefetchTreeNode` | PrefetchTreeNode.`getRoot()` Returns the root of the node tree.

    Methods in org.apache.cayenne.query that return types with arguments of type PrefetchTreeNode
    Modifier and Type | Method and Description
    --- | ---
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`adjacentJointNodes()` Returns a subset of nodes with "joint" semantics that are to be prefetched in the same query as the current node.
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`disjointByIdNodes()` Returns a collection of PrefetchTreeNodes with disjoint semantics
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`disjointNodes()` Returns a collection of PrefetchTreeNodes with disjoint semantics.
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`getChildren()` Returns an unmodifiable collection of children.
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`jointNodes()` Returns a collection of PrefetchTreeNodes in this tree with joint semantics.
    `Collection<PrefetchTreeNode>` | PrefetchTreeNode.`nonPhantomNodes()` Returns a collection of PrefetchTreeNodes that are not phantoms.

    Methods in org.apache.cayenne.query with parameters of type PrefetchTreeNode
    Modifier and Type | Method and Description
    --- | ---
    `void` | PrefetchTreeNode.`addChild(PrefetchTreeNode child)`
    `void` | PrefetchProcessor.`finishPrefetch(PrefetchTreeNode node)`
    `String` | PrefetchTreeNode.`getPath(PrefetchTreeNode upTillParent)`
    `void` | PrefetchTreeNode.`removeChild(PrefetchTreeNode child)`
    `void` | SelectQuery.`setPrefetchTree(PrefetchTreeNode prefetchTree)`
    `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 PrefetchTreeNode
    Constructor and Description
    `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 PrefetchTreeNode
    Modifier and Type | Method and Description
    --- | ---
    `Object` | ObjectDetachOperation.`detach(Object object, ClassDescriptor descriptor, PrefetchTreeNode prefetchTree)` "Detaches" an object from its context by creating an unattached copy.

Copyright © 2001–2018 Apache Cayenne. All rights reserved.