Deprecated
as a consequence of ConditionProvider being deprecated. See corresponding docs for further information.
SELECT statement (model API).
This type is the model API representation of a Select statement,
which can be mutated after creation. The advantage of this API compared to
the DSL API is a more simple approach to writing dynamic SQL.
Instances can be created using DSLContext#selectQuery() and overloads.
| Modifier and Type | Method and Description |
|---|---|
| public void | addConditions(Condition
The condition condition)Redeclares org.
Deprecated
as a consequence of
Adds a new condition to the query, connecting them to existing
conditions with Condition being deprecated.
Operator#AND.
|
| public void | addConditions(Condition...
The condition conditions)Redeclares org.
Deprecated
as a consequence of
Adds new conditions to the query, connecting them to existing
conditions with Condition being deprecated.
Operator#AND.
|
| public void | addConditions(Collection<? extends Condition>
The condition conditions)Redeclares org. Operator#AND.
|
| public void | addConditions(Operator operator, Condition
The condition condition)Redeclares org.
Deprecated
as a consequence of
Adds a new condition to the query, connecting them to existing
conditions with the provided operator.
Condition being deprecated.
|
| public void | addConditions(Operator operator, Condition...
The condition conditions)Redeclares org.
Deprecated
as a consequence of
Adds new conditions to the query, connecting them to existing
conditions with the provided operator.
Condition being deprecated.
|
| public void | addConditions(Operator operator, Collection<? extends Condition>
The condition conditions)Redeclares org. |
| public void | addDistinctOn(SelectFieldOrAsterisk... fields)
Add a PostgreSQL-specific |
| public void | addDistinctOn(Collection<? extends SelectFieldOrAsterisk> fields)
Add a PostgreSQL-specific |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | addHaving(Condition
The condition condition)
Deprecated
as a consequence of
Adds a new condition to the having clause of the query, connecting it
with each other with Condition being deprecated.
Operator#AND.
|
| public void | addHaving(Condition...
The condition conditions)
Deprecated
as a consequence of
Adds new conditions to the having clause of the query, connecting them
with each other with Condition being deprecated.
Operator#AND.
|
| public void | addHaving(Collection<? extends Condition>
The condition conditions)Adds new conditions to the having clause of the query, connecting them
with each other with |
| public void | |
| public void | |
| public void | addHaving(Operator
The operator to use to add the conditions to the existing
conditions operator, Collection<? extends Condition> The condition conditions)Adds new conditions to the having clause of query, connecting them with
each other with |
| public void | |
| public void | addJoin(TableLike<?>
The joined table table, Condition The joining condition condition)
Deprecated
as a consequence of
Joins the existing table product to a new table using a condition,
connecting them with each other with Condition being deprecated.
Operator#AND.
|
| public void | addJoin(TableLike<?>
The joined table table, Condition... The joining conditions conditions)
Deprecated
as a consequence of
Joins the existing table product to a new table using a condition,
connecting them with each other with Condition being deprecated.
Operator#AND.
|
| public void | |
| public void | |
| public void | addJoinOnKey(TableLike<?>
The joined table table, JoinType The type of join type)Joins the existing table product to a new table using a foreign key. |
| public void | addJoinOnKey(TableLike<?>
The joined table table, JoinType The type of join type, TableField<?, ?>... The foreign key fields keyFields)
Deprecated
as a consequence of
Joins the existing table product to a new table using a foreign key.
TableField being deprecated.
|
| public void | addJoinOnKey(TableLike<?>
The joined table table, JoinType The type of join type, ForeignKey<?, ?> The foreign key key)Joins the existing table product to a new table using a foreign key. |
| public void | addJoinUsing(TableLike<?>
The joined table table, Collection<? extends Field<?>> The fields for the fields)USING clauseJoins the existing table product to a new table with a |
| public void | addJoinUsing(TableLike<?>
The joined table table, JoinType The type of join type, Collection<? extends Field<?>> The fields for the fields)USING clauseJoins the existing table product to a new table with a |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | addQualify(Condition
The condition condition)
Deprecated
as a consequence of
Adds a new condition to the qualify clause of the query, connecting it
with each other with Condition being deprecated.
Operator#AND.
|
| public void | addQualify(Condition...
The condition conditions)
Deprecated
as a consequence of
Adds new conditions to the qualify clause of the query, connecting them
with each other with Condition being deprecated.
Operator#AND.
|
| public void | addQualify(Collection<? extends Condition>
The condition conditions)Adds new conditions to the qualify clause of the query, connecting them
with each other with |
| public void | addQualify(Operator
The operator to use to add the conditions to the existing
conditions operator, Condition The condition condition)
Deprecated
as a consequence of
Adds a new condition to the qualify clause of query, connecting it with
each other with Condition being deprecated.
operator.
|
| public void | addQualify(Operator
The operator to use to add the conditions to the existing
conditions operator, Condition... The condition conditions)
Deprecated
as a consequence of
Adds new conditions to the qualify clause of query, connecting them with
each other with Condition being deprecated.
operator.
|
| public void | addQualify(Operator
The operator to use to add the conditions to the existing
conditions operator, Collection<? extends Condition> The condition conditions)Adds new conditions to the qualify clause of query, connecting them with
each other with |
| public void | addSeekAfter(Field<?>...
The seeking fields fields)
Deprecated
as a consequence of
Adds seeking fields.
Field being deprecated.
|
| public void | |
| public void | addSeekBefore(Field<?>...
The seeking fields fields)
Deprecated
- [#7461] - SEEK BEFORE is not implemented correctly
Adds seeking fields.
|
| public void | addSeekBefore(Collection<? extends Field<?>>
The seeking fields fields)
Deprecated
- [#7461] - SEEK BEFORE is not implemented correctly
Adds seeking fields.
|
| public void | |
| public void | |
| public void | addWindow(WindowDefinition...
The definitions definitions)
Deprecated
as a consequence of
Adds new window definitions to the window clause of the query.
WindowDefinition being deprecated.
|
| public void | addWindow(Collection<? extends WindowDefinition>
The definitions definitions)Adds new window definitions to the window clause of the query. |
| public void | |
| public void | |
| public void | setForLockModeNoWait()
Some RDBMS allow for specifying the locking mode for the applied
|
| public void | setForLockModeOf(Field<?>...
The fields that should be locked fields)
Deprecated
as a consequence of
Some RDBMS allow for specifying the fields that should be locked by the
Field being deprecated.
FOR <lock_mode> clause, instead of the full row.
|
| public void | setForLockModeOf(Collection<? extends Field<?>> fields)
Some RDBMS allow for specifying the fields that should be locked by the
|
| public void | setForLockModeOf(Table<?>...
The tables that should be locked tables)Some RDBMS allow for specifying the tables that should be locked by the
|
| public void | setForLockModeSkipLocked()
Some RDBMS allow for specifying the locking mode for the applied
|
| public void | setForLockModeWait(int
The number of seconds to wait for a lock seconds)Some RDBMS allow for specifying the locking mode for the applied
|
| public void | |
| public void | |
| public void | |
| public void | setForUpdateNoWait()
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the locking mode for the applied
setForLockModeNoWait()
FOR UPDATE clause.
|
| public void | setForUpdateOf(Field<?>...
The fields that should be locked fields)
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the fields that should be locked by the
setForLockModeOf(Field.
FOR UPDATE clause, instead of the full row.
|
| public void | setForUpdateOf(Collection<? extends Field<?>> fields)
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the fields that should be locked by the
setForLockModeOf(Collection)
FOR UPDATE clause, instead of the full row.
|
| public void | setForUpdateOf(Table<?>...
The tables that should be locked tables)
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the tables that should be locked by the
setForLockModeOf(Table.
FOR UPDATE clause, instead of the full row.
|
| public void | setForUpdateSkipLocked()
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the locking mode for the applied
setForLockModeSkipLocked()
FOR UPDATE clause.
|
| public void | setForUpdateWait(int
The number of seconds to wait for a lock seconds)
Deprecated
for removal since 3.14. [#5218] - 3.14.0 - Use
Some RDBMS allow for specifying the locking mode for the applied
setForLockModeWait(int)
FOR UPDATE clause.
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |