类 JoinImpl
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.spaces.JoinImpl
-
- 所有已实现的接口:
Join,JoinDefinedByMetadata
public class JoinImpl extends Object implements JoinDefinedByMetadata
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 JoinImpl(QuerySpace leftHandSide, String lhsPropertyName, QuerySpace rightHandSide, String[] rhsColumnNames, Type joinedPropertyType, boolean rightHandSideRequired)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAnyAdditionalJoinConditions(String rhsTableAlias)Gets any additional conditions on the right-hand-side of the join using the specified table alias.StringgetJoinedPropertyName()Obtain the name of the property that defines the join, relative to the PropertyMapping (QuerySpace.toAliasedColumns(String, String)) of the left-hand-side (Join.getLeftHandSide()) of the joinTypegetJoinedPropertyType()Get the property type of the joined property.QuerySpacegetLeftHandSide()Get theQuerySpacefrom the left-hand-side of the join.QuerySpacegetRightHandSide()Get theQuerySpacefrom the right-hand-side of the join.booleanisRightHandSideRequired()Indicates if the joined attribute is required to be non-null.String[]resolveAliasedLeftHandSideJoinConditionColumns(String leftHandSideTableAlias)Resolves the column names prefixed by the specified alias on the left-hand-side of the join.String[]resolveNonAliasedRightHandSideJoinConditionColumns()Resolves the raw (unaliased) column names on the right-hand-side of the join.
-
-
-
构造器详细资料
-
JoinImpl
public JoinImpl(QuerySpace leftHandSide, String lhsPropertyName, QuerySpace rightHandSide, String[] rhsColumnNames, Type joinedPropertyType, boolean rightHandSideRequired)
-
-
方法详细资料
-
getLeftHandSide
public QuerySpace getLeftHandSide()
从接口复制的说明:JoinGet theQuerySpacefrom the left-hand-side of the join.- 指定者:
getLeftHandSide在接口中Join- 返回:
- the query space from the left-hand-side of the join.
-
getRightHandSide
public QuerySpace getRightHandSide()
从接口复制的说明:JoinGet theQuerySpacefrom the right-hand-side of the join.- 指定者:
getRightHandSide在接口中Join- 返回:
- the query space from the right-hand-side of the join.
-
isRightHandSideRequired
public boolean isRightHandSideRequired()
从接口复制的说明:JoinIndicates if the joined attribute is required to be non-null.- 指定者:
isRightHandSideRequired在接口中Join- 返回:
- true, if the joined attribute is required to be non-null; false, otherwise.
-
resolveAliasedLeftHandSideJoinConditionColumns
public String[] resolveAliasedLeftHandSideJoinConditionColumns(String leftHandSideTableAlias)
从接口复制的说明:JoinResolves the column names prefixed by the specified alias on the left-hand-side of the join.- 指定者:
resolveAliasedLeftHandSideJoinConditionColumns在接口中Join- 参数:
leftHandSideTableAlias- The table alias used to prefix the columns.- 返回:
- the aliased columns on the left-hand-side of the join.
-
resolveNonAliasedRightHandSideJoinConditionColumns
public String[] resolveNonAliasedRightHandSideJoinConditionColumns()
从接口复制的说明:JoinResolves the raw (unaliased) column names on the right-hand-side of the join.- 指定者:
resolveNonAliasedRightHandSideJoinConditionColumns在接口中Join- 返回:
- the columns on the right-hand-side of the join.
-
getAnyAdditionalJoinConditions
public String getAnyAdditionalJoinConditions(String rhsTableAlias)
从接口复制的说明:JoinGets any additional conditions on the right-hand-side of the join using the specified table alias.- 指定者:
getAnyAdditionalJoinConditions在接口中Join- 参数:
rhsTableAlias- The table alias.- 返回:
- additional conditions on the right-hand-side of the join.
-
getJoinedPropertyName
public String getJoinedPropertyName()
从接口复制的说明:JoinDefinedByMetadataObtain the name of the property that defines the join, relative to the PropertyMapping (QuerySpace.toAliasedColumns(String, String)) of the left-hand-side (Join.getLeftHandSide()) of the join- 指定者:
getJoinedPropertyName在接口中JoinDefinedByMetadata- 返回:
- The property name
-
getJoinedPropertyType
public Type getJoinedPropertyType()
从接口复制的说明:JoinDefinedByMetadataGet the property type of the joined property.- 指定者:
getJoinedPropertyType在接口中JoinDefinedByMetadata- 返回:
- The property type.
-
-