public interface DSLContext extends Scope, java.lang.AutoCloseable
org.jooq
interfaces.
Apart from the DSL
, this contextual DSL is the main entry point
for client code, to access jOOQ classes and functionality that are related to
Query
execution. Unlike objects created through the
DSL
type, objects created from a DSLContext
will be
"attached" to the DSLContext
's Scope.configuration()
, such
that they can be executed immediately in a fluent style. An example is given
here:
DSLContext create = DSL.using(connection, dialect);
// Immediately fetch results after constructing a query
create.selectFrom(MY_TABLE).where(MY_TABLE.ID.eq(1)).fetch();
// The above is equivalent to this "non-fluent" style
create.fetch(DSL.selectFrom(MY_TABLE).where(MY_TABLE.ID.eq(1)));
The DSL
provides convenient constructors to create a
Configuration
, which will be shared among all Query
objects thus created. Optionally, you can pass a reusable
Configuration
to the DSL.using(Configuration)
constructor. Please consider thread-safety concerns documented in
Configuration
, should you want to reuse the same
Configuration
instance in various threads and / or transactions.
DSL
,
Configuration
Modifier and Type | Method and Description |
---|---|
AlterIndexStep |
alterIndex(Index index)
Create a new DSL
ALTER INDEX statement. |
AlterIndexStep |
alterIndex(Name index)
Create a new DSL
ALTER INDEX statement. |
AlterIndexStep |
alterIndex(java.lang.String index)
Create a new DSL
ALTER INDEX statement. |
AlterIndexStep |
alterIndexIfExists(Index index)
Create a new DSL
ALTER INDEX statement. |
AlterIndexStep |
alterIndexIfExists(Name index)
Create a new DSL
ALTER INDEX statement. |
AlterIndexStep |
alterIndexIfExists(java.lang.String index)
Create a new DSL
ALTER INDEX statement. |
AlterSchemaStep |
alterSchema(Name schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSchemaStep |
alterSchema(Schema schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSchemaStep |
alterSchema(java.lang.String schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSchemaStep |
alterSchemaIfExists(Name schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSchemaStep |
alterSchemaIfExists(Schema schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSchemaStep |
alterSchemaIfExists(java.lang.String schema)
Create a new DSL
ALTER SCHEMA statement. |
AlterSequenceStep<java.math.BigInteger> |
alterSequence(Name sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends java.lang.Number> |
alterSequence(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
AlterSequenceStep<java.math.BigInteger> |
alterSequence(java.lang.String sequence)
Create a new DSL
ALTER SEQUENCE statement. |
AlterSequenceStep<java.math.BigInteger> |
alterSequenceIfExists(Name sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends java.lang.Number> |
alterSequenceIfExists(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
AlterSequenceStep<java.math.BigInteger> |
alterSequenceIfExists(java.lang.String sequence)
Create a new DSL
ALTER SEQUENCE statement. |
AlterTableStep |
alterTable(Name table)
Create a new DSL
ALTER TABLE statement. |
AlterTableStep |
alterTable(java.lang.String table)
Create a new DSL
ALTER TABLE statement. |
AlterTableStep |
alterTable(Table<?> table)
Create a new DSL
ALTER TABLE statement. |
AlterTableStep |
alterTableIfExists(Name table)
Create a new DSL
ALTER TABLE statement. |
AlterTableStep |
alterTableIfExists(java.lang.String table)
Create a new DSL
ALTER TABLE statement. |
AlterTableStep |
alterTableIfExists(Table<?> table)
Create a new DSL
ALTER TABLE statement. |
AlterViewStep |
alterView(Name view)
Create a new DSL
ALTER VIEW statement. |
AlterViewStep |
alterView(java.lang.String view)
Create a new DSL
ALTER VIEW statement. |
AlterViewStep |
alterView(Table<?> view)
Create a new DSL
ALTER VIEW statement. |
AlterViewStep |
alterViewIfExists(Name view)
Create a new DSL
ALTER VIEW statement. |
AlterViewStep |
alterViewIfExists(java.lang.String view)
Create a new DSL
ALTER VIEW statement. |
AlterViewStep |
alterViewIfExists(Table<?> view)
Create a new DSL
ALTER VIEW statement. |
void |
attach(Attachable... attachables)
Attach this
DSLContext 's underlying Scope.configuration()
to some attachables. |
void |
attach(java.util.Collection<? extends Attachable> attachables)
Attach this
DSLContext 's underlying Scope.configuration()
to some attachables. |
Batch |
batch(java.util.Collection<? extends Query> queries)
Create a batch statement to execute a set of queries in batch mode
(without bind values).
|
Batch |
batch(Queries queries)
Create a batch statement to execute a set of queries in batch mode
(without bind values).
|
Batch |
batch(Query... queries)
Create a batch statement to execute a set of queries in batch mode
(without bind values).
|
BatchBindStep |
batch(Query query)
Create a batch statement to execute a set of queries in batch mode (with
bind values).
|
Batch |
batch(Query query,
java.lang.Object[]... bindings)
Create a batch statement to execute a set of queries in batch mode (with
bind values).
|
Batch |
batch(java.lang.String... queries)
Create a batch statement to execute a set of queries in batch mode
(without bind values).
|
BatchBindStep |
batch(java.lang.String sql)
Create a batch statement to execute a set of queries in batch mode (with
bind values).
|
Batch |
batch(java.lang.String sql,
java.lang.Object[]... bindings)
Create a batch statement to execute a set of queries in batch mode (with
bind values).
|
Batch |
batchDelete(java.util.Collection<? extends UpdatableRecord<?>> records)
Create a batch statement to execute a set of
DELETE queries
in batch mode (with bind values) according to
UpdatableRecord.delete() sematics. |
Batch |
batchDelete(UpdatableRecord<?>... records)
Create a batch statement to execute a set of
DELETE queries
in batch mode (with bind values) according to
UpdatableRecord.delete() sematics. |
Batch |
batchInsert(java.util.Collection<? extends TableRecord<?>> records)
Create a batch statement to execute a set of
INSERT queries
in batch mode (with bind values) according to
TableRecord.insert() semantics. |
Batch |
batchInsert(TableRecord<?>... records)
Create a batch statement to execute a set of
INSERT queries
in batch mode (with bind values) according to
TableRecord.insert() semantics. |
Batch |
batchStore(java.util.Collection<? extends UpdatableRecord<?>> records)
Create a batch statement to execute a set of
INSERT and
UPDATE queries in batch mode (with bind values) according to
UpdatableRecord.store() semantics. |
Batch |
batchStore(UpdatableRecord<?>... records)
Create a batch statement to execute a set of
INSERT and
UPDATE queries in batch mode (with bind values) according to
UpdatableRecord.store() semantics. |
Batch |
batchUpdate(java.util.Collection<? extends UpdatableRecord<?>> records)
Create a batch statement to execute a set of
UPDATE queries
in batch mode (with bind values) according to
UpdatableRecord.update() semantics. |
Batch |
batchUpdate(UpdatableRecord<?>... records)
Create a batch statement to execute a set of
UPDATE queries
in batch mode (with bind values) according to
UpdatableRecord.update() semantics. |
int |
bind(QueryPart part,
java.sql.PreparedStatement stmt)
Deprecated.
- [#2662] - 3.2.0 - Do not reuse this method. It will be
removed with jOOQ 4.0
|
BindContext |
bindContext(java.sql.PreparedStatement stmt)
Deprecated.
- [#6280] - 3.10 - Do not reuse this method. It will be
completely internal with jOOQ 4.0
|
void |
close()
Close the underlying resources, if any resources have been allocated when
constructing this
DSLContext . |
void |
connection(ConnectionRunnable runnable)
Run a
ConnectionRunnable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.connectionProvider() . |
<T> T |
connectionResult(ConnectionCallable<T> callable)
Run a
ConnectionCallable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.connectionProvider() . |
CreateTableAsStep<Record> |
createGlobalTemporaryTable(Name table)
Create a new DSL
CREATE GLOBAL TEMPORARY TABLE statement. |
CreateTableAsStep<Record> |
createGlobalTemporaryTable(java.lang.String table)
Create a new DSL
CREATE GLOBAL TEMPORARY TABLE statement. |
CreateTableAsStep<Record> |
createGlobalTemporaryTable(Table<?> table)
Create a new DSL
CREATE GLOBAL TEMPORARY TABLE statement. |
CreateIndexStep |
createIndex(Index index)
Create a new DSL
CREATE INDEX statement. |
CreateIndexStep |
createIndex(Name index)
Create a new DSL
CREATE INDEX statement. |
CreateIndexStep |
createIndex(java.lang.String index)
Create a new DSL
CREATE INDEX statement. |
CreateIndexStep |
createIndexIfNotExists(Index index)
Create a new DSL
CREATE INDEX IF NOT EXISTS statement. |
CreateIndexStep |
createIndexIfNotExists(Name index)
Create a new DSL
CREATE INDEX IF NOT EXISTS statement. |
CreateIndexStep |
createIndexIfNotExists(java.lang.String index)
Create a new DSL
CREATE INDEX IF NOT EXISTS statement. |
CreateSchemaFinalStep |
createSchema(Name schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSchemaFinalStep |
createSchema(Schema schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSchemaFinalStep |
createSchema(java.lang.String schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSchemaFinalStep |
createSchemaIfNotExists(Name schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSchemaFinalStep |
createSchemaIfNotExists(Schema schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSchemaFinalStep |
createSchemaIfNotExists(java.lang.String schema)
Create a new DSL
CREATE SCHEMA statement. |
CreateSequenceFinalStep |
createSequence(Name sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
createSequence(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
createSequence(java.lang.String sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
createSequenceIfNotExists(Name sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
createSequenceIfNotExists(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
createSequenceIfNotExists(java.lang.String sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateTableAsStep<Record> |
createTable(Name table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTable(java.lang.String table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTable(Table<?> table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTableIfNotExists(Name table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTableIfNotExists(java.lang.String table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTableIfNotExists(Table<?> table)
Create a new DSL
CREATE TABLE statement. |
CreateTableAsStep<Record> |
createTemporaryTable(Name table)
Create a new DSL
CREATE TEMPORARY TABLE statement. |
CreateTableAsStep<Record> |
createTemporaryTable(java.lang.String table)
Create a new DSL
CREATE TEMPORARY TABLE statement. |
CreateTableAsStep<Record> |
createTemporaryTable(Table<?> table)
Create a new DSL
CREATE TEMPORARY TABLE statement. |
CreateIndexStep |
createUniqueIndex(Index index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateIndexStep |
createUniqueIndex(Name index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateIndexStep |
createUniqueIndex(java.lang.String index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateIndexStep |
createUniqueIndexIfNotExists(Index index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateIndexStep |
createUniqueIndexIfNotExists(Name index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateIndexStep |
createUniqueIndexIfNotExists(java.lang.String index)
Create a new DSL
CREATE UNIQUE INDEX statement. |
CreateViewAsStep<Record> |
createView(Name view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(Name view,
java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(Name view,
Name... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(java.lang.String view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(java.lang.String view,
java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(java.lang.String view,
java.lang.String... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(Table<?> view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(Table<?> view,
Field<?>... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createView(Table<?> view,
java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Name view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Name view,
java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Name view,
Name... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(java.lang.String view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(java.lang.String view,
java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(java.lang.String view,
java.lang.String... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Table<?> view,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Table<?> view,
Field<?>... fields)
Create a new DSL
CREATE VIEW statement. |
CreateViewAsStep<Record> |
createViewIfNotExists(Table<?> view,
java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Create a new DSL
CREATE VIEW statement. |
java.math.BigInteger |
currval(Name sequence)
Convenience method to fetch the CURRVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
<T extends java.lang.Number> |
currval(Sequence<T> sequence)
Convenience method to fetch the CURRVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
java.math.BigInteger |
currval(java.lang.String sequence)
Convenience method to fetch the CURRVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
Queries |
ddl(Catalog catalog)
Generate the complete creation script for the entire catalog.
|
Queries |
ddl(Catalog schema,
DDLFlag... flags)
Generate a partial creation script for the entire catalog.
|
Queries |
ddl(Schema schema)
Generate the complete creation script for the entire schema.
|
Queries |
ddl(Schema schema,
DDLFlag... flags)
Generate a partial creation script for the entire schema.
|
Queries |
ddl(Table<?> table)
Generate the complete creation script for a table.
|
Queries |
ddl(Table<?> table,
DDLFlag... flags)
Generate a partial creation script for a table.
|
<R extends Record> |
delete(Table<R> table)
Create a new DSL delete statement.
|
<R extends Record> |
deleteFrom(Table<R> table)
Create a new DSL delete statement.
|
<R extends Record> |
deleteQuery(Table<R> table)
Create a new
DeleteQuery |
DropIndexOnStep |
dropIndex(Index index)
Create a new DSL
DROP INDEX statement. |
DropIndexOnStep |
dropIndex(Name index)
Create a new DSL
DROP INDEX statement. |
DropIndexOnStep |
dropIndex(java.lang.String index)
Create a new DSL
DROP INDEX statement. |
DropIndexOnStep |
dropIndexIfExists(Index index)
Create a new DSL
DROP INDEX IF EXISTS statement. |
DropIndexOnStep |
dropIndexIfExists(Name index)
Create a new DSL
DROP INDEX IF EXISTS statement. |
DropIndexOnStep |
dropIndexIfExists(java.lang.String index)
Create a new DSL
DROP INDEX IF EXISTS statement. |
DropSchemaStep |
dropSchema(Name schema)
Create a new DSL
DROP SCHEMA statement. |
DropSchemaStep |
dropSchema(Schema schema)
Create a new DSL
DROP SCHEMA statement. |
DropSchemaStep |
dropSchema(java.lang.String schema)
Create a new DSL
DROP SCHEMA statement. |
DropSchemaStep |
dropSchemaIfExists(Name schema)
Create a new DSL
DROP SCHEMA statement. |
DropSchemaStep |
dropSchemaIfExists(Schema schema)
Create a new DSL
DROP SCHEMA statement. |
DropSchemaStep |
dropSchemaIfExists(java.lang.String schema)
Create a new DSL
DROP SCHEMA statement. |
DropSequenceFinalStep |
dropSequence(Name sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
dropSequence(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
dropSequence(java.lang.String sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
dropSequenceIfExists(Name sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
DropSequenceFinalStep |
dropSequenceIfExists(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
DropSequenceFinalStep |
dropSequenceIfExists(java.lang.String sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
DropTableStep |
dropTable(Name table)
Create a new DSL
DROP TABLE statement. |
DropTableStep |
dropTable(java.lang.String table)
Create a new DSL
DROP TABLE statement. |
DropTableStep |
dropTable(Table<?> table)
Create a new DSL
DROP TABLE statement. |
DropTableStep |
dropTableIfExists(Name table)
Create a new DSL
DROP TABLE IF EXISTS statement. |
DropTableStep |
dropTableIfExists(java.lang.String table)
Create a new DSL
DROP TABLE IF EXISTS statement. |
DropTableStep |
dropTableIfExists(Table<?> table)
Create a new DSL
DROP TABLE IF EXISTS statement. |
DropViewFinalStep |
dropView(Name view)
Create a new DSL
DROP VIEW statement. |
DropViewFinalStep |
dropView(java.lang.String view)
Create a new DSL
DROP VIEW statement. |
DropViewFinalStep |
dropView(Table<?> view)
Create a new DSL
DROP VIEW statement. |
DropViewFinalStep |
dropViewIfExists(Name view)
Create a new DSL
DROP VIEW IF EXISTS statement. |
DropViewFinalStep |
dropViewIfExists(java.lang.String view)
Create a new DSL
DROP VIEW IF EXISTS statement. |
DropViewFinalStep |
dropViewIfExists(Table<?> view)
Create a new DSL
DROP VIEW IF EXISTS statement. |
int |
execute(Query query)
Execute a
Query in the context of this DSLContext . |
int |
execute(SQL sql)
Execute a query holding plain SQL.
|
int |
execute(java.lang.String sql)
Execute a query holding plain SQL.
|
int |
execute(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
int |
execute(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<R extends UpdatableRecord<R>> |
executeDelete(R record)
Delete a record from a table.
|
<R extends TableRecord<R>,T> |
executeDelete(R record,
Condition condition)
Delete a record from a table.
|
<R extends TableRecord<R>> |
executeInsert(R record)
Insert one record.
|
<R extends UpdatableRecord<R>> |
executeUpdate(R record)
Update a table.
|
<R extends TableRecord<R>,T> |
executeUpdate(R record,
Condition condition)
Update a table.
|
java.util.List<java.lang.Object> |
extractBindValues(QueryPart part)
Retrieve the bind values that will be bound by a given
QueryPart . |
Param<?> |
extractParam(QueryPart part,
java.lang.String name)
Get a named parameter from a
QueryPart , provided its name. |
java.util.Map<java.lang.String,Param<?>> |
extractParams(QueryPart part)
Get a
Map of named parameters. |
<R extends Record> |
fetch(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
results. |
Result<Record> |
fetch(java.sql.ResultSet rs)
Fetch all data from a JDBC
ResultSet and transform it to a jOOQ
Result . |
Result<Record> |
fetch(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch all data from a JDBC
ResultSet and transform it to a jOOQ
Result . |
Result<Record> |
fetch(java.sql.ResultSet rs,
DataType<?>... types)
Fetch all data from a JDBC
ResultSet and transform it to a jOOQ
Result . |
Result<Record> |
fetch(java.sql.ResultSet rs,
Field<?>... fields)
Fetch all data from a JDBC
ResultSet and transform it to a jOOQ
Result . |
Result<Record> |
fetch(SQL sql)
Execute a new query holding plain SQL.
|
Result<Record> |
fetch(java.lang.String sql)
Execute a new query holding plain SQL.
|
Result<Record> |
fetch(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
Result<Record> |
fetch(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<R extends Record> |
fetch(Table<R> table)
Execute and return all records for
SELECT * FROM [table] . |
<R extends Record> |
fetch(Table<R> table,
Condition condition)
Execute and return all records for
SELECT * FROM [table] WHERE [condition] . |
<R extends Record> |
fetchAny(Table<R> table)
Execute and return zero or one record for
SELECT * FROM [table] LIMIT 1 . |
<R extends Record> |
fetchAny(Table<R> table,
Condition condition)
Execute and return zero or one record for
SELECT * FROM [table] WHERE [condition] LIMIT 1 . |
<R extends Record> |
fetchAsync(java.util.concurrent.Executor executor,
ResultQuery<R> query)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.sql.ResultSet rs)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.sql.ResultSet rs,
DataType<?>... types)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.sql.ResultSet rs,
Field<?>... fields)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
SQL sql)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.lang.String sql)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.lang.String sql,
java.lang.Object... bindings)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.util.concurrent.Executor executor,
java.lang.String sql,
QueryPart... parts)
Fetch results in a new
CompletionStage that is asynchronously
completed by a task running in the given executor. |
<R extends Record> |
fetchAsync(java.util.concurrent.Executor executor,
Table<R> table)
Execute and return all records asynchronously for
SELECT * FROM [table] . |
<R extends Record> |
fetchAsync(java.util.concurrent.Executor executor,
Table<R> table,
Condition condition)
Execute and return all records asynchronously for
SELECT * FROM [table] WHERE [condition] . |
<R extends Record> |
fetchAsync(ResultQuery<R> query)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.sql.ResultSet rs)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.sql.ResultSet rs,
DataType<?>... types)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.sql.ResultSet rs,
Field<?>... fields)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(SQL sql)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.lang.String sql)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.lang.String sql,
java.lang.Object... bindings)
Fetch results in a new
CompletionStage . |
java.util.concurrent.CompletionStage<Result<Record>> |
fetchAsync(java.lang.String sql,
QueryPart... parts)
Fetch results in a new
CompletionStage . |
<R extends Record> |
fetchAsync(Table<R> table)
Execute and return all records asynchronously for
SELECT * FROM [table] . |
<R extends Record> |
fetchAsync(Table<R> table,
Condition condition)
Execute and return all records asynchronously for
SELECT * FROM [table] WHERE [condition] . |
<R extends TableRecord<R>> |
fetchByExample(R example)
Execute a "Query by Example" (QBE) based on an example record.
|
int |
fetchCount(Select<?> query)
|
int |
fetchCount(Table<?> table)
Count the number of records in a table.
|
int |
fetchCount(Table<?> table,
Condition condition)
Count the number of records in a table that satisfy a condition.
|
boolean |
fetchExists(Select<?> query)
Check if a
Select would return any records, if it were executed. |
boolean |
fetchExists(Table<?> table)
Check if a table has any records.
|
boolean |
fetchExists(Table<?> table,
Condition condition)
Check if a table has any records that satisfy a condition.
|
Result<Record> |
fetchFromCSV(java.lang.String string)
Fetch all data from a CSV string.
|
Result<Record> |
fetchFromCSV(java.lang.String string,
boolean header)
Fetch all data from a CSV string.
|
Result<Record> |
fetchFromCSV(java.lang.String string,
boolean header,
char delimiter)
Fetch all data from a CSV string.
|
Result<Record> |
fetchFromCSV(java.lang.String string,
char delimiter)
Fetch all data from a CSV string.
|
Result<Record> |
fetchFromHTML(java.lang.String string)
Convert an HTML table into a jOOQ
Result . |
Result<Record> |
fetchFromJSON(java.lang.String string)
Fetch all data from a JSON string.
|
Result<Record> |
fetchFromStringData(java.util.List<java.lang.String[]> data)
Fetch all data from a list of strings.
|
Result<Record> |
fetchFromStringData(java.util.List<java.lang.String[]> data,
boolean header)
Fetch all data from a list of strings.
|
Result<Record> |
fetchFromStringData(java.lang.String[]... data)
Fetch all data from a list of strings.
|
Result<Record> |
fetchFromTXT(java.lang.String string)
Fetch all data from a formatted string.
|
Result<Record> |
fetchFromTXT(java.lang.String string,
java.lang.String nullLiteral)
Fetch all data from a formatted string.
|
<R extends Record> |
fetchLazy(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a cursor. |
Cursor<Record> |
fetchLazy(java.sql.ResultSet rs)
Wrap a JDBC
ResultSet into a jOOQ Cursor . |
Cursor<Record> |
fetchLazy(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Wrap a JDBC
ResultSet into a jOOQ Cursor . |
Cursor<Record> |
fetchLazy(java.sql.ResultSet rs,
DataType<?>... types)
Wrap a JDBC
ResultSet into a jOOQ Cursor . |
Cursor<Record> |
fetchLazy(java.sql.ResultSet rs,
Field<?>... fields)
Wrap a JDBC
ResultSet into a jOOQ Cursor . |
Cursor<Record> |
fetchLazy(SQL sql)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
Cursor<Record> |
fetchLazy(java.lang.String sql)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
Cursor<Record> |
fetchLazy(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
Cursor<Record> |
fetchLazy(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
<R extends Record> |
fetchLazy(Table<R> table)
Execute and return all records lazily for
SELECT * FROM [table] . |
<R extends Record> |
fetchLazy(Table<R> table,
Condition condition)
Execute and return all records lazily for
SELECT * FROM [table] WHERE [condition] . |
<R extends Record> |
fetchMany(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a cursor. |
Results |
fetchMany(SQL sql)
Execute a new query holding plain SQL, possibly returning several result
sets.
|
Results |
fetchMany(java.lang.String sql)
Execute a new query holding plain SQL, possibly returning several result
sets.
|
Results |
fetchMany(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL, possibly returning several result
sets.
|
Results |
fetchMany(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL, possibly returning several result
sets.
|
<R extends Record> |
fetchOne(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a record. |
Record |
fetchOne(java.sql.ResultSet rs)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchOne(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchOne(java.sql.ResultSet rs,
DataType<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchOne(java.sql.ResultSet rs,
Field<?>... fields)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchOne(SQL sql)
Execute a new query holding plain SQL.
|
Record |
fetchOne(java.lang.String sql)
Execute a new query holding plain SQL.
|
Record |
fetchOne(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
Record |
fetchOne(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<R extends Record> |
fetchOne(Table<R> table)
Execute and return zero or one record for
SELECT * FROM [table] . |
<R extends Record> |
fetchOne(Table<R> table,
Condition condition)
Execute and return zero or one record for
SELECT * FROM [table] WHERE [condition] . |
<R extends Record> |
fetchOptional(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a record. |
java.util.Optional<Record> |
fetchOptional(java.sql.ResultSet rs)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
java.util.Optional<Record> |
fetchOptional(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
java.util.Optional<Record> |
fetchOptional(java.sql.ResultSet rs,
DataType<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
java.util.Optional<Record> |
fetchOptional(java.sql.ResultSet rs,
Field<?>... fields)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
java.util.Optional<Record> |
fetchOptional(SQL sql)
Execute a new query holding plain SQL.
|
java.util.Optional<Record> |
fetchOptional(java.lang.String sql)
Execute a new query holding plain SQL.
|
java.util.Optional<Record> |
fetchOptional(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
java.util.Optional<Record> |
fetchOptional(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<R extends Record> |
fetchOptional(Table<R> table)
Execute and return zero or one record for
SELECT * FROM [table] . |
<R extends Record> |
fetchOptional(Table<R> table,
Condition condition)
Execute and return zero or one record for
SELECT * FROM [table] WHERE [condition] . |
<T,R extends Record1<T>> |
fetchOptionalValue(ResultQuery<R> query)
Execute a
ResultQuery in the context of this
DSLContext and return a single value. |
java.util.Optional<?> |
fetchOptionalValue(java.sql.ResultSet rs)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> java.util.Optional<T> |
fetchOptionalValue(java.sql.ResultSet rs,
java.lang.Class<T> type)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> java.util.Optional<T> |
fetchOptionalValue(java.sql.ResultSet rs,
DataType<T> type)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> java.util.Optional<T> |
fetchOptionalValue(java.sql.ResultSet rs,
Field<T> field)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
java.util.Optional<?> |
fetchOptionalValue(SQL sql)
Execute a new query holding plain SQL.
|
java.util.Optional<?> |
fetchOptionalValue(java.lang.String sql)
Execute a new query holding plain SQL.
|
java.util.Optional<?> |
fetchOptionalValue(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
java.util.Optional<?> |
fetchOptionalValue(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<T> java.util.Optional<T> |
fetchOptionalValue(TableField<?,T> field)
Execute a
ResultQuery in the context of this
DSLContext and return a single value. |
<R extends Record> |
fetchSingle(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a record. |
Record |
fetchSingle(java.sql.ResultSet rs)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchSingle(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchSingle(java.sql.ResultSet rs,
DataType<?>... types)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchSingle(java.sql.ResultSet rs,
Field<?>... fields)
Fetch a record from a JDBC
ResultSet and transform it to a jOOQ
Record . |
Record |
fetchSingle(SQL sql)
Execute a new query holding plain SQL.
|
Record |
fetchSingle(java.lang.String sql)
Execute a new query holding plain SQL.
|
Record |
fetchSingle(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
Record |
fetchSingle(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<R extends Record> |
fetchSingle(Table<R> table)
Execute and return exactly one record for
SELECT * FROM [table] . |
<R extends Record> |
fetchSingle(Table<R> table,
Condition condition)
Execute and return exactly one record for
SELECT * FROM [table] WHERE [condition] . |
<R extends Record> |
fetchStream(ResultQuery<R> query)
Execute a
ResultQuery in the context of this DSLContext and return
a stream. |
java.util.stream.Stream<Record> |
fetchStream(java.sql.ResultSet rs)
Wrap a JDBC
ResultSet into a jOOQ Stream . |
java.util.stream.Stream<Record> |
fetchStream(java.sql.ResultSet rs,
java.lang.Class<?>... types)
Wrap a JDBC
ResultSet into a jOOQ Stream . |
java.util.stream.Stream<Record> |
fetchStream(java.sql.ResultSet rs,
DataType<?>... types)
Wrap a JDBC
ResultSet into a jOOQ Stream . |
java.util.stream.Stream<Record> |
fetchStream(java.sql.ResultSet rs,
Field<?>... fields)
Wrap a JDBC
ResultSet into a jOOQ Stream . |
java.util.stream.Stream<Record> |
fetchStream(SQL sql)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
java.util.stream.Stream<Record> |
fetchStream(java.lang.String sql)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
java.util.stream.Stream<Record> |
fetchStream(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
java.util.stream.Stream<Record> |
fetchStream(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL and "lazily" return the generated
result.
|
<R extends Record> |
fetchStream(Table<R> table)
Execute and return all records lazily for
SELECT * FROM [table] . |
<R extends Record> |
fetchStream(Table<R> table,
Condition condition)
Execute and return all records lazily for
SELECT * FROM [table] WHERE [condition] . |
<T,R extends Record1<T>> |
fetchValue(ResultQuery<R> query)
Execute a
ResultQuery in the context of this
DSLContext and return a single value. |
java.lang.Object |
fetchValue(java.sql.ResultSet rs)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> T |
fetchValue(java.sql.ResultSet rs,
java.lang.Class<T> type)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> T |
fetchValue(java.sql.ResultSet rs,
DataType<T> type)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
<T> T |
fetchValue(java.sql.ResultSet rs,
Field<T> field)
Fetch a record from a JDBC
ResultSet and return the only
contained value. |
java.lang.Object |
fetchValue(SQL sql)
Execute a new query holding plain SQL.
|
java.lang.Object |
fetchValue(java.lang.String sql)
Execute a new query holding plain SQL.
|
java.lang.Object |
fetchValue(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
java.lang.Object |
fetchValue(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<T> T |
fetchValue(TableField<?,T> field)
Execute a
ResultQuery in the context of this
DSLContext and return a single value. |
<T,R extends Record1<T>> |
fetchValues(ResultQuery<R> query)
Execute a
ResultQuery in the context of this
DSLContext and return all values for the only column. |
java.util.List<?> |
fetchValues(java.sql.ResultSet rs)
Fetch a result from a JDBC
ResultSet and return the only
contained column's values. |
<T> java.util.List<T> |
fetchValues(java.sql.ResultSet rs,
java.lang.Class<T> type)
Fetch a result from a JDBC
ResultSet and return the only
contained column's values. |
<T> java.util.List<T> |
fetchValues(java.sql.ResultSet rs,
DataType<T> type)
Fetch a result from a JDBC
ResultSet and return the only
contained column's values. |
<T> java.util.List<T> |
fetchValues(java.sql.ResultSet rs,
Field<T> field)
Fetch a result from a JDBC
ResultSet and return the only
contained column's values. |
java.util.List<?> |
fetchValues(SQL sql)
Execute a new query holding plain SQL.
|
java.util.List<?> |
fetchValues(java.lang.String sql)
Execute a new query holding plain SQL.
|
java.util.List<?> |
fetchValues(java.lang.String sql,
java.lang.Object... bindings)
Execute a new query holding plain SQL.
|
java.util.List<?> |
fetchValues(java.lang.String sql,
QueryPart... parts)
Execute a new query holding plain SQL.
|
<T> java.util.List<T> |
fetchValues(TableField<?,T> field)
Fetch all values in a given
Table 's TableField . |
InformationSchema |
informationSchema(Catalog... catalogs)
Export a set of catalogs to the
InformationSchema format. |
InformationSchema |
informationSchema(Catalog catalog)
Export a catalog to the
InformationSchema format. |
InformationSchema |
informationSchema(Schema... schemas)
Export a set of schemas to the
InformationSchema format. |
InformationSchema |
informationSchema(Schema schema)
Export a schema to the
InformationSchema format. |
InformationSchema |
informationSchema(Table<?>... table)
Export a set of tables to the
InformationSchema format. |
InformationSchema |
informationSchema(Table<?> table)
Export a table to the
InformationSchema format. |
<R extends Record> |
insertInto(Table<R> into)
Create a new DSL insert statement.
|
<R extends Record> |
insertInto(Table<R> into,
java.util.Collection<? extends Field<?>> fields)
Create a new DSL insert statement.
|
<R extends Record> |
insertInto(Table<R> into,
Field<?>... fields)
Create a new DSL insert statement.
|
<R extends Record,T1> |
insertInto(Table<R> into,
Field<T1> field1)
Create a new DSL insert statement.
|
<R extends Record,T1,T2> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21)
Create a new DSL insert statement.
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21,
Field<T22> field22)
Create a new DSL insert statement.
|
<R extends Record> |
insertQuery(Table<R> into)
Create a new
InsertQuery |
java.math.BigInteger |
lastID()
Retrieve the last inserted ID.
|
<R extends Record> |
loadInto(Table<R> table)
Create a new
Loader object to load data from a CSV or XML
source. |
Schema |
map(Schema schema)
Map a schema to another one.
|
<R extends Record> |
map(Table<R> table)
Map a table to another one.
|
<R extends Record> |
mergeInto(Table<R> table)
Create a new DSL SQL standard MERGE statement.
|
<R extends Record> |
mergeInto(Table<R> table,
java.util.Collection<? extends Field<?>> fields)
Create a new DSL merge statement (H2-specific syntax).
|
<R extends Record> |
mergeInto(Table<R> table,
Field<?>... fields)
|
<R extends Record,T1> |
mergeInto(Table<R> table,
Field<T1> field1)
|
<R extends Record,T1,T2> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2)
|
<R extends Record,T1,T2,T3> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
|
<R extends Record,T1,T2,T3,T4> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
|
<R extends Record,T1,T2,T3,T4,T5> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
|
<R extends Record,T1,T2,T3,T4,T5,T6> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21)
|
<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21,
Field<T22> field22)
|
Meta |
meta()
Access the database meta data.
|
Meta |
meta(InformationSchema schema)
Access the databse meta data from its serialised form.
|
void |
mock(MockDataProvider provider,
MockRunnable mockable)
Run a
MockRunnable in the context of this DSLContext
's underlying Scope.configuration() 's, and of a
MockDataProvider . |
<T> T |
mockResult(MockDataProvider provider,
MockCallable<T> mockable)
Run a
MockRunnable in the context of this DSLContext
's underlying Scope.configuration() 's, and of a
MockDataProvider and return the mockable 's outcome. |
Record |
newRecord(Field<?>... fields)
Create a new empty
Record . |
<T1> Record1<T1> |
newRecord(Field<T1> field1)
Create a new empty
Record . |
<T1,T2> Record2<T1,T2> |
newRecord(Field<T1> field1,
Field<T2> field2)
Create a new empty
Record . |
<T1,T2,T3> Record3<T1,T2,T3> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a new empty
Record . |
<T1,T2,T3,T4> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Create a new empty
Record . |
<T1,T2,T3,T4,T5> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21)
Create a new empty
Record . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
newRecord(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21,
Field<T22> field22)
Create a new empty
Record . |
<R extends Record> |
newRecord(Table<R> table)
Create a new
Record that can be inserted into the corresponding
table. |
<R extends Record> |
newRecord(Table<R> table,
java.lang.Object source)
Create a new pre-filled
Record that can be inserted into the
corresponding table. |
<R extends UDTRecord<R>> |
newRecord(UDT<R> type)
Create a new
UDTRecord . |
Result<Record> |
newResult(Field<?>... fields)
Create a new empty
Record . |
<T1> Result<Record1<T1>> |
newResult(Field<T1> field1)
Create a new empty
Result . |
<T1,T2> Result<Record2<T1,T2>> |
newResult(Field<T1> field1,
Field<T2> field2)
Create a new empty
Result . |
<T1,T2,T3> Result<Record3<T1,T2,T3>> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a new empty
Result . |
<T1,T2,T3,T4> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Create a new empty
Result . |
<T1,T2,T3,T4,T5> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21)
Create a new empty
Result . |
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
newResult(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8,
Field<T9> field9,
Field<T10> field10,
Field<T11> field11,
Field<T12> field12,
Field<T13> field13,
Field<T14> field14,
Field<T15> field15,
Field<T16> field16,
Field<T17> field17,
Field<T18> field18,
Field<T19> field19,
Field<T20> field20,
Field<T21> field21,
Field<T22> field22)
Create a new empty
Result . |
<R extends Record> |
newResult(Table<R> table)
Create a new empty
Result . |
java.math.BigInteger |
nextval(Name sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
<T extends java.lang.Number> |
nextval(Sequence<T> sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
java.math.BigInteger |
nextval(java.lang.String sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
Parser |
parser()
Access the parser API.
|
java.sql.Connection |
parsingConnection()
A JDBC connection that runs each statement through the
parser()
first, prior to re-generating and running the SQL. |
Queries |
queries(java.util.Collection<? extends Query> queries)
Wrap a collection of queries.
|
Queries |
queries(Query... queries)
Wrap a collection of queries.
|
Query |
query(SQL sql)
Create a new query holding plain SQL.
|
Query |
query(java.lang.String sql)
Create a new query holding plain SQL.
|
Query |
query(java.lang.String sql,
java.lang.Object... bindings)
Create a new query holding plain SQL.
|
Query |
query(java.lang.String sql,
QueryPart... parts)
Create a new query holding plain SQL.
|
java.lang.String |
render(QueryPart part)
Render a QueryPart in the context of this
DSLContext . |
RenderContext |
renderContext()
Deprecated.
- [#6280] - 3.10 - Do not reuse this method. It will be
completely internal with jOOQ 4.0
|
java.lang.String |
renderInlined(QueryPart part)
Render a QueryPart in the context of this
DSLContext , inlining all bind
variables. |
java.lang.String |
renderNamedOrInlinedParams(QueryPart part)
Render a QueryPart in the context of this
DSLContext , rendering bind
variables as named parameters, or inlined parameters if they have no name. |
java.lang.String |
renderNamedParams(QueryPart part)
Render a QueryPart in the context of this
DSLContext , rendering bind
variables as named parameters. |
ResultQuery<Record> |
resultQuery(SQL sql)
Create a new query holding plain SQL.
|
ResultQuery<Record> |
resultQuery(java.lang.String sql)
Create a new query holding plain SQL.
|
ResultQuery<Record> |
resultQuery(java.lang.String sql,
java.lang.Object... bindings)
Create a new query holding plain SQL.
|
ResultQuery<Record> |
resultQuery(java.lang.String sql,
QueryPart... parts)
Create a new query holding plain SQL.
|
SelectSelectStep<Record> |
select(java.util.Collection<? extends SelectField<?>> fields)
Create a new DSL select statement.
|
SelectSelectStep<Record> |
select(SelectField<?>... fields)
Create a new DSL select statement.
|
<T1> SelectSelectStep<Record1<T1>> |
select(SelectField<T1> field1)
Create a new DSL select statement.
|
<T1,T2> SelectSelectStep<Record2<T1,T2>> |
select(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL select statement.
|
<T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL select statement.
|
<T1,T2,T3,T4> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20,
SelectField<T21> field21)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20,
SelectField<T21> field21,
SelectField<T22> field22)
Create a new DSL select statement.
|
SelectSelectStep<Record1<java.lang.Integer>> |
selectCount()
Create a new DSL select statement for
COUNT(*) . |
SelectSelectStep<Record> |
selectDistinct(java.util.Collection<? extends SelectField<?>> fields)
Create a new DSL select statement.
|
SelectSelectStep<Record> |
selectDistinct(SelectField<?>... fields)
Create a new DSL select statement.
|
<T1> SelectSelectStep<Record1<T1>> |
selectDistinct(SelectField<T1> field1)
Create a new DSL select statement.
|
<T1,T2> SelectSelectStep<Record2<T1,T2>> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL select statement.
|
<T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL select statement.
|
<T1,T2,T3,T4> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20,
SelectField<T21> field21)
Create a new DSL select statement.
|
<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8,
SelectField<T9> field9,
SelectField<T10> field10,
SelectField<T11> field11,
SelectField<T12> field12,
SelectField<T13> field13,
SelectField<T14> field14,
SelectField<T15> field15,
SelectField<T16> field16,
SelectField<T17> field17,
SelectField<T18> field18,
SelectField<T19> field19,
SelectField<T20> field20,
SelectField<T21> field21,
SelectField<T22> field22)
Create a new DSL select statement.
|
<R extends Record> |
selectFrom(Table<R> table)
Create a new DSL select statement.
|
SelectSelectStep<Record1<java.lang.Integer>> |
selectOne()
Create a new DSL select statement for a constant
1 literal. |
SelectQuery<Record> |
selectQuery()
Create a new
SelectQuery |
<R extends Record> |
selectQuery(TableLike<R> table)
Create a new
SelectQuery |
SelectSelectStep<Record1<java.lang.Integer>> |
selectZero()
Create a new DSL select statement for a constant
0 literal. |
Query |
setCatalog(Catalog catalog)
Set the current catalog to a new value.
|
Query |
setCatalog(Name catalog)
Set the current catalog to a new value.
|
Query |
setCatalog(java.lang.String catalog)
Set the current catalog to a new value.
|
Query |
setSchema(Name schema)
Set the current schema to a new value.
|
Query |
setSchema(Schema schema)
Set the current schema to a new value.
|
Query |
setSchema(java.lang.String schema)
Set the current schema to a new value.
|
void |
transaction(ContextTransactionalRunnable transactional)
Run a
ContextTransactionalRunnable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.transactionProvider() . |
void |
transaction(TransactionalRunnable transactional)
Run a
TransactionalRunnable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.transactionProvider() . |
java.util.concurrent.CompletionStage<java.lang.Void> |
transactionAsync(java.util.concurrent.Executor executor,
TransactionalRunnable transactional)
Run a
TransactionalRunnable asynchronously. |
java.util.concurrent.CompletionStage<java.lang.Void> |
transactionAsync(TransactionalRunnable transactional)
Run a
TransactionalRunnable asynchronously. |
<T> T |
transactionResult(ContextTransactionalCallable<T> transactional)
Run a
ContextTransactionalRunnable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.transactionProvider() , and return the
transactional 's outcome. |
<T> T |
transactionResult(TransactionalCallable<T> transactional)
Run a
TransactionalCallable in the context of this
DSLContext 's underlying Scope.configuration() 's
Configuration.transactionProvider() , and return the
transactional 's outcome. |
<T> java.util.concurrent.CompletionStage<T> |
transactionResultAsync(java.util.concurrent.Executor executor,
TransactionalCallable<T> transactional)
Run a
TransactionalCallable asynchronously. |
<T> java.util.concurrent.CompletionStage<T> |
transactionResultAsync(TransactionalCallable<T> transactional)
Run a
TransactionalCallable asynchronously. |
TruncateIdentityStep<Record> |
truncate(Name table)
Create a new DSL truncate statement.
|
TruncateIdentityStep<Record> |
truncate(java.lang.String table)
Create a new DSL truncate statement.
|
<R extends Record> |
truncate(Table<R> table)
Create a new DSL truncate statement.
|
<R extends Record> |
update(Table<R> table)
Create a new DSL update statement.
|
<R extends Record> |
updateQuery(Table<R> table)
Create a new
UpdateQuery |
WithStep |
with(CommonTableExpression<?>... tables)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(Name alias)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(Name alias,
Name... fieldAliases)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep1 |
with(Name alias,
Name fieldAlias1)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep2 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep3 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep4 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep5 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep6 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep7 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep8 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep9 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep10 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep11 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep12 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep13 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep14 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep15 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep16 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep17 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep18 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep19 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep20 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep21 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20,
Name fieldAlias21)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep22 |
with(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20,
Name fieldAlias21,
Name fieldAlias22)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(java.lang.String alias)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(java.lang.String alias,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(java.lang.String alias,
java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
with(java.lang.String alias,
java.lang.String... fieldAliases)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep1 |
with(java.lang.String alias,
java.lang.String fieldAlias1)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep2 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep3 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep4 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep5 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep6 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep7 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep8 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep9 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep10 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep11 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep12 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep13 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep14 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep15 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep16 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep17 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep18 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep19 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep20 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep21 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20,
java.lang.String fieldAlias21)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep22 |
with(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20,
java.lang.String fieldAlias21,
java.lang.String fieldAlias22)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithStep |
withRecursive(CommonTableExpression<?>... tables)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(Name alias)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(Name alias,
Name... fieldAliases)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep1 |
withRecursive(Name alias,
Name fieldAlias1)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep2 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep3 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep4 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep5 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep6 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep7 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep8 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep9 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep10 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep11 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep12 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep13 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep14 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep15 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep16 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep17 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep18 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep19 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep20 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep21 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20,
Name fieldAlias21)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep22 |
withRecursive(Name alias,
Name fieldAlias1,
Name fieldAlias2,
Name fieldAlias3,
Name fieldAlias4,
Name fieldAlias5,
Name fieldAlias6,
Name fieldAlias7,
Name fieldAlias8,
Name fieldAlias9,
Name fieldAlias10,
Name fieldAlias11,
Name fieldAlias12,
Name fieldAlias13,
Name fieldAlias14,
Name fieldAlias15,
Name fieldAlias16,
Name fieldAlias17,
Name fieldAlias18,
Name fieldAlias19,
Name fieldAlias20,
Name fieldAlias21,
Name fieldAlias22)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(java.lang.String alias)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(java.lang.String alias,
java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(java.lang.String alias,
java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep |
withRecursive(java.lang.String alias,
java.lang.String... fieldAliases)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep1 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep2 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep3 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep4 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep5 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep6 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep7 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep8 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep9 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep10 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep11 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep12 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep13 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep14 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep15 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep16 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep17 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep18 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep19 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep20 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep21 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20,
java.lang.String fieldAlias21)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
WithAsStep22 |
withRecursive(java.lang.String alias,
java.lang.String fieldAlias1,
java.lang.String fieldAlias2,
java.lang.String fieldAlias3,
java.lang.String fieldAlias4,
java.lang.String fieldAlias5,
java.lang.String fieldAlias6,
java.lang.String fieldAlias7,
java.lang.String fieldAlias8,
java.lang.String fieldAlias9,
java.lang.String fieldAlias10,
java.lang.String fieldAlias11,
java.lang.String fieldAlias12,
java.lang.String fieldAlias13,
java.lang.String fieldAlias14,
java.lang.String fieldAlias15,
java.lang.String fieldAlias16,
java.lang.String fieldAlias17,
java.lang.String fieldAlias18,
java.lang.String fieldAlias19,
java.lang.String fieldAlias20,
java.lang.String fieldAlias21,
java.lang.String fieldAlias22)
Create a
WITH clause to supply subsequent
SELECT , UPDATE , INSERT ,
DELETE , and MERGE statements with
CommonTableExpression s. |
void close() throws DataAccessException
DSLContext
.
Some DSLContext
constructors, such as DSL.using(String)
,
DSL.using(String, Properties)
, or
DSL.using(String, String, String)
allocate a Connection
resource, which is inaccessible to the outside of the DSLContext
implementation. Proper resource management must thus be done via this
close()
method.
close
in interface java.lang.AutoCloseable
DataAccessException
- When something went wrong closing the
underlying resources.Schema map(Schema schema)
This will map a schema onto another one, depending on configured schema
mapping in this DSLContext
. If no applicable schema mapping
can be found, the schema itself is returned.
schema
- A schema<R extends Record> Table<R> map(Table<R> table)
This will map a table onto another one, depending on configured table
mapping in this DSLContext
. If no applicable table mapping can
be found, the table itself is returned.
table
- A tableParser parser()
This is experimental functionality.
java.sql.Connection parsingConnection()
parser()
first, prior to re-generating and running the SQL.
The resulting Connection
wraps an underlying JDBC connection that
has been obtained from ConnectionProvider.acquire()
and must be
released by calling Connection.close()
.
This is experimental functionality:
Statement
executions, bind
variables and their position calculation might cause issues when the
generated SQL output involves more complex SQL transformation. See also
https://github.com/jOOQ/jOOQ/issues/5759.Meta meta()
This method returns a wrapper type that gives access to your JDBC connection's database meta data.
Meta meta(InformationSchema schema)
InformationSchema informationSchema(Catalog catalog)
InformationSchema
format.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
InformationSchema informationSchema(Catalog... catalogs)
InformationSchema
format.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
InformationSchema informationSchema(Schema schema)
InformationSchema
format.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
InformationSchema informationSchema(Schema... schemas)
InformationSchema
format.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
InformationSchema informationSchema(Table<?> table)
InformationSchema
format.
Exporting a single table will not include any foreign key definitions in the exported data.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
InformationSchema informationSchema(Table<?>... table)
InformationSchema
format.
Only those foreign keys whose referenced table is also included in the export will be exported.
This allows for serialising schema meta information as XML using JAXB.
See also Constants.XSD_META
for details.
<T> T transactionResult(TransactionalCallable<T> transactional)
TransactionalCallable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and return the
transactional
's outcome.
The argument transactional code should not capture any scope but derive
its Configuration
from the
TransactionalCallable.run(Configuration)
argument in order to
create new statements.
transactional
- The transactional codejava.lang.RuntimeException
- any runtime exception thrown by the
transactional
logic, indicating that a rollback
has occurred.DataAccessException
- any database problem that may have arised
when executing the transactional
logic, or a
wrapper for any checked exception thrown by the
transactional
logic, indicating that a rollback
has occurred.<T> T transactionResult(ContextTransactionalCallable<T> transactional) throws ConfigurationException
ContextTransactionalRunnable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and return the
transactional
's outcome.
The argument transactional code may capture scope to derive its
Configuration
from the "context" in order to create new
statements. This context can be provided, for instance, by
ThreadLocalTransactionProvider
automatically.
transactional
- The transactional codeConfigurationException
- if the underlying
Configuration.transactionProvider()
is not able to
provide context (i.e. currently, it is not a
ThreadLocalTransactionProvider
).java.lang.RuntimeException
- any runtime exception thrown by the
transactional
logic, indicating that a rollback
has occurred.DataAccessException
- any database problem that may have arised
when executing the transactional
logic, or a
wrapper for any checked exception thrown by the
transactional
logic, indicating that a rollback
has occurred.void transaction(TransactionalRunnable transactional)
TransactionalRunnable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
.
The argument transactional code should not capture any scope but derive
its Configuration
from the
TransactionalCallable.run(Configuration)
argument in order to
create new statements.
transactional
- The transactional codejava.lang.RuntimeException
- any runtime exception thrown by the
transactional
logic, indicating that a rollback
has occurred.DataAccessException
- any database problem that may have arised
when executing the transactional
logic, or a
wrapper for any checked exception thrown by the
transactional
logic, indicating that a rollback
has occurred.void transaction(ContextTransactionalRunnable transactional) throws ConfigurationException
ContextTransactionalRunnable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
.
The argument transactional code may capture scope to derive its
Configuration
from the "context" in order to create new
statements. This context can be provided, for instance, by
ThreadLocalTransactionProvider
automatically.
transactional
- The transactional codeConfigurationException
- if the underlying
Configuration.transactionProvider()
is not able to
provide context (i.e. currently, it is not a
ThreadLocalTransactionProvider
).java.lang.RuntimeException
- any runtime exception thrown by the
transactional
logic, indicating that a rollback
has occurred.DataAccessException
- any database problem that may have arised
when executing the transactional
logic, or a
wrapper for any checked exception thrown by the
transactional
logic, indicating that a rollback
has occurred.<T> java.util.concurrent.CompletionStage<T> transactionResultAsync(TransactionalCallable<T> transactional) throws ConfigurationException
TransactionalCallable
asynchronously.
The TransactionCallable
is run in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and returns the
transactional
's outcome in a new CompletionStage
that is asynchronously completed by a task run by an Executor
provided by the underlying Scope.configuration()
's
Configuration.executorProvider()
.
transactional
- The transactional codeConfigurationException
- If this is run with a
ThreadLocalTransactionProvider
.java.util.concurrent.CompletionStage<java.lang.Void> transactionAsync(TransactionalRunnable transactional) throws ConfigurationException
TransactionalRunnable
asynchronously.
The TransactionRunnable
is run in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and returns the
transactional
's outcome in a new CompletionStage
that is asynchronously completed by a task run by an Executor
provided by the underlying Scope.configuration()
's
Configuration.executorProvider()
.
transactional
- The transactional codeConfigurationException
- If this is run with a
ThreadLocalTransactionProvider
.<T> java.util.concurrent.CompletionStage<T> transactionResultAsync(java.util.concurrent.Executor executor, TransactionalCallable<T> transactional) throws ConfigurationException
TransactionalCallable
asynchronously.
The TransactionCallable
is run in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and returns the
transactional
's outcome in a new CompletionStage
that is asynchronously completed by a task run by a given
Executor
.
transactional
- The transactional codeConfigurationException
- If this is run with a
ThreadLocalTransactionProvider
.java.util.concurrent.CompletionStage<java.lang.Void> transactionAsync(java.util.concurrent.Executor executor, TransactionalRunnable transactional) throws ConfigurationException
TransactionalRunnable
asynchronously.
The TransactionRunnable
is run in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.transactionProvider()
, and returns the
transactional
's outcome in a new CompletionStage
that is asynchronously completed by a task run by a given
Executor
.
transactional
- The transactional codeConfigurationException
- If this is run with a
ThreadLocalTransactionProvider
.<T> T connectionResult(ConnectionCallable<T> callable)
ConnectionCallable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.connectionProvider()
.callable
- The code running statements against the
connection
.void connection(ConnectionRunnable runnable)
ConnectionRunnable
in the context of this
DSLContext
's underlying Scope.configuration()
's
Configuration.connectionProvider()
.runnable
- The code running statements against the
connection
.<T> T mockResult(MockDataProvider provider, MockCallable<T> mockable)
MockRunnable
in the context of this DSLContext
's underlying Scope.configuration()
's, and of a
MockDataProvider
and return the mockable
's outcome.void mock(MockDataProvider provider, MockRunnable mockable)
MockRunnable
in the context of this DSLContext
's underlying Scope.configuration()
's, and of a
MockDataProvider
.@Deprecated RenderContext renderContext()
RenderContext
for the context of this DSLContext
.
This will return an initialised render context as such:
RenderContext.castMode()
== DEFAULT
Context.declareFields()
== false
Context.declareTables()
== false
RenderContext.format()
== false
RenderContext.paramType()
== ParamType.INDEXED
RenderContext.qualify()
== true
Context.subquery()
== false
java.lang.String render(QueryPart part)
DSLContext
.
This is the same as calling renderContext().render(part)
part
- The QueryPart
to be renderedjava.lang.String renderNamedParams(QueryPart part)
DSLContext
, rendering bind
variables as named parameters.
This is the same as calling
renderContext().paramType(NAMED).render(part)
part
- The QueryPart
to be renderedjava.lang.String renderNamedOrInlinedParams(QueryPart part)
DSLContext
, rendering bind
variables as named parameters, or inlined parameters if they have no name.
This is the same as calling
renderContext().paramType(NAMED_OR_INLINED).render(part)
part
- The QueryPart
to be renderedjava.lang.String renderInlined(QueryPart part)
DSLContext
, inlining all bind
variables.
This is the same as calling
renderContext().inline(true).render(part)
part
- The QueryPart
to be renderedjava.util.List<java.lang.Object> extractBindValues(QueryPart part)
QueryPart
.
The returned List
is immutable. To modify bind values, use
extractParams(QueryPart)
instead.
Unlike extractParams(QueryPart)
, which returns also inlined
parameters, this returns only actual bind values that will render an
actual bind value as a question mark "?"
java.util.Map<java.lang.String,Param<?>> extractParams(QueryPart part)
Map
of named parameters.
The Map
itself is immutable, but the Param
elements
allow for modifying bind values on an existing Query
(or any
other QueryPart
).
Bind values created with DSL.val(Object)
will have their bind
index as name.
Param
,
DSL.param(String, Object)
Param<?> extractParam(QueryPart part, java.lang.String name)
QueryPart
, provided its name.
Bind values created with DSL.val(Object)
will have their bind
index as name.
Param
,
DSL.param(String, Object)
@Deprecated BindContext bindContext(java.sql.PreparedStatement stmt)
BindContext
for the context of this
DSLContext
.
This will return an initialised bind context as such:
Context.declareFields()
== false
Context.declareTables()
== false
BindContext for JOOQ INTERNAL USE only. Avoid referencing it directly
@Deprecated int bind(QueryPart part, java.sql.PreparedStatement stmt)
void attach(Attachable... attachables)
DSLContext
's underlying Scope.configuration()
to some attachables.void attach(java.util.Collection<? extends Attachable> attachables)
DSLContext
's underlying Scope.configuration()
to some attachables.@Support <R extends Record> LoaderOptionsStep<R> loadInto(Table<R> table)
Loader
object to load data from a CSV or XML
source.@Support Queries queries(Query... queries)
DSL.queries(Query...)
@Support Queries queries(java.util.Collection<? extends Query> queries)
DSL.queries(Collection)
@Support @PlainSQL Query query(SQL sql)
Example:
String sql = "SET SCHEMA 'abc'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLSQL
@Support @PlainSQL Query query(java.lang.String sql)
Example:
String sql = "SET SCHEMA 'abc'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLSQL
@Support @PlainSQL Query query(java.lang.String sql, java.lang.Object... bindings)
Example:
String sql = "SET SCHEMA 'abc'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Query query(java.lang.String sql, QueryPart... parts)
Unlike query(String, Object...)
, the SQL passed to this method
should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
query("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will render this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL Result<Record> fetch(SQL sql) throws DataAccessException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Result<Record> fetch(java.lang.String sql) throws DataAccessException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Result<Record> fetch(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Result<Record> fetch(java.lang.String sql, QueryPart... parts) throws DataAccessException
Unlike fetch(String, Object...)
, the SQL passed to this method
should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetch("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL Cursor<Record> fetchLazy(SQL sql) throws DataAccessException
The returned Cursor
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Cursor<Record> fetchLazy(java.lang.String sql) throws DataAccessException
The returned Cursor
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Cursor<Record> fetchLazy(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
The returned Cursor
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Cursor<Record> fetchLazy(java.lang.String sql, QueryPart... parts) throws DataAccessException
The returned Cursor
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Unlike fetchLazy(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(SQL sql)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.SQL
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.SQL
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql, java.lang.Object... bindings)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.SQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql, QueryPart... parts)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
Unlike fetchLazy(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.SQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, SQL sql)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.SQL
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.SQL
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, java.lang.Object... bindings)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.SQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, QueryPart... parts)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
Unlike fetchLazy(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.SQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.stream.Stream<Record> fetchStream(SQL sql) throws DataAccessException
The returned Stream
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, even if the database returns no
ResultSet
DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL java.util.stream.Stream<Record> fetchStream(java.lang.String sql) throws DataAccessException
The returned Stream
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, even if the database returns no
ResultSet
DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL java.util.stream.Stream<Record> fetchStream(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
The returned Stream
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
, even if the database returns no
ResultSet
DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.stream.Stream<Record> fetchStream(java.lang.String sql, QueryPart... parts) throws DataAccessException
The returned Stream
holds a reference to the executed
PreparedStatement
and the associated ResultSet
. Data can
be fetched (or iterated over) lazily, fetching records from the
ResultSet
one by one.
Unlike fetchStream(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
, even if the database returns no
ResultSet
DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL Results fetchMany(SQL sql) throws DataAccessException
Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Results fetchMany(java.lang.String sql) throws DataAccessException
Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL Results fetchMany(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Results fetchMany(java.lang.String sql, QueryPart... parts) throws DataAccessException
Unlike fetchMany(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchMany("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL Record fetchOne(SQL sql) throws DataAccessException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL Record fetchOne(java.lang.String sql) throws DataAccessException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL Record fetchOne(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException, TooManyRowsException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Record fetchOne(java.lang.String sql, QueryPart... parts) throws DataAccessException, TooManyRowsException
Unlike fetchOne(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL Record fetchSingle(SQL sql) throws DataAccessException, NoDataFoundException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL Record fetchSingle(java.lang.String sql) throws DataAccessException, NoDataFoundException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL Record fetchSingle(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException, NoDataFoundException, TooManyRowsException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL Record fetchSingle(java.lang.String sql, QueryPart... parts) throws DataAccessException, NoDataFoundException, TooManyRowsException
Unlike fetchOne(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.Optional<Record> fetchOptional(SQL sql) throws DataAccessException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL java.util.Optional<Record> fetchOptional(java.lang.String sql) throws DataAccessException, TooManyRowsException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
@Support @PlainSQL java.util.Optional<Record> fetchOptional(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException, TooManyRowsException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.Optional<Record> fetchOptional(java.lang.String sql, QueryPart... parts) throws DataAccessException, TooManyRowsException
Unlike fetchOne(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.lang.Object fetchValue(SQL sql) throws DataAccessException, TooManyRowsException, InvalidResultException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
@Support @PlainSQL java.lang.Object fetchValue(java.lang.String sql) throws DataAccessException, TooManyRowsException, InvalidResultException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
@Support @PlainSQL java.lang.Object fetchValue(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException, TooManyRowsException, InvalidResultException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.lang.Object fetchValue(java.lang.String sql, QueryPart... parts) throws DataAccessException, TooManyRowsException, InvalidResultException
Unlike fetchValue(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.Optional<?> fetchOptionalValue(SQL sql) throws DataAccessException, TooManyRowsException, InvalidResultException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
@Support @PlainSQL java.util.Optional<?> fetchOptionalValue(java.lang.String sql) throws DataAccessException, TooManyRowsException, InvalidResultException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
@Support @PlainSQL java.util.Optional<?> fetchOptionalValue(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException, TooManyRowsException, InvalidResultException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.Optional<?> fetchOptionalValue(java.lang.String sql, QueryPart... parts) throws DataAccessException, TooManyRowsException, InvalidResultException
Unlike fetchValue(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one valueSQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL java.util.List<?> fetchValues(SQL sql) throws DataAccessException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL java.util.List<?> fetchValues(java.lang.String sql) throws DataAccessException
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLnull
.DataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL java.util.List<?> fetchValues(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL java.util.List<?> fetchValues(java.lang.String sql, QueryPart... parts) throws DataAccessException
Unlike fetchValue(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsnull
.DataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL int execute(SQL sql) throws DataAccessException
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL int execute(java.lang.String sql) throws DataAccessException
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLDataAccessException
- if something went wrong executing the querySQL
@Support @PlainSQL int execute(java.lang.String sql, java.lang.Object... bindings) throws DataAccessException
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsDataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, Object...)
@Support @PlainSQL int execute(java.lang.String sql, QueryPart... parts) throws DataAccessException
Unlike execute(String, Object...)
, the SQL passed to this method
should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
execute("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will execute this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsDataAccessException
- if something went wrong executing the querySQL
,
DSL.sql(String, QueryPart...)
@Support @PlainSQL ResultQuery<Record> resultQuery(SQL sql)
There must not be any bind variables contained in the SQL
Use this method, when you want to take advantage of the many ways to
fetch results in jOOQ, using ResultQuery
. Some examples:
ResultQuery.fetchLazy() |
Open a cursor and fetch records one by one |
ResultQuery.fetchInto(Class) |
Fetch records into a custom POJO (optionally annotated with JPA annotations) |
ResultQuery.fetchInto(RecordHandler) |
Fetch records into a custom callback (similar to Spring's RowMapper) |
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLSQL
@Support @PlainSQL ResultQuery<Record> resultQuery(java.lang.String sql)
There must not be any bind variables contained in the SQL
Use this method, when you want to take advantage of the many ways to
fetch results in jOOQ, using ResultQuery
. Some examples:
ResultQuery.fetchLazy() |
Open a cursor and fetch records one by one |
ResultQuery.fetchInto(Class) |
Fetch records into a custom POJO (optionally annotated with JPA annotations) |
ResultQuery.fetchInto(RecordHandler) |
Fetch records into a custom callback (similar to Spring's RowMapper) |
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLSQL
@Support @PlainSQL ResultQuery<Record> resultQuery(java.lang.String sql, java.lang.Object... bindings)
There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Use this method, when you want to take advantage of the many ways to
fetch results in jOOQ, using ResultQuery
. Some examples:
ResultQuery.fetchLazy() |
Open a cursor and fetch records one by one |
ResultQuery.fetchInto(Class) |
Fetch records into a custom POJO (optionally annotated with JPA annotations) |
ResultQuery.fetchInto(RecordHandler) |
Fetch records into a custom callback (similar to Spring's RowMapper) |
Example (Postgres):
Example
(SQLite):
String sql = "FETCH ALL IN \"
String sql = "pragma table_info('my_table')";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQLbindings
- The bindingsSQL
,
DSL.sql(String, Object...)
@Support @PlainSQL ResultQuery<Record> resultQuery(java.lang.String sql, QueryPart... parts)
Unlike resultQuery(String, Object...)
, the SQL passed to this
method should not contain any bind variables. Instead, you can pass
QueryPart
objects to the method which will be rendered at indexed
locations of your SQL string as such:
// The following query
resultQuery("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL"));
// Will render this SQL on an Oracle database with RenderNameStyle.QUOTED:
select ?, 'test' from "DUAL"
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. You may also create the possibility of
malicious SQL injection. Be sure to properly use bind variables and/or
escape literals when concatenated into SQL clauses! One way to escape
literals is to use DSL.name(String...)
and similar methods
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsSQL
,
DSL.sql(String, QueryPart...)
@Support Result<Record> fetch(java.sql.ResultSet rs) throws DataAccessException
ResultSet
and transform it to a jOOQ
Result
.
After fetching all data, the JDBC ResultSet will be closed.
Use fetchLazy(ResultSet)
, to fetch one Record
at a
time, instead of load the entire ResultSet
into a jOOQ
Result
at once.
rs
- The JDBC ResultSet to fetch data fromnull
.DataAccessException
- if something went wrong executing the query@Support Result<Record> fetch(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException
ResultSet
and transform it to a jOOQ
Result
.
After fetching all data, the JDBC ResultSet will be closed.
Use fetchLazy(ResultSet)
, to fetch one Record
at a
time, instead of load the entire ResultSet
into a jOOQ
Result
at once.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Result<Record> fetch(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException
ResultSet
and transform it to a jOOQ
Result
.
After fetching all data, the JDBC ResultSet will be closed.
Use fetchLazy(ResultSet)
, to fetch one Record
at a
time, instead of load the entire ResultSet
into a jOOQ
Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Result<Record> fetch(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException
ResultSet
and transform it to a jOOQ
Result
.
After fetching all data, the JDBC ResultSet will be closed.
Use fetchLazy(ResultSet)
, to fetch one Record
at a
time, instead of load the entire ResultSet
into a jOOQ
Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Record fetchOne(java.sql.ResultSet rs) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
rs
- The JDBC ResultSet to fetch data fromnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support Record fetchOne(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support Record fetchOne(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support Record fetchOne(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support Record fetchSingle(java.sql.ResultSet rs) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
rs
- The JDBC ResultSet to fetch data fromnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support Record fetchSingle(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException, NoDataFoundException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one record@Support Record fetchSingle(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException, NoDataFoundException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one record@Support Record fetchSingle(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException, NoDataFoundException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one record@Support java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs) throws DataAccessException, NoDataFoundException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
rs
- The JDBC ResultSet to fetch data fromDataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one record@Support java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException, TooManyRowsException
ResultSet
and transform it to a jOOQ
Record
.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support java.lang.Object fetchValue(java.sql.ResultSet rs) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
rs
- The JDBC ResultSet to fetch data fromnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> T fetchValue(java.sql.ResultSet rs, Field<T> field) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional field
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfield
- The field to use in the desired outputnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> T fetchValue(java.sql.ResultSet rs, DataType<T> type) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data type to use in the desired outputnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> T fetchValue(java.sql.ResultSet rs, java.lang.Class<T> type) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data types to use in the desired outputnull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support java.util.Optional<?> fetchOptionalValue(java.sql.ResultSet rs) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
rs
- The JDBC ResultSet to fetch data fromDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, Field<T> field) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional field
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfield
- The field to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, DataType<T> type) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data type to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, java.lang.Class<T> type) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultSet
and return the only
contained value.
This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data types to use in the desired outputDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value@Support java.util.List<?> fetchValues(java.sql.ResultSet rs) throws DataAccessException
ResultSet
and return the only
contained column's values.rs
- The JDBC ResultSet to fetch data fromnull
.DataAccessException
- if something went wrong executing the query@Support <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, Field<T> field) throws DataAccessException
ResultSet
and return the only
contained column's values.
The additional field
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfield
- The field to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, DataType<T> type) throws DataAccessException
ResultSet
and return the only
contained column's values.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data type to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, java.lang.Class<T> type) throws DataAccessException
ResultSet
and return the only
contained column's values.
The additional type
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtype
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Cursor<Record> fetchLazy(java.sql.ResultSet rs) throws DataAccessException
ResultSet
into a jOOQ Cursor
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
rs
- The JDBC ResultSet to fetch data fromnull
.DataAccessException
- if something went wrong executing the query@Support Cursor<Record> fetchLazy(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException
ResultSet
into a jOOQ Cursor
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Cursor<Record> fetchLazy(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException
ResultSet
into a jOOQ Cursor
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support Cursor<Record> fetchLazy(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException
ResultSet
into a jOOQ Cursor
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.DataAccessException
- if something went wrong executing the query@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
rs
- The JDBC ResultSet to fetch data fromnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, Field<?>... fields)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, DataType<?>... types)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, java.lang.Class<?>... types)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs)
CompletionStage
that is asynchronously
completed by a task running in the given executor.rs
- The JDBC ResultSet to fetch data fromnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, Field<?>... fields)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, DataType<?>... types)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.@Support java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, java.lang.Class<?>... types)
CompletionStage
that is asynchronously
completed by a task running in the given executor.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputnull
.@Support java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs) throws DataAccessException
ResultSet
into a jOOQ Stream
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
rs
- The JDBC ResultSet to fetch data fromDataAccessException
- if something went wrong executing the query@Support java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, Field<?>... fields) throws DataAccessException
ResultSet
into a jOOQ Stream
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional fields
argument is used by jOOQ to coerce
field names and data types to the desired output
rs
- The JDBC ResultSet to fetch data fromfields
- The fields to use in the desired outputDataAccessException
- if something went wrong executing the query@Support java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, DataType<?>... types) throws DataAccessException
ResultSet
into a jOOQ Stream
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputDataAccessException
- if something went wrong executing the query@Support java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, java.lang.Class<?>... types) throws DataAccessException
ResultSet
into a jOOQ Stream
.
Use fetch(ResultSet)
, to load the entire ResultSet
into a jOOQ Result
at once.
The additional types
argument is used by jOOQ to coerce data
types to the desired output
rs
- The JDBC ResultSet to fetch data fromtypes
- The data types to use in the desired outputDataAccessException
- if something went wrong executing the query@Support Result<Record> fetchFromTXT(java.lang.String string) throws DataAccessException
The supplied string is supposed to be formatted in a human-readable way.
This is the same as calling fetchFromTXT(string, "{null}")
string
- The formatted stringnull
.DataAccessException
- If the supplied string does not adhere to the
above format rules.fetchFromTXT(String, String)
@Support Result<Record> fetchFromTXT(java.lang.String string, java.lang.String nullLiteral) throws DataAccessException
This method supports parsing results from two types of human-readable formats:
Result.format()
This format is recognised by the fact that the first line starts with a
"plus" sign:
This method will decode the above formatted string
according to the following rules:
+-----+-----+--------------------------+
|COL1 |COL2 |COL3 containing whitespace|
+-----+-----+--------------------------+
|val1 |1 |some text |
|val2 | 2 | more text |
+-----+-----+--------------------------+
VARCHAR(N)
where
N = number of dashes per dash group
The supplied string is supposed to be formatted in the following,
human-readable way:
This method will decode the above formatted string
according to the following rules:
COL1 COL2 COL3 containing whitespace
----- ---- --------------------------
val1 1 some text
val2 2 more text
VARCHAR(N)
where
N = number of dashes per dash group
Both parsing methods make no assumption about the resulting data types. Instead, all data is string-based.
string
- The formatted stringnullLiteral
- The string literal to be used as null
value.null
.DataAccessException
- If the supplied string does not adhere to the
above format rules.@Support Result<Record> fetchFromHTML(java.lang.String string) throws DataAccessException
Result
.
This is the inverse operation of Result.formatHTML()
. It works
according to the following parsing rules:
<caption>
,
<thead>
, <tbody>
are simply ignored.<table>
element is optional, but it
may appear only once<th>
is
allowed. Further rows containing table headings are ignored. Table
headings define field names. In the absence of table headings, field
names are generated.<tr>
specifies the number of columns in
the table (regardless if it contains table headings or not). Subsequent
rows containing less columns will be padded. Subsequent rows containing
more columns will be truncated.
Ideal input looks like this:
<table>
<tr><th>COL1</th><th>COL2</th></tr>
<tr><td>1</td><td>a</td></tr>
<tr><td>2</td><td>b</td></tr>
</table>
string
- The HTML-formatted string.null
.DataAccessException
- If the supplied string does not adhere to the
above format rules.@Support Result<Record> fetchFromCSV(java.lang.String string) throws DataAccessException
This is the same as calling fetchFromCSV(string, ',')
and
the inverse of calling Result.formatCSV()
. The first row of the
CSV data is required to hold field name information. Subsequent rows may
contain data, which is interpreted as String
. Use the various
conversion methods to retrieve other data types from the
Result
:
Result.getValues(Field, Class)
Result.getValues(int, Class)
Result.getValues(String, Class)
Result.getValues(Field, Converter)
Result.getValues(int, Converter)
Result.getValues(String, Converter)
Missing values result in null
. Empty values result in empty
Strings
string
- The CSV stringnull
.DataAccessException
- If anything went wrong parsing the CSV filefetchFromCSV(String, char)
@Support Result<Record> fetchFromCSV(java.lang.String string, char delimiter) throws DataAccessException
This is inverse of calling Result.formatCSV(char)
. The first row
of the CSV data is required to hold field name information. Subsequent
rows may contain data, which is interpreted as String
. Use the
various conversion methods to retrieve other data types from the
Result
:
Result.getValues(Field, Class)
Result.getValues(int, Class)
Result.getValues(String, Class)
Result.getValues(Field, Converter)
Result.getValues(int, Converter)
Result.getValues(String, Converter)
Missing values result in null
. Empty values result in empty
Strings
string
- The CSV stringdelimiter
- The delimiter to expect between recordsnull
.DataAccessException
- If anything went wrong parsing the CSV filefetchFromCSV(String)
,
fetchFromStringData(List)
@Support Result<Record> fetchFromCSV(java.lang.String string, boolean header) throws DataAccessException
This is the same as calling fetchFromCSV(string, ',')
and
the inverse of calling Result.formatCSV(boolean)
. Rows may
contain data, which is interpreted as String
. Use the various
conversion methods to retrieve other data types from the
Result
:
Result.getValues(Field, Class)
Result.getValues(int, Class)
Result.getValues(String, Class)
Result.getValues(Field, Converter)
Result.getValues(int, Converter)
Result.getValues(String, Converter)
Missing values result in null
. Empty values result in empty
Strings
string
- The CSV stringheader
- Whether to parse the first line as a CSV header linenull
.DataAccessException
- If anything went wrong parsing the CSV filefetchFromCSV(String, char)
@Support Result<Record> fetchFromCSV(java.lang.String string, boolean header, char delimiter) throws DataAccessException
This is inverse of calling Result.formatCSV(boolean, char)
. Rows
may contain data, which are interpreted as String
. Use the
various conversion methods to retrieve other data types from the
Result
:
Result.getValues(Field, Class)
Result.getValues(int, Class)
Result.getValues(String, Class)
Result.getValues(Field, Converter)
Result.getValues(int, Converter)
Result.getValues(String, Converter)
Missing values result in null
. Empty values result in empty
Strings
string
- The CSV stringheader
- Whether to parse the first line as a CSV header linedelimiter
- The delimiter to expect between recordsnull
.DataAccessException
- If anything went wrong parsing the CSV filefetchFromCSV(String)
,
fetchFromStringData(List)
@Support Result<Record> fetchFromJSON(java.lang.String string)
This is the inverse of calling Result.formatJSON()
. Use the
various conversion methods to retrieve other data types from the
Result
:
Result.getValues(Field, Class)
Result.getValues(int, Class)
Result.getValues(String, Class)
Result.getValues(Field, Converter)
Result.getValues(int, Converter)
Result.getValues(String, Converter)
Missing values result in null
. Empty values result in empty
Strings
string
- The JSON stringnull
.DataAccessException
- If anything went wrong parsing the JSON fileResult<Record> fetchFromStringData(java.lang.String[]... data)
This is used by methods such as
The first element of the argument list should contain column names. Subsequent elements contain actual data. The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull
.data
- The data to be transformed into a Result
null
.fetchFromStringData(List)
Result<Record> fetchFromStringData(java.util.List<java.lang.String[]> data)
This is used by methods such as
The first element of the argument list should contain column names. Subsequent elements contain actual data. The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull
.data
- The data to be transformed into a Result
null
.Result<Record> fetchFromStringData(java.util.List<java.lang.String[]> data, boolean header)
This is used by methods such as
The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull
.data
- The data to be transformed into a Result
header
- Whether to interpret the first line as a set of column
names.null
.@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(java.lang.String alias)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String)
for strictly non-recursive CTE
and withRecursive(String)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(java.lang.String alias, java.lang.String... fieldAliases)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(Name alias)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(Name)
for strictly non-recursive CTE
and withRecursive(Name)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(Name alias, Name... fieldAliases)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(Name, Name...)
for strictly non-recursive CTE
and withRecursive(Name, Name...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE and
withRecursive(String, String...)
for strictly recursive CTE.
This works in a similar way as with(String, String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns as input.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep with(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE and
withRecursive(String, String...)
for strictly recursive CTE.
This works in a similar way as with(String, String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns and their column indexes as input.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep1 with(java.lang.String alias, java.lang.String fieldAlias1)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep2 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep3 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep4 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep5 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep6 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep7 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep8 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep9 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep10 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep11 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep12 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep13 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep14 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep15 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep16 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep17 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep18 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep19 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep20 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep21 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep22 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep1 with(Name alias, Name fieldAlias1)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep2 with(Name alias, Name fieldAlias1, Name fieldAlias2)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep3 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep4 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep5 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep6 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep7 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep8 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep9 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep10 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep11 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep12 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep13 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep14 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep15 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep16 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep17 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep18 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep19 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep20 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep21 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20, Name fieldAlias21)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep22 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20, Name fieldAlias21, Name fieldAlias22)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithStep with(CommonTableExpression<?>... tables)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(CommonTableExpression...)
for strictly non-recursive CTE
and withRecursive(CommonTableExpression...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep withRecursive(java.lang.String alias)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String)
for strictly non-recursive CTE
and withRecursive(String)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep withRecursive(java.lang.String alias, java.lang.String... fieldAliases)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep withRecursive(Name alias)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(Name)
for strictly non-recursive CTE
and withRecursive(Name)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep withRecursive(Name alias, Name... fieldAliases)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(Name, Name...)
for strictly non-recursive CTE
and withRecursive(Name, Name...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep withRecursive(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
This works in a similar way as with(String, String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns as input.
@Support(value={DB2,FIREBIRD,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) WithAsStep withRecursive(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
This works in a similar way as with(String, String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns and their column indexes as input.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep1 withRecursive(java.lang.String alias, java.lang.String fieldAlias1)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep2 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep3 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep4 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep5 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep6 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep7 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep8 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep9 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep10 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep11 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep12 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep13 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep14 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep15 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep16 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep17 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep18 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep19 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep20 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep21 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep22 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep1 withRecursive(Name alias, Name fieldAlias1)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep2 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep3 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep4 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep5 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep6 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep7 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep8 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep9 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep10 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep11 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep12 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep13 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep14 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep15 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep16 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep17 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep18 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep19 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep20 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep21 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20, Name fieldAlias21)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithAsStep22 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10, Name fieldAlias11, Name fieldAlias12, Name fieldAlias13, Name fieldAlias14, Name fieldAlias15, Name fieldAlias16, Name fieldAlias17, Name fieldAlias18, Name fieldAlias19, Name fieldAlias20, Name fieldAlias21, Name fieldAlias22)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(String, String...)
for strictly non-recursive CTE
and withRecursive(String, String...)
for strictly
recursive CTE.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MYSQL_8_0,ORACLE,POSTGRES,SQLSERVER,SYBASE}) WithStep withRecursive(CommonTableExpression<?>... tables)
WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
The RECURSIVE
keyword may be optional or unsupported in some
databases, in case of which it will not be rendered. For optimal database
interoperability and readability, however, it is suggested that you use
with(CommonTableExpression...)
for strictly non-recursive CTE
and withRecursive(CommonTableExpression...)
for strictly
recursive CTE.
@Support <R extends Record> SelectWhereStep<R> selectFrom(Table<R> table)
Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
@Support SelectSelectStep<Record> select(java.util.Collection<? extends SelectField<?>> fields)
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(Collection)
instead.
Example:
DSLContext create = DSL.using(configuration);
create.select(fields)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
Note that passing an empty collection conveniently produces
SELECT *
semantics, i.e. it:
SELECT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are knownSELECT *
if not all columns are known, e.g. when
using plain SQLDSL.select(Collection)
@Support SelectSelectStep<Record> select(SelectField<?>... fields)
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField...)
instead.
Example:
DSLContext create = DSL.using(configuration);
create.select(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2)
.execute();
Note that passing an empty collection conveniently produces
SELECT *
semantics, i.e. it:
SELECT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are knownSELECT *
if not all columns are known, e.g. when
using plain SQLDSL.select(SelectField...)
@Generated(value="This method was generated using jOOQ-tools") @Support <T1> SelectSelectStep<Record1<T1>> select(SelectField<T1> field1)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Field.in(Select)
, Field.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField)
instead.
Example:
using(configuration)
.select(field1)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2> SelectSelectStep<Record2<T1,T2>> select(SelectField<T1> field1, SelectField<T2> field2)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row2.in(Select)
, Row2.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row3.in(Select)
, Row3.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4> SelectSelectStep<Record4<T1,T2,T3,T4>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row4.in(Select)
, Row4.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, field4)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5> SelectSelectStep<Record5<T1,T2,T3,T4,T5>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row5.in(Select)
, Row5.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, field4, field5)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6> SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row6.in(Select)
, Row6.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field5, field6)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7> SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row7.in(Select)
, Row7.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field6, field7)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8> SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row8.in(Select)
, Row8.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field7, field8)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9> SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row9.in(Select)
, Row9.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field8, field9)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row10.in(Select)
, Row10.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field9, field10)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row11.in(Select)
, Row11.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field10, field11)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row12.in(Select)
, Row12.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field11, field12)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row13.in(Select)
, Row13.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field12, field13)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row14.in(Select)
, Row14.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field13, field14)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row15.in(Select)
, Row15.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field14, field15)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row16.in(Select)
, Row16.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field15, field16)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row17.in(Select)
, Row17.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field16, field17)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row18.in(Select)
, Row18.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field17, field18)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> SelectSelectStep<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row19.in(Select)
, Row19.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field18, field19)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row20.in(Select)
, Row20.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field19, field20)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> SelectSelectStep<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row21.in(Select)
, Row21.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field20, field21)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)
This is the same as select(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row22.in(Select)
, Row22.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.select(field1, field2, field3, .., field21, field22)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Support SelectSelectStep<Record> selectDistinct(java.util.Collection<? extends SelectField<?>> fields)
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(Collection)
instead.
Example:
DSLContext create = DSL.using(configuration);
create.selectDistinct(fields)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
Note that passing an empty collection conveniently produces
SELECT DISTINCT *
semantics, i.e. it:
SELECT DISTINCT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are knownSELECT DISTINCT *
if not all columns are known, e.g. when
using plain SQLDSL.selectDistinct(Collection)
@Support SelectSelectStep<Record> selectDistinct(SelectField<?>... fields)
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField...)
instead.
Example:
DSLContext create = DSL.using(configuration);
create.selectDistinct(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
Note that passing an empty collection conveniently produces
SELECT DISTINCT *
semantics, i.e. it:
SELECT DISTINCT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are knownSELECT DISTINCT *
if not all columns are known, e.g. when
using plain SQLDSL.selectDistinct(SelectField...)
@Generated(value="This method was generated using jOOQ-tools") @Support <T1> SelectSelectStep<Record1<T1>> selectDistinct(SelectField<T1> field1)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Field.in(Select)
, Field.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2> SelectSelectStep<Record2<T1,T2>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row2.in(Select)
, Row2.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row3.in(Select)
, Row3.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4> SelectSelectStep<Record4<T1,T2,T3,T4>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row4.in(Select)
, Row4.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, field4)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5> SelectSelectStep<Record5<T1,T2,T3,T4,T5>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row5.in(Select)
, Row5.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, field4, field5)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6> SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row6.in(Select)
, Row6.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field5, field6)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7> SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row7.in(Select)
, Row7.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field6, field7)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8> SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row8.in(Select)
, Row8.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field7, field8)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9> SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row9.in(Select)
, Row9.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field8, field9)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row10.in(Select)
, Row10.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field9, field10)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row11.in(Select)
, Row11.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field10, field11)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row12.in(Select)
, Row12.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field11, field12)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row13.in(Select)
, Row13.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field12, field13)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row14.in(Select)
, Row14.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field13, field14)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row15.in(Select)
, Row15.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field14, field15)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row16.in(Select)
, Row16.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field15, field16)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row17.in(Select)
, Row17.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field16, field17)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row18.in(Select)
, Row18.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field17, field18)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> SelectSelectStep<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row19.in(Select)
, Row19.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field18, field19)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row20.in(Select)
, Row20.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field19, field20)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> SelectSelectStep<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row21.in(Select)
, Row21.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field20, field21)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Generated(value="This method was generated using jOOQ-tools") @Support <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)
This is the same as selectDistinct(SelectField...)
, except that it
declares additional record-level typesafety, which is needed by
Row22.in(Select)
, Row22.equal(Select)
and other predicate
building methods taking subselect arguments.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)
instead.
Example:
using(configuration)
.selectDistinct(field1, field2, field3, .., field21, field22)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
@Support SelectSelectStep<Record1<java.lang.Integer>> selectZero()
0
literal.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectZero()
instead.
Example:
DSLContext create = DSL.using(configuration);
create.selectZero()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
DSL.zero()
,
DSL.selectZero()
@Support SelectSelectStep<Record1<java.lang.Integer>> selectOne()
1
literal.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectOne()
instead.
Example:
DSLContext create = DSL.using(configuration);
create.selectOne()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
DSL.one()
,
DSL.selectOne()
@Support SelectSelectStep<Record1<java.lang.Integer>> selectCount()
COUNT(*)
.
This creates an attached, renderable and executable SELECT
statement from this DSLContext
. If you don't need to render or
execute this SELECT
statement (e.g. because you want to
create a subselect), consider using the static
DSL.selectCount()
instead.
Example:
DSLContext create = DSL.using(configuration);
create.selectCount()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
DSL.selectCount()
@Support SelectQuery<Record> selectQuery()
SelectQuery
@Support <R extends Record> SelectQuery<R> selectQuery(TableLike<R> table)
SelectQuery
table
- The table to select data fromSelectQuery
@Support <R extends Record> InsertQuery<R> insertQuery(Table<R> into)
InsertQuery
into
- The table to insert data intoInsertQuery
@Support <R extends Record> InsertSetStep<R> insertInto(Table<R> into)
This type of insert may feel more convenient to some users, as it uses
the UPDATE
statement's SET a = b
syntax.
Example:
DSLContext create = DSL.using(configuration);
create.insertInto(table)
.set(field1, value1)
.set(field2, value2)
.newRecord()
.set(field1, value3)
.set(field2, value4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1> InsertValuesStep1<R,T1> insertInto(Table<R> into, Field<T1> field1)
Example:
using(configuration)
.insertInto(table, field1)
.values(field1)
.values(field1)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2> InsertValuesStep2<R,T1,T2> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2)
Example:
using(configuration)
.insertInto(table, field1, field2)
.values(field1, field2)
.values(field1, field2)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3> InsertValuesStep3<R,T1,T2,T3> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3)
Example:
using(configuration)
.insertInto(table, field1, field2, field3)
.values(field1, field2, field3)
.values(field1, field2, field3)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4> InsertValuesStep4<R,T1,T2,T3,T4> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, field4)
.values(field1, field2, field3, field4)
.values(field1, field2, field3, field4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5> InsertValuesStep5<R,T1,T2,T3,T4,T5> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, field4, field5)
.values(field1, field2, field3, field4, field5)
.values(field1, field2, field3, field4, field5)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6> InsertValuesStep6<R,T1,T2,T3,T4,T5,T6> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field5, field6)
.values(valueA1, valueA2, valueA3, .., valueA5, valueA6)
.values(valueB1, valueB2, valueB3, .., valueB5, valueB6)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7> InsertValuesStep7<R,T1,T2,T3,T4,T5,T6,T7> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field6, field7)
.values(valueA1, valueA2, valueA3, .., valueA6, valueA7)
.values(valueB1, valueB2, valueB3, .., valueB6, valueB7)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> InsertValuesStep8<R,T1,T2,T3,T4,T5,T6,T7,T8> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field7, field8)
.values(valueA1, valueA2, valueA3, .., valueA7, valueA8)
.values(valueB1, valueB2, valueB3, .., valueB7, valueB8)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> InsertValuesStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field8, field9)
.values(valueA1, valueA2, valueA3, .., valueA8, valueA9)
.values(valueB1, valueB2, valueB3, .., valueB8, valueB9)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> InsertValuesStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field9, field10)
.values(valueA1, valueA2, valueA3, .., valueA9, valueA10)
.values(valueB1, valueB2, valueB3, .., valueB9, valueB10)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> InsertValuesStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field10, field11)
.values(valueA1, valueA2, valueA3, .., valueA10, valueA11)
.values(valueB1, valueB2, valueB3, .., valueB10, valueB11)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> InsertValuesStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field11, field12)
.values(valueA1, valueA2, valueA3, .., valueA11, valueA12)
.values(valueB1, valueB2, valueB3, .., valueB11, valueB12)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> InsertValuesStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field12, field13)
.values(valueA1, valueA2, valueA3, .., valueA12, valueA13)
.values(valueB1, valueB2, valueB3, .., valueB12, valueB13)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> InsertValuesStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field13, field14)
.values(valueA1, valueA2, valueA3, .., valueA13, valueA14)
.values(valueB1, valueB2, valueB3, .., valueB13, valueB14)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> InsertValuesStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field14, field15)
.values(valueA1, valueA2, valueA3, .., valueA14, valueA15)
.values(valueB1, valueB2, valueB3, .., valueB14, valueB15)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> InsertValuesStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field15, field16)
.values(valueA1, valueA2, valueA3, .., valueA15, valueA16)
.values(valueB1, valueB2, valueB3, .., valueB15, valueB16)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> InsertValuesStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field16, field17)
.values(valueA1, valueA2, valueA3, .., valueA16, valueA17)
.values(valueB1, valueB2, valueB3, .., valueB16, valueB17)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> InsertValuesStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field17, field18)
.values(valueA1, valueA2, valueA3, .., valueA17, valueA18)
.values(valueB1, valueB2, valueB3, .., valueB17, valueB18)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> InsertValuesStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field18, field19)
.values(valueA1, valueA2, valueA3, .., valueA18, valueA19)
.values(valueB1, valueB2, valueB3, .., valueB18, valueB19)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> InsertValuesStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field19, field20)
.values(valueA1, valueA2, valueA3, .., valueA19, valueA20)
.values(valueB1, valueB2, valueB3, .., valueB19, valueB20)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> InsertValuesStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field20, field21)
.values(valueA1, valueA2, valueA3, .., valueA20, valueA21)
.values(valueB1, valueB2, valueB3, .., valueB20, valueB21)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Generated(value="This method was generated using jOOQ-tools") @Support <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> InsertValuesStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Example:
using(configuration)
.insertInto(table, field1, field2, field3, .., field21, field22)
.values(valueA1, valueA2, valueA3, .., valueA21, valueA22)
.values(valueB1, valueB2, valueB3, .., valueB21, valueB22)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Support <R extends Record> InsertValuesStepN<R> insertInto(Table<R> into, Field<?>... fields)
Example:
DSLContext create = DSL.using(configuration);
create.insertInto(table, field1, field2)
.values(value1, value2)
.values(value3, value4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Support <R extends Record> InsertValuesStepN<R> insertInto(Table<R> into, java.util.Collection<? extends Field<?>> fields)
Example:
DSLContext create = DSL.using(configuration);
create.insertInto(table, field1, field2)
.values(value1, value2)
.values(value3, value4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
@Support <R extends Record> UpdateQuery<R> updateQuery(Table<R> table)
UpdateQuery
table
- The table to update data intoUpdateQuery
@Support <R extends Record> UpdateSetFirstStep<R> update(Table<R> table)
Example:
DSLContext create = DSL.using(configuration);
create.update(table)
.set(field1, value1)
.set(field2, value2)
.where(field1.greaterThan(100))
.execute();
Note that some databases support table expressions more complex than
simple table references. In CUBRID and MySQL, for instance, you can write
create.update(t1.join(t2).on(t1.id.eq(t2.id)))
.set(t1.value, value1)
.set(t2.value, value2)
.where(t1.id.eq(10))
.execute();
@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER,SYBASE}) <R extends Record> MergeUsingStep<R> mergeInto(Table<R> table)
This statement is available from DSL syntax only. It is known to be supported in some way by any of these dialects:
dialect | support type | documentation |
---|---|---|
CUBRID | SQL:2008 standard and some enhancements | http://www.cubrid.org/manual/90/en/MERGE |
DB2 | SQL:2008 standard and major enhancements | http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com. ibm.db2.udb.admin.doc/doc/r0010873.htm |
HSQLDB | SQL:2008 standard | http://hsqldb.org/doc/2.0/guide/dataaccess-chapt.html#N129BA |
Oracle | SQL:2008 standard and minor enhancements | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/ statements_9016.htm |
SQL Server | Similar to SQL:2008 standard with some major enhancements | http://msdn.microsoft.com/de-de/library/bb510625.aspx |
Sybase | Similar to SQL:2008 standard with some major enhancements | http://dcx.sybase.com/1100/en/dbreference_en11/merge-statement.html |
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table)
.using(select)
.on(condition)
.whenMatchedThenUpdate()
.set(field1, value1)
.set(field2, value2)
.whenNotMatchedThenInsert(field1, field2)
.values(value1, value2)
.execute();
Note: Using this method, you can also create an H2-specific MERGE
statement without field specification. See also
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1> MergeKeyStep1<R,T1> mergeInto(Table<R> table, Field<T1> field1)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2> MergeKeyStep2<R,T1,T2> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3> MergeKeyStep3<R,T1,T2,T3> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4> MergeKeyStep4<R,T1,T2,T3,T4> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5> MergeKeyStep5<R,T1,T2,T3,T4,T5> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6> MergeKeyStep6<R,T1,T2,T3,T4,T5,T6> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7> MergeKeyStep7<R,T1,T2,T3,T4,T5,T6,T7> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> MergeKeyStep8<R,T1,T2,T3,T4,T5,T6,T7,T8> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> MergeKeyStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> MergeKeyStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> MergeKeyStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> MergeKeyStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> MergeKeyStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> MergeKeyStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> MergeKeyStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> MergeKeyStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> MergeKeyStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> MergeKeyStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> MergeKeyStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> MergeKeyStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> MergeKeyStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
mergeInto(Table, Field...)
@Generated(value="This method was generated using jOOQ-tools") @Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> MergeKeyStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
mergeInto(Table, Field...)
@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record> MergeKeyStepN<R> mergeInto(Table<R> table, Field<?>... fields)
SQLDialect.H2
MERGE
) or SQLDialect.HANA
UPSERT
).
This statement is available from DSL syntax only. It is known to be supported in some way by any of these dialects:
H2 | H2 natively supports this special syntax | http://www.h2database.com/html/grammar.html#merge |
HANA | HANA natively supports this syntax | http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/fc06a7751910149892c0d09be21a38/content.htm |
PostgreSQL | This database can emulate the H2-specific MERGE statement via
INSERT .. ON CONFLICT DO UPDATE |
http://www.postgresql.org/docs/9.5/static/sql-insert.html |
DB2, HSQLDB, Oracle, SQL Server, Sybase SQL Anywhere | These databases can emulate the H2-specific MERGE statement using a standard SQL MERGE statement, without restrictions | See mergeInto(Table) for the standard MERGE statement |
@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) <R extends Record> MergeKeyStepN<R> mergeInto(Table<R> table, java.util.Collection<? extends Field<?>> fields)
mergeInto(Table, Field...)
@Support <R extends Record> DeleteQuery<R> deleteQuery(Table<R> table)
DeleteQuery
table
- The table to delete data fromDeleteQuery
@Support <R extends Record> DeleteWhereStep<R> deleteFrom(Table<R> table)
Example:
DSLContext create = DSL.using(configuration);
create.deleteFrom(table)
.where(field1.greaterThan(100))
.execute();
Some but not all databases support aliased tables in delete statements.
@Support <R extends Record> DeleteWhereStep<R> delete(Table<R> table)
This is an alias for deleteFrom(Table)
@Support Batch batch(Query... queries)
This essentially runs the following logic:
Statement s = connection.createStatement();
for (Query query : queries) {
s.addBatch(query.getSQL(true));
}
s.execute();
Statement.executeBatch()
@Support Batch batch(Queries queries)
This essentially runs the following logic:
Statement s = connection.createStatement();
for (Query query : queries) {
s.addBatch(query.getSQL(true));
}
s.execute();
Statement.executeBatch()
@Support Batch batch(java.lang.String... queries)
This is a convenience method for calling
.batch(query(queries[0]), query(queries[1]), ...)
query(String)
,
batch(Query...)
,
Statement.executeBatch()
@Support Batch batch(java.util.Collection<? extends Query> queries)
This essentially runs the following logic:
Statement s = connection.createStatement();
for (Query query : queries) {
s.addBatch(query.getSQL(true));
}
s.execute();
Statement.executeBatch()
@Support BatchBindStep batch(Query query)
When running
create.batch(query)
.bind(valueA1, valueA2)
.bind(valueB1, valueB2)
.execute();
This essentially runs the following logic:
Statement s = connection.prepareStatement(query.getSQL(false));
for (Object[] bindValues : allBindValues) {
for (Object bindValue : bindValues) {
s.setXXX(bindValue);
}
s.addBatch();
}
s.execute();
Note: bind values will be inlined to a static batch query as in
batch(Query...)
, if you choose to execute queries with
Settings.getStatementType()
== StatementType.STATIC_STATEMENT
Statement.executeBatch()
@Support BatchBindStep batch(java.lang.String sql)
This is a convenience method for calling
.batch(query(sql))
query(String)
,
batch(Query)
,
Statement.executeBatch()
@Support Batch batch(Query query, java.lang.Object[]... bindings)
This is a convenience method for calling batch(Query)
and then
binding values one by one using BatchBindStep.bind(Object...)
Note: bind values will be inlined to a static batch query as in
batch(Query...)
, if you choose to execute queries with
Settings.getStatementType()
== StatementType.STATIC_STATEMENT
batch(Query)
,
Statement.executeBatch()
@Support Batch batch(java.lang.String sql, java.lang.Object[]... bindings)
This is a convenience method for calling
.batch(query(sql), bindings)
query(String)
,
batch(Query, Object[][])
,
Statement.executeBatch()
@Support Batch batchStore(UpdatableRecord<?>... records)
INSERT
and
UPDATE
queries in batch mode (with bind values) according to
UpdatableRecord.store()
semantics.
This batch operation can be executed in two modes:
Settings.getStatementType()
== StatementType.PREPARED_STATEMENT
(the default)
In this mode, record order is preserved as much as possible, as long as
two subsequent records generate the same SQL (with bind variables). The
number of executed batch operations corresponds to
[number of distinct rendered SQL statements]
. In the worst
case, this corresponds to the number of total records.
The record type order is preserved in the way they are passed to this
method. This is an example of how statements will be ordered:
The above results in
// Let's assume, odd numbers result in INSERTs and even numbers in UPDATES
// Let's also assume a[n] are all of the same type, just as b[n], c[n]...
int[] result = create.batchStore(a1, a2, a3, b1, a4, c1, b3, a5)
.execute();
result.length == 8
and
the following 4 separate batch statements:
Settings.getStatementType()
== StatementType.STATIC_STATEMENT
This mode may be better for large and complex batch store operations, as the order of records is preserved entirely, and jOOQ can guarantee that only a single batch statement is serialised to the database.
This method (just like UpdatableRecord.store()
) does not
implement the semantics of an actual UPSERT
or
MERGE
statement, which delegates the decision of whether to
INSERT
or UPDATE
a record to the database. The
decision is made by the client (jOOQ) depending on whether each
individual record has been fetched from the database prior to storing it.
UpdatableRecord.store()
,
Statement.executeBatch()
@Support Batch batchStore(java.util.Collection<? extends UpdatableRecord<?>> records)
INSERT
and
UPDATE
queries in batch mode (with bind values) according to
UpdatableRecord.store()
semantics.batchStore(UpdatableRecord...)
,
UpdatableRecord.store()
,
Statement.executeBatch()
@Support Batch batchInsert(TableRecord<?>... records)
INSERT
queries
in batch mode (with bind values) according to
TableRecord.insert()
semantics.batchStore(UpdatableRecord...)
,
TableRecord.insert()
,
Statement.executeBatch()
@Support Batch batchInsert(java.util.Collection<? extends TableRecord<?>> records)
INSERT
queries
in batch mode (with bind values) according to
TableRecord.insert()
semantics.batchStore(UpdatableRecord...)
,
Statement.executeBatch()
@Support Batch batchUpdate(UpdatableRecord<?>... records)
UPDATE
queries
in batch mode (with bind values) according to
UpdatableRecord.update()
semantics.batchStore(UpdatableRecord...)
,
UpdatableRecord.update()
,
Statement.executeBatch()
@Support Batch batchUpdate(java.util.Collection<? extends UpdatableRecord<?>> records)
UPDATE
queries
in batch mode (with bind values) according to
UpdatableRecord.update()
semantics.batchStore(UpdatableRecord...)
,
UpdatableRecord.update()
,
Statement.executeBatch()
@Support Batch batchDelete(UpdatableRecord<?>... records)
DELETE
queries
in batch mode (with bind values) according to
UpdatableRecord.delete()
sematics.
This batch operation can be executed in two modes:
Settings.getStatementType()
== StatementType.PREPARED_STATEMENT
(the default)
In this mode, record order is preserved as much as possible, as long as
two subsequent records generate the same SQL (with bind variables). The
number of executed batch operations corresponds to
[number of distinct rendered SQL statements]
. In the worst
case, this corresponds to the number of total records.
The record type order is preserved in the way they are passed to this
method. This is an example of how statements will be ordered:
The above results in
// Let's assume a[n] are all of the same type, just as b[n], c[n]...
int[] result = create.batchDelete(a1, a2, a3, b1, a4, c1, c2, a5)
.execute();
result.length == 8
and
the following 5 separate batch statements:
Settings.getStatementType()
== StatementType.STATIC_STATEMENT
This mode may be better for large and complex batch delete operations, as the order of records is preserved entirely, and jOOQ can guarantee that only a single batch statement is serialised to the database.
UpdatableRecord.delete()
,
Statement.executeBatch()
@Support Batch batchDelete(java.util.Collection<? extends UpdatableRecord<?>> records)
DELETE
queries
in batch mode (with bind values) according to
UpdatableRecord.delete()
sematics.batchDelete(UpdatableRecord...)
,
UpdatableRecord.delete()
,
Statement.executeBatch()
Queries ddl(Catalog catalog)
ddl(Catalog, DDLFlag...)
Queries ddl(Catalog schema, DDLFlag... flags)
The following DDLFlag
can be set:
DDLFlag.SCHEMA
: If set, the catalog's SCHEMA
specification will be generated.DDLFlag.TABLE
: If set, the schema's TABLE
specification will be generated.DDLFlag.PRIMARY_KEY
: If set, a potential
PRIMARY KEY
constraint is specified inline with the table.
DDLFlag.UNIQUE
: If set, any potential UNIQUE
constraint is specified inline with the table.DDLFlag.FOREIGN_KEY
: If set, any potential
FOREIGN KEY
constraint is specified after all the tables, as
a separate ALTER TABLE .. ADD CONSTRAINT
statement.Queries ddl(Schema schema)
ddl(Schema, DDLFlag...)
Queries ddl(Schema schema, DDLFlag... flags)
The following DDLFlag
can be set:
DDLFlag.TABLE
: If set, the schema's TABLE
specification will be generated.DDLFlag.PRIMARY_KEY
: If set, a potential
PRIMARY KEY
constraint is specified inline with the table.
DDLFlag.UNIQUE
: If set, any potential UNIQUE
constraint is specified inline with the table.DDLFlag.FOREIGN_KEY
: If set, any potential
FOREIGN KEY
constraint is specified after all the tables, as
a separate ALTER TABLE .. ADD CONSTRAINT
statement.Queries ddl(Table<?> table)
ddl(Table, DDLFlag...)
Queries ddl(Table<?> table, DDLFlag... flags)
The following DDLFlag
can be set:
DDLFlag.TABLE
: If not set, this will generate nothing at all.
DDLFlag.PRIMARY_KEY
: If set, a potential
PRIMARY KEY
constraint is specified inline with the table.
DDLFlag.UNIQUE
: If set, any potential UNIQUE
constraint is specified inline with the table.DDLFlag.FOREIGN_KEY
: If set, any potential
FOREIGN KEY
constraint is specified inline with the table.
@Support(value={MARIADB,MYSQL,SQLSERVER}) Query setCatalog(java.lang.String catalog)
DSL.catalog(Name)
@Support(value={MARIADB,MYSQL,SQLSERVER}) Query setCatalog(Name catalog)
DSL.catalog(Name)
@Support(value={MARIADB,MYSQL,SQLSERVER}) Query setCatalog(Catalog catalog)
@Support(value={DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES}) Query setSchema(java.lang.String schema)
DSL.schema(Name)
@Support(value={DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES}) Query setSchema(Name schema)
DSL.schema(Name)
@Support(value={DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES}) Query setSchema(Schema schema)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchema(java.lang.String schema)
CREATE SCHEMA
statement.DSL.createSchema(String)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchema(Name schema)
CREATE SCHEMA
statement.DSL.createSchema(Name)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchema(Schema schema)
CREATE SCHEMA
statement.DSL.createSchema(Schema)
@Support(value={DB2,H2,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchemaIfNotExists(java.lang.String schema)
CREATE SCHEMA
statement.DSL.createSchemaIfNotExists(String)
@Support(value={DB2,H2,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchemaIfNotExists(Name schema)
CREATE SCHEMA
statement.DSL.createSchemaIfNotExists(Name)
@Support(value={DB2,H2,POSTGRES,SQLSERVER}) CreateSchemaFinalStep createSchemaIfNotExists(Schema schema)
CREATE SCHEMA
statement.DSL.createSchemaIfNotExists(Schema)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,SQLITE}) CreateTableAsStep<Record> createTable(java.lang.String table)
CREATE TABLE
statement.DSL.createTable(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,SQLITE}) CreateTableAsStep<Record> createTable(Name table)
CREATE TABLE
statement.DSL.createTable(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLSERVER,SYBASE,SQLITE}) CreateTableAsStep<Record> createTable(Table<?> table)
CREATE TABLE
statement.DSL.createTable(Table)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateTableAsStep<Record> createTableIfNotExists(java.lang.String table)
CREATE TABLE
statement.DSL.createTableIfNotExists(String)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateTableAsStep<Record> createTableIfNotExists(Name table)
CREATE TABLE
statement.DSL.createTableIfNotExists(Name)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateTableAsStep<Record> createTableIfNotExists(Table<?> table)
CREATE TABLE
statement.DSL.createTableIfNotExists(Table)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createTemporaryTable(java.lang.String table)
CREATE TEMPORARY TABLE
statement.DSL.createTemporaryTable(String)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createTemporaryTable(Name table)
CREATE TEMPORARY TABLE
statement.DSL.createTemporaryTable(Name)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createTemporaryTable(Table<?> table)
CREATE TEMPORARY TABLE
statement.DSL.createTemporaryTable(Table)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createGlobalTemporaryTable(java.lang.String table)
CREATE GLOBAL TEMPORARY TABLE
statement.DSL.createGlobalTemporaryTable(String)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createGlobalTemporaryTable(Name table)
CREATE GLOBAL TEMPORARY TABLE
statement.DSL.createGlobalTemporaryTable(Name)
@Support(value={MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT}) CreateTableAsStep<Record> createGlobalTemporaryTable(Table<?> table)
CREATE GLOBAL TEMPORARY TABLE
statement.DSL.createGlobalTemporaryTable(Table)
@Support CreateViewAsStep<Record> createView(java.lang.String view, java.lang.String... fields)
CREATE VIEW
statement.DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(Name view, Name... fields)
CREATE VIEW
statement.DSL.createView(Name, Name...)
@Support CreateViewAsStep<Record> createView(Table<?> view, Field<?>... fields)
CREATE VIEW
statement.DSL.createView(Table, Field...)
@Support CreateViewAsStep<Record> createView(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(String, String...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(String, String...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(Name, Name...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(Name, Name...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support CreateViewAsStep<Record> createView(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
CREATE VIEW
statement.
This works like createView(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
DSL.createView(String, String...)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.lang.String... fields)
CREATE VIEW
statement.@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Name view, Name... fields)
CREATE VIEW
statement.DSL.createViewIfNotExists(Name, Name...)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, Field<?>... fields)
CREATE VIEW
statement.@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(String, String...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(String, String...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(Name, Name...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(Name, Name...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,VERTICA}) CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
CREATE VIEW
statement.
This works like createViewIfNotExists(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndex(java.lang.String index)
CREATE INDEX
statement.DSL.createIndex(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndex(Name index)
CREATE INDEX
statement.DSL.createIndex(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndex(Index index)
CREATE INDEX
statement.DSL.createIndex(Index)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndexIfNotExists(java.lang.String index)
CREATE INDEX IF NOT EXISTS
statement.DSL.createIndexIfNotExists(String)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndexIfNotExists(Name index)
CREATE INDEX IF NOT EXISTS
statement.DSL.createIndexIfNotExists(Name)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createIndexIfNotExists(Index index)
CREATE INDEX IF NOT EXISTS
statement.DSL.createIndexIfNotExists(Index)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndex(java.lang.String index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndex(Name index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndex(Index index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(Index)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndexIfNotExists(java.lang.String index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(String)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndexIfNotExists(Name index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(Name)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) CreateIndexStep createUniqueIndexIfNotExists(Index index)
CREATE UNIQUE INDEX
statement.DSL.createIndex(Index)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequence(java.lang.String sequence)
CREATE SEQUENCE
statement.DSL.createSequence(String)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequence(Name sequence)
CREATE SEQUENCE
statement.DSL.createSequence(Name)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequence(Sequence<?> sequence)
CREATE SEQUENCE
statement.DSL.createSequence(String)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequenceIfNotExists(java.lang.String sequence)
CREATE SEQUENCE
statement.DSL.createSequenceIfNotExists(String)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequenceIfNotExists(Name sequence)
CREATE SEQUENCE
statement.DSL.createSequenceIfNotExists(Name)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) CreateSequenceFinalStep createSequenceIfNotExists(Sequence<?> sequence)
CREATE SEQUENCE
statement.DSL.createSequenceIfNotExists(String)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) AlterSequenceStep<java.math.BigInteger> alterSequence(java.lang.String sequence)
ALTER SEQUENCE
statement.DSL.alterSequence(String)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) AlterSequenceStep<java.math.BigInteger> alterSequence(Name sequence)
ALTER SEQUENCE
statement.DSL.alterSequence(Name)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) <T extends java.lang.Number> AlterSequenceStep<T> alterSequence(Sequence<T> sequence)
ALTER SEQUENCE
statement.DSL.alterSequence(Sequence)
@Support(value={ORACLE,POSTGRES}) AlterSequenceStep<java.math.BigInteger> alterSequenceIfExists(java.lang.String sequence)
ALTER SEQUENCE
statement.DSL.alterSequenceIfExists(String)
@Support(value={ORACLE,POSTGRES}) AlterSequenceStep<java.math.BigInteger> alterSequenceIfExists(Name sequence)
ALTER SEQUENCE
statement.DSL.alterSequenceIfExists(Name)
@Support(value={ORACLE,POSTGRES}) <T extends java.lang.Number> AlterSequenceStep<T> alterSequenceIfExists(Sequence<T> sequence)
ALTER SEQUENCE
statement.DSL.alterSequenceIfExists(Sequence)
@Support AlterTableStep alterTable(java.lang.String table)
ALTER TABLE
statement.DSL.alterTable(String)
@Support AlterTableStep alterTable(Name table)
ALTER TABLE
statement.DSL.alterTable(Name)
@Support AlterTableStep alterTable(Table<?> table)
ALTER TABLE
statement.DSL.alterTable(Table)
@Support(value={DB2,H2,ORACLE,POSTGRES,SQLSERVER}) AlterTableStep alterTableIfExists(java.lang.String table)
ALTER TABLE
statement.DSL.alterTableIfExists(String)
@Support(value={DB2,H2,ORACLE,POSTGRES,SQLSERVER}) AlterTableStep alterTableIfExists(Name table)
ALTER TABLE
statement.DSL.alterTableIfExists(Name)
@Support(value={DB2,H2,ORACLE,POSTGRES,SQLSERVER}) AlterTableStep alterTableIfExists(Table<?> table)
ALTER TABLE
statement.DSL.alterTableIfExists(Table)
@Support(value={HSQLDB,POSTGRES}) AlterSchemaStep alterSchema(java.lang.String schema)
ALTER SCHEMA
statement.DSL.alterSchema(String)
@Support(value={HSQLDB,POSTGRES}) AlterSchemaStep alterSchema(Name schema)
ALTER SCHEMA
statement.DSL.alterSchema(Name)
@Support(value={HSQLDB,POSTGRES}) AlterSchemaStep alterSchema(Schema schema)
ALTER SCHEMA
statement.DSL.alterSchema(Schema)
@Support(value=POSTGRES) AlterSchemaStep alterSchemaIfExists(java.lang.String schema)
ALTER SCHEMA
statement.DSL.alterSchemaIfExists(String)
@Support(value=POSTGRES) AlterSchemaStep alterSchemaIfExists(Name schema)
ALTER SCHEMA
statement.DSL.alterSchemaIfExists(Name)
@Support(value=POSTGRES) AlterSchemaStep alterSchemaIfExists(Schema schema)
ALTER SCHEMA
statement.DSL.alterSchemaIfExists(Schema)
@Support(value={HSQLDB,ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterView(java.lang.String view)
ALTER VIEW
statement.DSL.alterView(String)
@Support(value={HSQLDB,ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterView(Name view)
ALTER VIEW
statement.DSL.alterView(Name)
@Support(value={HSQLDB,ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterView(Table<?> view)
ALTER VIEW
statement.DSL.alterView(Table)
@Support(value={ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterViewIfExists(java.lang.String view)
ALTER VIEW
statement.DSL.alterViewIfExists(String)
@Support(value={ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterViewIfExists(Name view)
ALTER VIEW
statement.DSL.alterViewIfExists(Name)
@Support(value={ORACLE,POSTGRES,SQLSERVER}) AlterViewStep alterViewIfExists(Table<?> view)
ALTER VIEW
statement.DSL.alterViewIfExists(Table)
@Support(value={DB2,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexStep alterIndex(java.lang.String index)
ALTER INDEX
statement.DSL.alterIndex(String)
@Support(value={DB2,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexStep alterIndex(Name index)
ALTER INDEX
statement.DSL.alterIndex(Name)
@Support(value={DB2,H2,HSQLDB,ORACLE,POSTGRES}) AlterIndexStep alterIndex(Index index)
ALTER INDEX
statement.DSL.alterIndex(Name)
@Support(value={DB2,H2,ORACLE,POSTGRES}) AlterIndexStep alterIndexIfExists(java.lang.String index)
ALTER INDEX
statement.DSL.alterIndexIfExists(String)
@Support(value={DB2,H2,ORACLE,POSTGRES}) AlterIndexStep alterIndexIfExists(Name index)
ALTER INDEX
statement.DSL.alterIndexIfExists(Name)
@Support(value={DB2,H2,ORACLE,POSTGRES}) AlterIndexStep alterIndexIfExists(Index index)
ALTER INDEX
statement.DSL.alterIndexIfExists(Name)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchema(java.lang.String schema)
DROP SCHEMA
statement.DSL.dropSchema(String)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchema(Name schema)
DROP SCHEMA
statement.DSL.dropSchema(Name)
@Support(value={DB2,DERBY,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchema(Schema schema)
DROP SCHEMA
statement.DSL.dropSchema(Schema)
@Support(value={DB2,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchemaIfExists(java.lang.String schema)
DROP SCHEMA
statement.DSL.dropSchemaIfExists(String)
@Support(value={DB2,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchemaIfExists(Name schema)
DROP SCHEMA
statement.DSL.dropSchemaIfExists(Name)
@Support(value={DB2,H2,HSQLDB,POSTGRES,SQLSERVER}) DropSchemaStep dropSchemaIfExists(Schema schema)
DROP SCHEMA
statement.DSL.dropSchemaIfExists(Schema)
@Support DropViewFinalStep dropView(java.lang.String view)
DROP VIEW
statement.DSL.dropView(String)
@Support DropViewFinalStep dropView(Name view)
DROP VIEW
statement.DSL.dropView(Name)
@Support DropViewFinalStep dropView(Table<?> view)
DROP VIEW
statement.DSL.dropView(Table)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropViewFinalStep dropViewIfExists(java.lang.String view)
DROP VIEW IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropViewIfExists(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropViewFinalStep dropViewIfExists(Name view)
DROP VIEW IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropViewIfExists(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropViewFinalStep dropViewIfExists(Table<?> view)
DROP VIEW IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropViewIfExists(Table)
@Support DropTableStep dropTable(java.lang.String table)
DROP TABLE
statement.DSL.dropTable(String)
@Support DropTableStep dropTable(Name table)
DROP TABLE
statement.DSL.dropTable(Name)
@Support DropTableStep dropTable(Table<?> table)
DROP TABLE
statement.DSL.dropTable(Table)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropTableStep dropTableIfExists(java.lang.String table)
DROP TABLE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropTableIfExists(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropTableStep dropTableIfExists(Name table)
DROP TABLE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropTableIfExists(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropTableStep dropTableIfExists(Table<?> table)
DROP TABLE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropTableIfExists(Table)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndex(java.lang.String index)
DROP INDEX
statement.DSL.dropIndex(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndex(Name index)
DROP INDEX
statement.DSL.dropIndex(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndex(Index index)
DROP INDEX
statement.DSL.dropIndex(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndexIfExists(java.lang.String index)
DROP INDEX IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropIndexIfExists(String)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndexIfExists(Name index)
DROP INDEX IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropIndexIfExists(Name)
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) DropIndexOnStep dropIndexIfExists(Index index)
DROP INDEX IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropIndexIfExists(Name)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequence(java.lang.String sequence)
DROP SEQUENCE
statement.DSL.dropSequence(String)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequence(Name sequence)
DROP SEQUENCE
statement.DSL.dropSequence(Name)
@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequence(Sequence<?> sequence)
DROP SEQUENCE
statement.DSL.dropSequence(Sequence)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequenceIfExists(java.lang.String sequence)
DROP SEQUENCE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropSequenceIfExists(String)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequenceIfExists(Name sequence)
DROP SEQUENCE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropSequenceIfExists(Name)
@Support(value={CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) DropSequenceFinalStep dropSequenceIfExists(Sequence<?> sequence)
DROP SEQUENCE IF EXISTS
statement.
If your database doesn't natively support IF EXISTS
, this is
emulated by catching (and ignoring) the relevant SQLException
.
DSL.dropSequenceIfExists(Sequence)
@Support TruncateIdentityStep<Record> truncate(java.lang.String table)
Example:
DSLContext create = DSL.using(configuration);
create.truncate(table)
.execute();
TRUNCATE
Most dialects implement the TRUNCATE
statement. If it is not
supported, it is emulated using an equivalent DELETE
statement. This is particularly true for these dialects:
TRUNCATE
Some statements also support extensions of the TRUNCATE
statement, such as Postgres:
create.truncate(table)
.restartIdentity()
.cascade()
.execute();
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
truncate(Table)
@Support TruncateIdentityStep<Record> truncate(Name table)
Example:
DSLContext create = DSL.using(configuration);
create.truncate(table)
.execute();
TRUNCATE
Most dialects implement the TRUNCATE
statement. If it is not
supported, it is emulated using an equivalent DELETE
statement. This is particularly true for these dialects:
TRUNCATE
Some statements also support extensions of the TRUNCATE
statement, such as Postgres:
create.truncate(table)
.restartIdentity()
.cascade()
.execute();
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
truncate(Name)
@Support <R extends Record> TruncateIdentityStep<R> truncate(Table<R> table)
Example:
DSLContext create = DSL.using(configuration);
create.truncate(table)
.execute();
TRUNCATE
Most dialects implement the TRUNCATE
statement. If it is not
supported, it is emulated using an equivalent DELETE
statement. This is particularly true for these dialects:
TRUNCATE
Some statements also support extensions of the TRUNCATE
statement, such as Postgres:
create.truncate(table)
.restartIdentity()
.cascade()
.execute();
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
@Support(value={ASE,CUBRID,DERBY,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) java.math.BigInteger lastID() throws DataAccessException
This is implemented for the following dialects:
SQLDialect.ACCESS
: Using @@identity
SQLDialect.ASE
: Using @@identity
SQLDialect.CUBRID
: Using last_insert_id()
SQLDialect.DERBY
: Using identity_val_local()
SQLDialect.H2
: Using identity()
SQLDialect.HSQLDB
: Using identity()
SQLDialect.INFORMIX
: Using
dbinfo('sqlca.sqlerrd1')
SQLDialect.INGRES
: Using last_identity()
SQLDialect.MARIADB
: Using last_insert_id()
SQLDialect.MYSQL
: Using last_insert_id()
SQLDialect.POSTGRES
: Using lastval()
SQLDialect.SQLITE
: Using last_insert_rowid()
SQLDialect.SQLSERVER
: Using @@identity
SQLDialect.SYBASE
: Using @@identity
SQLDialect.VERTICA
: Using last_insert_id()
null
in some
dialects, if no such number is available.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) java.math.BigInteger nextval(java.lang.String sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) java.math.BigInteger nextval(Name sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) <T extends java.lang.Number> T nextval(Sequence<T> sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) java.math.BigInteger currval(java.lang.String sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) java.math.BigInteger currval(Name sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query@Support(value={CUBRID,DB2,FIREBIRD,H2,HANA,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) <T extends java.lang.Number> T currval(Sequence<T> sequence) throws DataAccessException
DSLContext
's underlying JDBC Connection
.DataAccessException
- if something went wrong executing the query<R extends UDTRecord<R>> R newRecord(UDT<R> type)
UDTRecord
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
R
- The generic record typetype
- The UDT describing records of type <R><R extends Record> R newRecord(Table<R> table)
Record
that can be inserted into the corresponding
table.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
R
- The generic record typetable
- The table holding records of type <R><R extends Record> R newRecord(Table<R> table, java.lang.Object source)
Record
that can be inserted into the
corresponding table.
This performs roughly the inverse operation of Record.into(Class)
The resulting record will have its internal "changed" flags set to true
for all values. This means that UpdatableRecord.store()
will
perform an INSERT
statement. If you wish to store the record
using an UPDATE
statement, use
executeUpdate(UpdatableRecord)
instead.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
R
- The generic record typetable
- The table holding records of type <R>source
- The source to be used to fill the new recordMappingException
- wrapping any reflection or data type conversion
exception that might have occurred while mapping recordsRecord.from(Object)
,
Record.into(Class)
Record newRecord(Field<?>... fields)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
fields
- The fields defining the Record
type@Generated(value="This method was generated using jOOQ-tools") <T1> Record1<T1> newRecord(Field<T1> field1)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2> Record2<T1,T2> newRecord(Field<T1> field1, Field<T2> field2)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3> Record3<T1,T2,T3> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4> Record4<T1,T2,T3,T4> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5> Record5<T1,T2,T3,T4,T5> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6> Record6<T1,T2,T3,T4,T5,T6> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7> Record7<T1,T2,T3,T4,T5,T6,T7> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8> Record8<T1,T2,T3,T4,T5,T6,T7,T8> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9> Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
<R extends Record> Result<R> newResult(Table<R> table)
Result
.
The result is attached to this Configuration
by default. This
result can be used as a container for records.
R
- The generic record typetable
- The table holding records of type <R>Result<Record> newResult(Field<?>... fields)
Record
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
fields
- The fields defining the Record
type@Generated(value="This method was generated using jOOQ-tools") <T1> Result<Record1<T1>> newResult(Field<T1> field1)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2> Result<Record2<T1,T2>> newResult(Field<T1> field1, Field<T2> field2)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3> Result<Record3<T1,T2,T3>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4> Result<Record4<T1,T2,T3,T4>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5> Result<Record5<T1,T2,T3,T4,T5>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6> Result<Record6<T1,T2,T3,T4,T5,T6>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7> Result<Record7<T1,T2,T3,T4,T5,T6,T7>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8> Result<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9> Result<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Result<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> Result<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> Result<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> Result<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> Result<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> Result<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Result<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> Result<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> Result<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> Result<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> Result<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> Result<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
@Generated(value="This method was generated using jOOQ-tools") <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> Result<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Result
.
The resulting result is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
<R extends Record> Result<R> fetch(ResultQuery<R> query) throws DataAccessException
ResultQuery
in the context of this DSLContext
and return
results.query
- The query to executenull
.DataAccessException
- if something went wrong executing the queryResultQuery.fetch()
<R extends Record> Cursor<R> fetchLazy(ResultQuery<R> query) throws DataAccessException
ResultQuery
in the context of this DSLContext
and return
a cursor.query
- The query to executenull
.DataAccessException
- if something went wrong executing the queryResultQuery.fetchLazy()
<R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(ResultQuery<R> query)
CompletionStage
.
The result is asynchronously completed by a task running in an
Executor
provided by the Scope.configuration()
's
Configuration.executorProvider()
.
query
- The query to executenull
.ResultQuery.fetchAsync()
<R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, ResultQuery<R> query)
CompletionStage
that is asynchronously
completed by a task running in the given executor.query
- The query to executenull
.ResultQuery.fetchAsync()
<R extends Record> java.util.stream.Stream<R> fetchStream(ResultQuery<R> query) throws DataAccessException
ResultQuery
in the context of this DSLContext
and return
a stream.query
- The query to executeDataAccessException
- if something went wrong executing the queryResultQuery.stream()
<R extends Record> Results fetchMany(ResultQuery<R> query) throws DataAccessException
ResultQuery
in the context of this DSLContext
and return
a cursor.query
- The query to executenull
.DataAccessException
- if something went wrong executing the queryResultQuery.fetchMany()
<R extends Record> R fetchOne(ResultQuery<R> query) throws DataAccessException, TooManyRowsException
ResultQuery
in the context of this DSLContext
and return
a record.query
- The query to executenull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordResultQuery.fetchOne()
<R extends Record> R fetchSingle(ResultQuery<R> query) throws DataAccessException, NoDataFoundException, TooManyRowsException
ResultQuery
in the context of this DSLContext
and return
a record.query
- The query to executenull
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned no rowsTooManyRowsException
- if the query returned more than one recordResultQuery.fetchSingle()
<R extends Record> java.util.Optional<R> fetchOptional(ResultQuery<R> query) throws DataAccessException, TooManyRowsException
ResultQuery
in the context of this DSLContext
and return
a record.query
- The query to executeDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordResultQuery.fetchOptional()
<T,R extends Record1<T>> T fetchValue(ResultQuery<R> query) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultQuery
in the context of this
DSLContext
and return a single value.query
- The query to executenull
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value<T> T fetchValue(TableField<?,T> field) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultQuery
in the context of this
DSLContext
and return a single value.field
- The field for which to fetch a single value.null
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value<T,R extends Record1<T>> java.util.Optional<T> fetchOptionalValue(ResultQuery<R> query) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultQuery
in the context of this
DSLContext
and return a single value.query
- The query to executeDataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value<T> java.util.Optional<T> fetchOptionalValue(TableField<?,T> field) throws DataAccessException, TooManyRowsException, InvalidResultException
ResultQuery
in the context of this
DSLContext
and return a single value.field
- The field for which to fetch a single value.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one recordInvalidResultException
- if the query returned a record with more
than one value<T,R extends Record1<T>> java.util.List<T> fetchValues(ResultQuery<R> query) throws DataAccessException
ResultQuery
in the context of this
DSLContext
and return all values for the only column.query
- The query to executenull
.DataAccessException
- if something went wrong executing the query<T> java.util.List<T> fetchValues(TableField<?,T> field) throws DataAccessException
Table
's TableField
.field
- The field for which to fetch all values.null
.DataAccessException
- if something went wrong executing the query<R extends TableRecord<R>> Result<R> fetchByExample(R example) throws DataAccessException
example
- The example recordDataAccessException
- if something went wrong executing the queryDSL.condition(Record)
int fetchCount(Select<?> query) throws DataAccessException
Select
query in the context of this DSLContext
and return
a COUNT(*)
value.
This wraps a pre-existing SELECT
query in another one to
calculate the COUNT(*)
value, without modifying the original
SELECT
. An example:
This is particularly useful for those databases that do not
support the
-- Original query:
SELECT id, title FROM book WHERE title LIKE '%a%'
-- Wrapped query:
SELECT count(*) FROM (
SELECT id, title FROM book WHERE title LIKE '%a%'
)
COUNT(*) OVER()
window function to calculate
total results in paged queries.
query
- The wrapped queryCOUNT(*)
resultDataAccessException
- if something went wrong executing the queryint fetchCount(Table<?> table) throws DataAccessException
This executes SELECT COUNT(*) FROM table
table
- The table whose records to countDataAccessException
- if something went wrong executing the queryint fetchCount(Table<?> table, Condition condition) throws DataAccessException
This executes SELECT COUNT(*) FROM table WHERE condition
table
- The table whose records to countDataAccessException
- if something went wrong executing the queryboolean fetchExists(Select<?> query) throws DataAccessException
Select
would return any records, if it were executed.
This wraps a pre-existing SELECT
query in another one to
check for result existence, without modifying the original
SELECT
. An example:
-- Original query:
SELECT id, title FROM book WHERE title LIKE '%a%'
-- Wrapped query:
SELECT EXISTS (
SELECT id, title FROM book WHERE title LIKE '%a%'
)
query
- The wrapped queryEXISTS(...)
resultDataAccessException
- if something went wrong executing the queryboolean fetchExists(Table<?> table) throws DataAccessException
This executes SELECT EXISTS(SELECT * FROM table)
table
- The table whose records to countDataAccessException
- if something went wrong executing the queryboolean fetchExists(Table<?> table, Condition condition) throws DataAccessException
This executes SELECT EXISTS(SELECT * FROM table WHERE condition)
table
- The table whose records to countDataAccessException
- if something went wrong executing the queryint execute(Query query) throws DataAccessException
Query
in the context of this DSLContext
.query
- The query to executeDataAccessException
- if something went wrong executing the queryQuery.execute()
@Support <R extends Record> Result<R> fetch(Table<R> table) throws DataAccessException
SELECT * FROM [table]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.DataAccessException
- if something went wrong executing the query@Support <R extends Record> Result<R> fetch(Table<R> table, Condition condition) throws DataAccessException
SELECT * FROM [table] WHERE [condition]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.DataAccessException
- if something went wrong executing the query@Support <R extends Record> R fetchOne(Table<R> table) throws DataAccessException, TooManyRowsException
SELECT * FROM [table]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support <R extends Record> R fetchOne(Table<R> table, Condition condition) throws DataAccessException, TooManyRowsException
SELECT * FROM [table] WHERE [condition]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
, if no record was found.DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support <R extends Record> R fetchSingle(Table<R> table) throws DataAccessException, NoDataFoundException, TooManyRowsException
SELECT * FROM [table]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned now rowsTooManyRowsException
- if the query returned more than one record@Support <R extends Record> R fetchSingle(Table<R> table, Condition condition) throws DataAccessException, NoDataFoundException, TooManyRowsException
SELECT * FROM [table] WHERE [condition]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
.DataAccessException
- if something went wrong executing the queryNoDataFoundException
- if the query returned now rowsTooManyRowsException
- if the query returned more than one record@Support <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table) throws DataAccessException, TooManyRowsException
SELECT * FROM [table]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table, Condition condition) throws DataAccessException, TooManyRowsException
SELECT * FROM [table] WHERE [condition]
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
DataAccessException
- if something went wrong executing the queryTooManyRowsException
- if the query returned more than one record@Support <R extends Record> R fetchAny(Table<R> table) throws DataAccessException
SELECT * FROM [table] LIMIT 1
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
if no record was returnedDataAccessException
- if something went wrong executing the query@Support <R extends Record> R fetchAny(Table<R> table, Condition condition) throws DataAccessException
SELECT * FROM [table] WHERE [condition] LIMIT 1
.
The resulting record is attached to this Configuration
by
default. Use Settings.isAttachRecords()
to override this
behaviour.
null
if no record was returnedDataAccessException
- if something went wrong executing the query@Support <R extends Record> Cursor<R> fetchLazy(Table<R> table) throws DataAccessException
SELECT * FROM [table]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.DataAccessException
- if something went wrong executing the query@Support <R extends Record> Cursor<R> fetchLazy(Table<R> table, Condition condition) throws DataAccessException
SELECT * FROM [table] WHERE [condition]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.DataAccessException
- if something went wrong executing the query@Support <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table)
SELECT * FROM [table]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.@Support <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table, Condition condition)
SELECT * FROM [table] WHERE [condition]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.@Support <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table)
SELECT * FROM [table]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.@Support <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table, Condition condition)
SELECT * FROM [table] WHERE [condition]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
null
.@Support <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table) throws DataAccessException
SELECT * FROM [table]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
DataAccessException
- if something went wrong executing the query@Support <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table, Condition condition) throws DataAccessException
SELECT * FROM [table] WHERE [condition]
.
The result and its contained records are attached to this
Configuration
by default. Use Settings.isAttachRecords()
to override this behaviour.
DataAccessException
- if something went wrong executing the query@Support <R extends TableRecord<R>> int executeInsert(R record) throws DataAccessException
This executes something like the following statement:
INSERT INTO [table] ... VALUES [record]
Unlike UpdatableRecord.store()
, this does not change any of the
argument record
's internal "changed" flags, such that a
subsequent call to UpdatableRecord.store()
might lead to another
INSERT
statement being executed.
DataAccessException
- if something went wrong executing the query@Support <R extends UpdatableRecord<R>> int executeUpdate(R record) throws DataAccessException
UPDATE [table] SET [modified values in record] WHERE [record is supplied record]
DataAccessException
- if something went wrong executing the query@Support <R extends TableRecord<R>,T> int executeUpdate(R record, Condition condition) throws DataAccessException
UPDATE [table] SET [modified values in record] WHERE [condition]
DataAccessException
- if something went wrong executing the query@Support <R extends UpdatableRecord<R>> int executeDelete(R record) throws DataAccessException
DELETE FROM [table] WHERE [record is supplied record]
DataAccessException
- if something went wrong executing the query@Support <R extends TableRecord<R>,T> int executeDelete(R record, Condition condition) throws DataAccessException
DELETE FROM [table] WHERE [condition]
DataAccessException
- if something went wrong executing the queryCopyright © 2018. All Rights Reserved.