接口 Join
-
- 所有已知子接口:
JoinDefinedByMetadata
- 所有已知实现类:
JoinImpl
public interface JoinRepresents a join in the QuerySpace-sense. In HQL/JP-QL, this would be an implicit/explicit join; in metamodel-driven LoadPlans, this would be joins indicated by the metamodel.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringgetAnyAdditionalJoinConditions(String rhsTableAlias)Gets any additional conditions on the right-hand-side of the join using the specified table alias.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.
-
-
-
方法详细资料
-
getLeftHandSide
QuerySpace getLeftHandSide()
Get theQuerySpacefrom the left-hand-side of the join.- 返回:
- the query space from the left-hand-side of the join.
-
getRightHandSide
QuerySpace getRightHandSide()
Get theQuerySpacefrom the right-hand-side of the join.- 返回:
- the query space from the right-hand-side of the join.
-
isRightHandSideRequired
boolean isRightHandSideRequired()
Indicates if the joined attribute is required to be non-null.- 返回:
- true, if the joined attribute is required to be non-null; false, otherwise.
-
resolveAliasedLeftHandSideJoinConditionColumns
String[] resolveAliasedLeftHandSideJoinConditionColumns(String leftHandSideTableAlias)
Resolves the column names prefixed by the specified alias on the left-hand-side of the join.- 参数:
leftHandSideTableAlias- The table alias used to prefix the columns.- 返回:
- the aliased columns on the left-hand-side of the join.
-
resolveNonAliasedRightHandSideJoinConditionColumns
String[] resolveNonAliasedRightHandSideJoinConditionColumns()
Resolves the raw (unaliased) column names on the right-hand-side of the join.- 返回:
- the columns on the right-hand-side of the join.
-
-