T
- The concrete builder typepublic interface BaseWhereBuilder<T extends BaseWhereBuilder<T>>
Modifier and Type | Method and Description |
---|---|
RestrictionBuilder<T> |
where(String expression)
Starts a
RestrictionBuilder for a where predicate with the given expression as left hand expression. |
CaseWhenStarterBuilder<RestrictionBuilder<T>> |
whereCase()
Starts a
CaseWhenBuilder for a where predicate. |
SubqueryInitiator<T> |
whereExists()
Starts an exists predicate for the where clause with a subquery on the right hand side.
|
SubqueryInitiator<T> |
whereNotExists()
Starts an not exists predicate for the where clause with a subquery on the right hand side.
|
SimpleCaseWhenStarterBuilder<RestrictionBuilder<T>> |
whereSimpleCase(String expression)
Starts a
SimpleCaseWhenBuilder for a where predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
whereSubquery()
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
whereSubquery(String subqueryAlias,
String expression)
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> whereSubquery()
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>> whereSubquery(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.RestrictionBuilder<T> where(String expression)
RestrictionBuilder
for a where 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 where predicateCaseWhenStarterBuilder<RestrictionBuilder<T>> whereCase()
CaseWhenBuilder
for a where 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>> whereSimpleCase(String expression)
SimpleCaseWhenBuilder
for a where 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> whereExists()
T
.SubqueryInitiator<T> whereNotExists()
T
.Copyright © 2015 Blazebit. All Rights Reserved.