Package org.hibernate.graph
Interface RootGraph<J>
- All Superinterfaces:
EntityGraph<J>,Graph<J>,Graph<J>,GraphNode<J>
- All Known Subinterfaces:
RootGraphImplementor<J>
- All Known Implementing Classes:
RootGraphImpl
Extends the JPA-defined
EntityGraph with additional operations.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddAttributeNodes(String... names) default <X> SubGraph<X>addKeySubgraph(Attribute<? super J, X> attribute) default <X> SubGraph<? extends X>addKeySubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) default <X> SubGraph<X>addKeySubgraph(String name) default <X> Subgraph<X>addKeySubgraph(String name, Class<X> type) <T1> SubGraph<? extends T1>addSubclassSubgraph(Class<? extends T1> type) default <X> SubGraph<X>addSubgraph(Attribute<? super J, X> attribute) default <X> Subgraph<? extends X>addSubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) default <X> SubGraph<X>addSubgraph(String name) default <X> SubGraph<X>addSubgraph(String name, Class<X> type) default List<AttributeNode<?>>makeRootGraph(String name, boolean mutable) Create a named rootGraphif the given name is not null.makeSubGraph(boolean mutable) Methods inherited from interface jakarta.persistence.EntityGraph
addTreatedSubgraph, getNameMethods inherited from interface jakarta.persistence.Graph
addAttributeNode, addAttributeNode, addAttributeNodes, addElementSubgraph, addElementSubgraph, addElementSubgraph, addMapKeySubgraph, getAttributeNode, getAttributeNode, hasAttributeNode, hasAttributeNode, removeAttributeNode, removeAttributeNode, removeAttributeNodesMethods inherited from interface org.hibernate.graph.Graph
addAttributeNode, addKeySubGraph, addKeySubGraph, addKeySubGraph, addKeySubGraph, addPluralSubgraph, addSubGraph, addSubGraph, addSubGraph, addSubGraph, addTreatedElementSubgraph, addTreatedMapKeySubgraph, addTreatedSubgraph, findAttributeNode, findAttributeNode, getAttributeNodeList, getGraphAttributeNodes, getGraphedType, makeCopy
-
Method Details
-
makeRootGraph
Description copied from interface:GraphCreate a named rootGraphif the given name is not null.- Specified by:
makeRootGraphin interfaceGraph<J>mutable- controls whether the resultingGraphis mutable
-
makeSubGraph
Description copied from interface:Graph- Specified by:
makeSubGraphin interfaceGraph<J>
-
addSubclassSubgraph
- Specified by:
addSubclassSubgraphin interfaceEntityGraph<J>
-
getAttributeNodes
- Specified by:
getAttributeNodesin interfaceGraph<J>
-
addAttributeNodes
- Specified by:
addAttributeNodesin interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<J>
-
addSubgraph
default <X> Subgraph<? extends X> addSubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) - Specified by:
addSubgraphin interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraphin interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<J>
-
addKeySubgraph
default <X> SubGraph<? extends X> addKeySubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) - Specified by:
addKeySubgraphin interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraphin interfaceGraph<J>
-