T
- The query builder that is returned on terminal operationspublic interface SelectObjectBuilder<T extends FullQueryBuilder<?,T>>
Modifier and Type | Method | Description |
---|---|---|
T |
end() |
Finishes the select object builder.
|
SelectObjectBuilder<T> |
with(int position,
String expression) |
Like
with(int, java.lang.String, java.lang.String) but without an alias. |
SelectObjectBuilder<T> |
with(int position,
String expression,
String alias) |
Adds the given expression at the given position to the arguments for the select new select clause.
|
SelectObjectBuilder<T> |
with(String expression) |
Like
with(java.lang.String, java.lang.String) but without an alias. |
SelectObjectBuilder<T> |
with(String expression,
String alias) |
Adds the given expression to the arguments for the select new select clause.
|
MultipleSubqueryInitiator<SelectObjectBuilder<T>> |
withSubqueries(int position,
String expression) |
Like
withSubqueries(int,java.lang.String,java.lang.String) but without an alias. |
MultipleSubqueryInitiator<SelectObjectBuilder<T>> |
withSubqueries(int position,
String expression,
String selectAlias) |
Like
withSubqueries(java.lang.String,java.lang.String) but adds the resulting expression to the given position. |
MultipleSubqueryInitiator<SelectObjectBuilder<T>> |
withSubqueries(String expression) |
Like
SelectBuilder.selectSubqueries(java.lang.String,java.lang.String) but without a select alias. |
MultipleSubqueryInitiator<SelectObjectBuilder<T>> |
withSubqueries(String expression,
String selectAlias) |
Starts a
MultipleSubqueryInitiator for a new argument for the select new clause with the given select alias. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery() |
Like
withSubquery(java.lang.String) but without an alias. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(int position) |
Like
withSubquery(int,java.lang.String) but without an alias. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(int position,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
withSubquery(int,java.lang.String,FullQueryBuilder) but without an alias. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(int position,
String alias) |
Like
withSubquery(java.lang.String) but adds the resulting subquery expression to the given position. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(int position,
String alias,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
withSubquery(java.lang.String,FullQueryBuilder) but adds the resulting subquery expression to the given position. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(int position,
String subqueryAlias,
String expression) |
Like
withSubquery(java.lang.String,java.lang.String,java.lang.String) but adds the resulting subquery expression to the given position. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(int position,
String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder) but adds the resulting subquery expression to the given position. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(int position,
String subqueryAlias,
String expression,
String selectAlias) |
Like
withSubquery(java.lang.String,java.lang.String,java.lang.String) but adds the resulting subquery expression to the given position. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(int position,
String subqueryAlias,
String expression,
String selectAlias,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder) but adds the resulting subquery expression to the given position. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(FullQueryBuilder<?,?> criteriaBuilder) |
Like
withSubquery(java.lang.String, FullQueryBuilder) but without an alias. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(String alias) |
Starts a subquery builder which allows the result of the specified subquery
to be passed as argument to the select new clause.
|
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(String alias,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder which allows the result of the specified subquery
to be passed as argument to the select new clause. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(String subqueryAlias,
String expression) |
Like
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String) but without a select alias. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder) but without a select alias. |
SubqueryInitiator<SelectObjectBuilder<T>> |
withSubquery(String subqueryAlias,
String expression,
String selectAlias) |
Starts a
SubqueryInitiator for a new argument for the select new clause with the given select alias. |
SubqueryBuilder<SelectObjectBuilder<T>> |
withSubquery(String subqueryAlias,
String expression,
String selectAlias,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for a new argument for the select new clause with the given select alias. |
SubqueryInitiator<SelectObjectBuilder<T>> withSubquery()
withSubquery(java.lang.String)
but without an alias.SubqueryInitiator<SelectObjectBuilder<T>> withSubquery(String alias)
alias
- The alias for the subquerySubqueryInitiator<SelectObjectBuilder<T>> withSubquery(String subqueryAlias, String expression, String selectAlias)
SubqueryInitiator
for a new argument for the select new clause with the given select alias.
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the builder
finishes, the select item is added to the parent container represented by the type X
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.
This expression contains the subqueryAlias
to define the insertion points for the subquery.selectAlias
- The select alias for the expressionSubqueryInitiator<SelectObjectBuilder<T>> withSubquery(String subqueryAlias, String expression)
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String)
but without a select alias.subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select itemMultipleSubqueryInitiator<SelectObjectBuilder<T>> withSubqueries(String expression, String selectAlias)
MultipleSubqueryInitiator
for a new argument for the select new clause with the given select alias.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the select item is added to the parent container represented by the type X
.
expression
- The expression which will be added as select item.
This expression contains the subqueryAlias
to define the insertion points for the subquery.selectAlias
- The select alias for the expressionMultipleSubqueryInitiator<SelectObjectBuilder<T>> withSubqueries(String expression)
SelectBuilder.selectSubqueries(java.lang.String,java.lang.String)
but without a select alias.expression
- The expression which will be added as select itemSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(FullQueryBuilder<?,?> criteriaBuilder)
withSubquery(java.lang.String, FullQueryBuilder)
but without an alias.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(String alias, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder which allows the result of the specified subquery
to be passed as argument to the select new clause.alias
- The alias for the subquerycriteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(String subqueryAlias, String expression, String selectAlias, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for a new argument for the select new clause with the given select alias.
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the builder
finishes, the select item is added to the parent container represented by the type X
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.
This expression contains the subqueryAlias
to define the insertion points for the subquery.selectAlias
- The select alias for the expressioncriteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)
but without a select alias.subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select itemcriteriaBuilder
- The criteria builder to base the subquery onSelectObjectBuilder<T> with(String expression)
with(java.lang.String, java.lang.String)
but without an alias.expression
- The expression to addSelectObjectBuilder<T> with(String expression, String alias)
expression
- The expression to addalias
- The alias for the expressionIllegalStateException
- Is thrown when the argument position is already takenSelectObjectBuilder<T> with(int position, String expression)
with(int, java.lang.String, java.lang.String)
but without an alias.position
- The position at which the expression should be addedexpression
- The expression to addSelectObjectBuilder<T> with(int position, String expression, String alias)
position
- The position at which the expression should be addedexpression
- The expression to addalias
- The alias for the expressionIllegalStateException
- Is thrown when the argument position is already takenSubqueryInitiator<SelectObjectBuilder<T>> withSubquery(int position)
withSubquery(int,java.lang.String)
but without an alias.position
- The position at which the expression should be addedSubqueryInitiator<SelectObjectBuilder<T>> withSubquery(int position, String alias)
withSubquery(java.lang.String)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedalias
- The alias for the subquerySubqueryInitiator<SelectObjectBuilder<T>> withSubquery(int position, String subqueryAlias, String expression, String selectAlias)
withSubquery(java.lang.String,java.lang.String,java.lang.String)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedsubqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.selectAlias
- The select alias for the expressionSubqueryInitiator<SelectObjectBuilder<T>> withSubquery(int position, String subqueryAlias, String expression)
withSubquery(java.lang.String,java.lang.String,java.lang.String)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedsubqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.MultipleSubqueryInitiator<SelectObjectBuilder<T>> withSubqueries(int position, String expression, String selectAlias)
withSubqueries(java.lang.String,java.lang.String)
but adds the resulting expression to the given position.position
- The position at which the expression should be addedexpression
- The expression which will be added as select item.selectAlias
- The select alias for the expressionMultipleSubqueryInitiator<SelectObjectBuilder<T>> withSubqueries(int position, String expression)
withSubqueries(int,java.lang.String,java.lang.String)
but without an alias.position
- The position at which the expression should be addedexpression
- The expression which will be added as select item.SubqueryBuilder<SelectObjectBuilder<T>> withSubquery(int position, FullQueryBuilder<?,?> criteriaBuilder)
withSubquery(int,java.lang.String,FullQueryBuilder)
but without an alias.position
- The position at which the expression should be addedcriteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(int position, String alias, FullQueryBuilder<?,?> criteriaBuilder)
withSubquery(java.lang.String,FullQueryBuilder)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedalias
- The alias for the subquerycriteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(int position, String subqueryAlias, String expression, String selectAlias, FullQueryBuilder<?,?> criteriaBuilder)
withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedsubqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.selectAlias
- The select alias for the expressioncriteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<SelectObjectBuilder<T>> withSubquery(int position, String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)
but adds the resulting subquery expression to the given position.position
- The position at which the expression should be addedsubqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item.criteriaBuilder
- The criteria builder to base the subquery onT end()
Copyright © 2014–2018 Blazebit. All rights reserved.