T
- The concrete builder typeJoinOnAndBuilder<T>
, JoinOnBuilder<T>
, JoinOnOrBuilder<T>
public interface BaseJoinOnBuilder<T extends BaseJoinOnBuilder<T>>
Modifier and Type | Method | Description |
---|---|---|
RestrictionBuilder<T> |
on(String expression) |
Starts a
RestrictionBuilder for an on predicate with the given expression as left hand expression. |
CaseWhenStarterBuilder<RestrictionBuilder<T>> |
onCase() |
Starts a
CaseWhenBuilder for an on predicate. |
SubqueryInitiator<T> |
onExists() |
Starts an exists predicate for the on clause with a subquery on the right hand side.
|
SubqueryBuilder<T> |
onExists(FullQueryBuilder<?,?> criteriaBuilder) |
Starts an exists predicate for the on clause with a subquery on the right hand side based on the given criteria builder.
|
T |
onExpression(String expression) |
Adds the given expression as expression to the on clause.
|
MultipleSubqueryInitiator<T> |
onExpressionSubqueries(String expression) |
Starts a
MultipleSubqueryInitiator for expression of the on clause. |
SubqueryInitiator<T> |
onNotExists() |
Starts an not exists predicate for the on clause with a subquery on the right hand side.
|
SubqueryBuilder<T> |
onNotExists(FullQueryBuilder<?,?> criteriaBuilder) |
Starts an exists predicate for the on clause with a subquery on the right hand side based on the given criteria builder.
|
SimpleCaseWhenStarterBuilder<RestrictionBuilder<T>> |
onSimpleCase(String expression) |
Starts a
SimpleCaseWhenBuilder for an on predicate. |
MultipleSubqueryInitiator<RestrictionBuilder<T>> |
onSubqueries(String expression) |
Starts a
MultipleSubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
onSubquery() |
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryBuilder<RestrictionBuilder<T>> |
onSubquery(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
onSubquery(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryBuilder<RestrictionBuilder<T>> |
onSubquery(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the left hand side of a predicate. |
RestrictionBuilder<T> on(String expression)
RestrictionBuilder
for an on predicate with the given expression as left hand expression.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.expression
- The left hand expression for a having predicateSubqueryInitiator<RestrictionBuilder<T>> onSubquery()
SubqueryInitiator
for the left hand side of a predicate.
When the subquery builder and the restriction builder for the right hand side are finished, the predicate is added to the
parent predicate container represented by the type T
.SubqueryInitiator<RestrictionBuilder<T>> onSubquery(String subqueryAlias, String expression)
SubqueryInitiator
for the left hand side of a predicate.
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the subquery
builder and the restriction builder for the right hand side are finished, the predicate is added to the parent predicate
container represented by the type T
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<RestrictionBuilder<T>> onSubqueries(String expression)
MultipleSubqueryInitiator
for the left hand side of a predicate.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the resulting expression is used for the left hand side of the predicate.
expression
- The expression which will be used as left hand side of a predicateSubqueryBuilder<RestrictionBuilder<T>> onSubquery(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the left hand side of a predicate.
When the subquery builder and the restriction builder for the right hand side are finished, the predicate is added to the
parent predicate container represented by the type T
.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<RestrictionBuilder<T>> onSubquery(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the left hand side of a predicate. All occurrences of subqueryAlias
in
expression
will be replaced by the subquery.
When the subquery builder and the restriction builder for the right hand side are finished, the predicate is added to the
parent predicate container represented by the type T
.subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicatecriteriaBuilder
- The criteria builder to base the subquery onT onExpression(String expression)
expression
- The on expressionMultipleSubqueryInitiator<T> onExpressionSubqueries(String expression)
MultipleSubqueryInitiator
for expression of the on clause.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the resulting expression is added as expression to the on clause.
expression
- The on expressionCaseWhenStarterBuilder<RestrictionBuilder<T>> onCase()
CaseWhenBuilder
for an on predicate.
When the CaseWhenBuilder
and the restriction builder for the right hand side are finished,
the predicate is added to the parent predicate container represented by the type T
.CaseWhenBuilder
SimpleCaseWhenStarterBuilder<RestrictionBuilder<T>> onSimpleCase(String expression)
SimpleCaseWhenBuilder
for an on predicate.
When the CaseWhenBuilder
and the restriction builder for the right hand side are finished,
the predicate is added to the parent predicate container represented by the type T
.expression
- Case operand expressionCaseWhenBuilder
SubqueryInitiator<T> onExists()
T
.SubqueryInitiator<T> onNotExists()
T
.SubqueryBuilder<T> onExists(FullQueryBuilder<?,?> criteriaBuilder)
T
.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> onNotExists(FullQueryBuilder<?,?> criteriaBuilder)
T
.criteriaBuilder
- The criteria builder to base the subquery onCopyright © 2014–2019 Blazebit. All rights reserved.