类 AbstractQuerySpace
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.spaces.AbstractQuerySpace
-
- 所有已实现的接口:
QuerySpace
public abstract class AbstractQuerySpace extends Object implements QuerySpace
Convenience base class for QuerySpace implementations.- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.loader.plan.spi.QuerySpace
QuerySpace.Disposition
-
-
构造器概要
构造器 构造器 说明 AbstractQuerySpace(String uid, QuerySpace.Disposition disposition, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanJoinsBeRequired()Can any joins created from here (with this as the left-hand side) be required joins?QuerySpace.DispositiongetDisposition()What type of QuerySpace (more-specific) is this?protected ExpandingQuerySpacesgetExpandingQuerySpaces()Iterable<Join>getJoins()Obtain all joins which originate from this QuerySpace, in other words, all the joins which this QuerySpace is the left-hand-side of.QuerySpacesgetQuerySpaces()Provides subclasses access to the spaces to which this space belongs.StringgetUid()The uid/alias which uniquely identifies this QuerySpace.protected List<Join>internalGetJoins()protected SessionFactoryImplementorsessionFactory()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.spi.QuerySpace
getPropertyMapping, toAliasedColumns
-
-
-
-
构造器详细资料
-
AbstractQuerySpace
public AbstractQuerySpace(String uid, QuerySpace.Disposition disposition, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
-
-
方法详细资料
-
sessionFactory
protected SessionFactoryImplementor sessionFactory()
-
canJoinsBeRequired
public boolean canJoinsBeRequired()
Can any joins created from here (with this as the left-hand side) be required joins?- 返回:
trueindicates joins can be required;falseindicates they cannot.
-
getQuerySpaces
public QuerySpaces getQuerySpaces()
Provides subclasses access to the spaces to which this space belongs.- 指定者:
getQuerySpaces在接口中QuerySpace- 返回:
- The query spaces
-
getExpandingQuerySpaces
protected ExpandingQuerySpaces getExpandingQuerySpaces()
-
getUid
public String getUid()
从接口复制的说明:QuerySpaceThe uid/alias which uniquely identifies this QuerySpace. Can be used to uniquely reference this QuerySpace elsewhere.- 指定者:
getUid在接口中QuerySpace- 返回:
- The uid
- 另请参阅:
QuerySpaces.findQuerySpaceByUid(java.lang.String)
-
getDisposition
public QuerySpace.Disposition getDisposition()
从接口复制的说明:QuerySpaceWhat type of QuerySpace (more-specific) is this?- 指定者:
getDisposition在接口中QuerySpace- 返回:
- The enum value representing the more-specific type of QuerySpace
-
getJoins
public Iterable<Join> getJoins()
从接口复制的说明:QuerySpaceObtain all joins which originate from this QuerySpace, in other words, all the joins which this QuerySpace is the left-hand-side of. For all the joins returned here,Join.getLeftHandSide()should point back to this QuerySpace such thatspace.getJoins().forEach{ join -> join.getLeftHandSide() == space }is true for all.- 指定者:
getJoins在接口中QuerySpace- 返回:
- The joins which originate from this query space.
-
-