Class StandardEntityGraphTraversalStateImpl
java.lang.Object
org.hibernate.sql.results.internal.StandardEntityGraphTraversalStateImpl
- All Implemented Interfaces:
EntityGraphTraversalState
public class StandardEntityGraphTraversalStateImpl
extends Object
implements EntityGraphTraversalState
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.sql.results.graph.EntityGraphTraversalState
EntityGraphTraversalState.FetchStrategy, EntityGraphTraversalState.TraversalResult -
Constructor Summary
ConstructorsConstructorDescriptionStandardEntityGraphTraversalStateImpl(GraphSemantic graphSemantic, RootGraphImplementor<?> rootGraphImplementor, JpaMetamodel metamodel) -
Method Summary
Modifier and TypeMethodDescriptionvoidbacktrack(EntityGraphTraversalState.TraversalResult previousContext) Backtrack to previous entity graph status before last traversal.traverse(FetchParent fetchParent, Fetchable fetchable, boolean exploreKeySubgraph) Traverses to the next part of the Jakarta Persistence entity graph relating to the givenFetchable.
-
Constructor Details
-
StandardEntityGraphTraversalStateImpl
public StandardEntityGraphTraversalStateImpl(GraphSemantic graphSemantic, RootGraphImplementor<?> rootGraphImplementor, JpaMetamodel metamodel)
-
-
Method Details
-
backtrack
Description copied from interface:EntityGraphTraversalStateBacktrack to previous entity graph status before last traversal. Mainly reset the current context entity graph node to the passed method parameter.- Specified by:
backtrackin interfaceEntityGraphTraversalState- Parameters:
previousContext- The previous entity graph context node; should not be null- See Also:
-
traverse
public EntityGraphTraversalState.TraversalResult traverse(FetchParent fetchParent, Fetchable fetchable, boolean exploreKeySubgraph) Description copied from interface:EntityGraphTraversalStateTraverses to the next part of the Jakarta Persistence entity graph relating to the givenFetchable.- Specified by:
traversein interfaceEntityGraphTraversalState
-