类 EntityGraphQueryHint
- java.lang.Object
-
- org.hibernate.engine.query.spi.EntityGraphQueryHint
-
- 所有已实现的接口:
AppliedGraph
public class EntityGraphQueryHint extends Object implements AppliedGraph
Encapsulates a JPA EntityGraph provided through a JPQL query hint. Converts the fetches into a list of AST FromElements. The logic is kept here as much as possible in order to make it easy to remove this in the future, once our AST is improved and this "hack" is no longer needed.- 作者:
- Brett Meyer
-
-
构造器概要
构造器 构造器 说明 EntityGraphQueryHint(String hintName, javax.persistence.EntityGraph<?> graph)EntityGraphQueryHint(RootGraphImplementor<?> graph, GraphSemantic semantic)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 RootGraphImplementor<?>getGraph()The applied graphGraphSemanticgetGraphSemantic()已过时。(5.4) UsegetSemantic()StringgetHintName()已过时。(5.4) UsegetSemantic()javax.persistence.EntityGraph<?>getOriginEntityGraph()已过时。(5.4) UsegetGraph()GraphSemanticgetSemantic()The semantic (fetch/load) under which the graph should be appliedList<FromElement>toFromElements(FromClause fromClause, HqlSqlWalker walker)
-
-
-
构造器详细资料
-
EntityGraphQueryHint
public EntityGraphQueryHint(String hintName, javax.persistence.EntityGraph<?> graph)
-
EntityGraphQueryHint
public EntityGraphQueryHint(RootGraphImplementor<?> graph, GraphSemantic semantic)
-
-
方法详细资料
-
getSemantic
public GraphSemantic getSemantic()
从接口复制的说明:AppliedGraphThe semantic (fetch/load) under which the graph should be applied- 指定者:
getSemantic在接口中AppliedGraph
-
getGraph
public RootGraphImplementor<?> getGraph()
从接口复制的说明:AppliedGraphThe applied graph- 指定者:
getGraph在接口中AppliedGraph
-
toFromElements
public List<FromElement> toFromElements(FromClause fromClause, HqlSqlWalker walker)
-
getOriginEntityGraph
@Deprecated public javax.persistence.EntityGraph<?> getOriginEntityGraph()
已过时。(5.4) UsegetGraph()
-
getGraphSemantic
@Deprecated public GraphSemantic getGraphSemantic()
已过时。(5.4) UsegetSemantic()
-
getHintName
@Deprecated public String getHintName()
已过时。(5.4) UsegetSemantic()
-
-