Class GraphParsing
java.lang.Object
org.hibernate.graph.internal.parse.GraphParsing
Helper for dealing with graph text parsing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> RootGraphImplementor<T>
parse
(@Nullable String name, EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, EntityNameResolver entityNameResolver) static <T> RootGraphImplementor<T>
parse
(Class<T> entityClass, String graphText, SessionFactoryImplementor sessionFactory) static <T> RootGraphImplementor<T>
parse
(String entityName, String graphText, SessionFactoryImplementor sessionFactory) static <T> RootGraphImplementor<T>
parse
(String graphText, SessionFactoryImplementor sessionFactory) static <T> RootGraphImplementor<T>
parse
(EntityDomainType<T> entityDomainType, String graphText, SessionFactoryImplementor sessionFactory) static <T> RootGraphImplementor<T>
parse
(EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, SessionFactoryImplementor sessionFactory) static <T> RootGraphImplementor<T>
parse
(EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, EntityNameResolver entityNameResolver) static void
parseInto
(GraphImplementor<?> targetGraph, CharSequence graphString, SessionFactoryImplementor sessionFactory) Parse the passed graph textual representation into the passed Graph.
-
Constructor Details
-
GraphParsing
public GraphParsing()
-
-
Method Details
-
parse
public static <T> RootGraphImplementor<T> parse(Class<T> entityClass, String graphText, SessionFactoryImplementor sessionFactory) -
parse
public static <T> RootGraphImplementor<T> parse(EntityDomainType<T> entityDomainType, String graphText, SessionFactoryImplementor sessionFactory) -
parse
public static <T> RootGraphImplementor<T> parse(String entityName, String graphText, SessionFactoryImplementor sessionFactory) -
parse
public static <T> RootGraphImplementor<T> parse(String graphText, SessionFactoryImplementor sessionFactory) -
parse
public static <T> RootGraphImplementor<T> parse(EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, SessionFactoryImplementor sessionFactory) -
parse
public static <T> RootGraphImplementor<T> parse(EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, EntityNameResolver entityNameResolver) -
parse
public static <T> RootGraphImplementor<T> parse(@Nullable String name, EntityDomainType<T> rootType, GraphLanguageParser.AttributeListContext attributeListContext, EntityNameResolver entityNameResolver) -
parseInto
public static void parseInto(GraphImplementor<?> targetGraph, CharSequence graphString, SessionFactoryImplementor sessionFactory) Parse the passed graph textual representation into the passed Graph. Essentially overlays the text representation on top of the graph.
-