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 void
addAttributeNodes
(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 rootGraph
if the given name is not null.makeSubGraph
(boolean mutable) Methods inherited from interface jakarta.persistence.EntityGraph
addTreatedSubgraph, getName
Methods inherited from interface jakarta.persistence.Graph
addAttributeNode, addAttributeNode, addAttributeNodes, addElementSubgraph, addElementSubgraph, addElementSubgraph, addMapKeySubgraph, getAttributeNode, getAttributeNode, hasAttributeNode, hasAttributeNode, removeAttributeNode, removeAttributeNode, removeAttributeNodes
Methods 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:Graph
Create a named rootGraph
if the given name is not null.- Specified by:
makeRootGraph
in interfaceGraph<J>
mutable
- controls whether the resultingGraph
is mutable
-
makeSubGraph
Description copied from interface:Graph
- Specified by:
makeSubGraph
in interfaceGraph<J>
-
addSubclassSubgraph
- Specified by:
addSubclassSubgraph
in interfaceEntityGraph<J>
-
getAttributeNodes
- Specified by:
getAttributeNodes
in interfaceGraph<J>
-
addAttributeNodes
- Specified by:
addAttributeNodes
in interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceGraph<J>
-
addSubgraph
default <X> Subgraph<? extends X> addSubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) - Specified by:
addSubgraph
in interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceGraph<J>
-
addSubgraph
- Specified by:
addSubgraph
in interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceGraph<J>
-
addKeySubgraph
default <X> SubGraph<? extends X> addKeySubgraph(Attribute<? super J, X> attribute, Class<? extends X> type) - Specified by:
addKeySubgraph
in interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceGraph<J>
-
addKeySubgraph
- Specified by:
addKeySubgraph
in interfaceGraph<J>
-