T
- The concrete builder typepublic interface BaseHavingBuilder<T extends BaseHavingBuilder<T>>
Modifier and Type | Method and Description |
---|---|
RestrictionBuilder<T> |
having(String expression)
Starts a
RestrictionBuilder for a having predicate with the given expression as left hand expression. |
CaseWhenStarterBuilder<RestrictionBuilder<T>> |
havingCase()
Starts a
CaseWhenBuilder for a where predicate. |
SubqueryInitiator<T> |
havingExists()
Starts an exists predicate for the having clause with a subquery on the right hand side.
|
SubqueryInitiator<T> |
havingNotExists()
Starts an exists predicate for the having clause with a subquery on the right hand side.
|
SimpleCaseWhenStarterBuilder<RestrictionBuilder<T>> |
havingSimpleCase(String expression)
Starts a
SimpleCaseWhenBuilder for a where predicate. |
MultipleSubqueryInitiator<RestrictionBuilder<T>> |
havingSubqueries(String expression)
Starts a
MultipleSubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
havingSubquery()
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> |
havingSubquery(String subqueryAlias,
String expression)
Starts a
SubqueryInitiator for the left hand side of a predicate. |
SubqueryInitiator<RestrictionBuilder<T>> havingSubquery()
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>> havingSubquery(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 predicateMultipleSubqueryInitiator<RestrictionBuilder<T>> havingSubqueries(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 predicateRestrictionBuilder<T> having(String expression)
RestrictionBuilder
for a having 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 predicateCaseWhenStarterBuilder<RestrictionBuilder<T>> havingCase()
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>> havingSimpleCase(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> havingExists()
T
.SubqueryInitiator<T> havingNotExists()
T
.Copyright © 2016 Blazebit. All Rights Reserved.