primaryKey
PRIMARY KEY
constraint.AccessDSL
, ASEDSL
, CUBRIDDSL
, DB2DSL
, DerbyDSL
, FirebirdDSL
, H2DSL
, HanaDSL
, HSQLDBDSL
, InformixDSL
, IngresDSL
, MariaDBDSL
, MySQLDSL
, OracleDSL
, PostgresDSL
, RedshiftDSL
, SQLiteDSL
, SQLServerDSL
, SybaseDSL
, VerticaDSL
org.jooq
interfaces.
The DSLContext
and this DSL
are the main entry point for
client code, to access jOOQ classes and functionality. Here, you can
instantiate all of those objects that cannot be accessed through other
objects. For example, to create a Field
representing a constant
value, you can write:
Field<String> field = DSL.val("Hello World")
Another example is the EXISTS
clause, which you can apply to any
SELECT
to form a Condition
:
Condition condition = DSL.exists(DSL.select(...));
For increased fluency and readability of your jOOQ client code, it is
recommended that you static import all methods from the DSL
. For
example:
import static org.jooq.impl.DSL.*;
public class Main {
public static void main(String[] args) {
DSL.select(val("Hello"), inline("World"));
// DSL.val ^^^ ^^^^^^ DSL.inline
}
}
In order to use the "contextual DSL", call one of the various overloaded
using(Configuration)
methods:
// Create and immediately execute a SELECT statement:
DSL.using(connection, dialect)
.selectOne()
.fetch();
DSLContext
ABS
function.abs(T number)
ABS
function.static @NotNull Field<BigDecimal>
ACOS
function.static @NotNull Field<BigDecimal>
ACOS
function.static <T> @NotNull AggregateFunction<T>
aggregate()
can be used to access native or user-defined
aggregate functions that are not yet or insufficiently supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregate()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregate()
can be used to access native or user-defined
aggregate functions that are not yet or insufficiently supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregate()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregateDistinct(String name,
Class<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregateDistinct(String name,
DataType<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregateDistinct(Name name,
Class<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull AggregateFunction<T>
aggregateDistinct(Name name,
DataType<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.static <T> @NotNull QuantifiedSelect<Record1<T>>
ALL
quantified select to be used in quantified
comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>
ALL
quantified select to be used in quantified
comparison predicate expressions.static <R extends Record>
@NotNull QuantifiedSelect<R>
ALL
quantified select to be used in quantified
comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>
all(T... array)
ALL
quantified select to be used in quantified
comparison predicate expressions.static AlterDatabaseStep
alterDatabase(String database)
ALTER DATABASE
statement.static AlterDatabaseStep
alterDatabase(Catalog database)
ALTER DATABASE
statement.static AlterDatabaseStep
alterDatabase(Name database)
ALTER DATABASE
statement.static AlterDatabaseStep
alterDatabaseIfExists(String database)
ALTER DATABASE IF EXISTS
statement.static AlterDatabaseStep
alterDatabaseIfExists(Catalog database)
ALTER DATABASE IF EXISTS
statement.static AlterDatabaseStep
alterDatabaseIfExists(Name database)
ALTER DATABASE IF EXISTS
statement.static <T> AlterDomainStep<T>
alterDomain(String domain)
ALTER DOMAIN
statement.static <T> AlterDomainStep<T>
alterDomain(Domain<T> domain)
ALTER DOMAIN
statement.static <T> AlterDomainStep<T>
alterDomain(Name domain)
ALTER DOMAIN
statement.static <T> AlterDomainStep<T>
alterDomainIfExists(String domain)
ALTER DOMAIN IF EXISTS
statement.static <T> AlterDomainStep<T>
alterDomainIfExists(Domain<T> domain)
ALTER DOMAIN IF EXISTS
statement.static <T> AlterDomainStep<T>
alterDomainIfExists(Name domain)
ALTER DOMAIN IF EXISTS
statement.static AlterIndexOnStep
alterIndex(String index)
ALTER INDEX
statement.static AlterIndexOnStep
alterIndex(Index index)
ALTER INDEX
statement.static AlterIndexOnStep
alterIndex(Name index)
ALTER INDEX
statement.static AlterIndexOnStep
alterIndexIfExists(String index)
ALTER INDEX IF EXISTS
statement.static AlterIndexOnStep
alterIndexIfExists(Index index)
ALTER INDEX IF EXISTS
statement.static AlterIndexOnStep
alterIndexIfExists(Name index)
ALTER INDEX IF EXISTS
statement.static AlterSchemaStep
alterSchema(String schema)
ALTER SCHEMA
statement.static AlterSchemaStep
alterSchema(Name schema)
ALTER SCHEMA
statement.static AlterSchemaStep
alterSchema(Schema schema)
ALTER SCHEMA
statement.static AlterSchemaStep
alterSchemaIfExists(String schema)
ALTER SCHEMA IF EXISTS
statement.static AlterSchemaStep
alterSchemaIfExists(Name schema)
ALTER SCHEMA IF EXISTS
statement.static AlterSchemaStep
alterSchemaIfExists(Schema schema)
ALTER SCHEMA IF EXISTS
statement.static AlterSequenceStep<Number>
alterSequence(String sequence)
ALTER SEQUENCE
statement.static AlterSequenceStep<Number>
alterSequence(Name sequence)
ALTER SEQUENCE
statement.static <T extends Number>
AlterSequenceStep<T>
alterSequence(Sequence<T> sequence)
ALTER SEQUENCE
statement.static AlterSequenceStep<Number>
alterSequenceIfExists(String sequence)
ALTER SEQUENCE IF EXISTS
statement.static AlterSequenceStep<Number>
alterSequenceIfExists(Name sequence)
ALTER SEQUENCE IF EXISTS
statement.static <T extends Number>
AlterSequenceStep<T>
alterSequenceIfExists(Sequence<T> sequence)
ALTER SEQUENCE IF EXISTS
statement.static @NotNull AlterTableStep
alterTable(String table)
ALTER TABLE
statement.static @NotNull AlterTableStep
alterTable(Name table)
ALTER TABLE
statement.static @NotNull AlterTableStep
alterTable(Table<?> table)
ALTER TABLE
statement.static @NotNull AlterTableStep
alterTableIfExists(String table)
ALTER TABLE
statement.static @NotNull AlterTableStep
alterTableIfExists(Name table)
ALTER TABLE
statement.static @NotNull AlterTableStep
alterTableIfExists(Table<?> table)
ALTER TABLE
statement.static AlterTypeStep
ALTER TYPE
statement.static AlterTypeStep
ALTER TYPE
statement.static AlterViewStep
ALTER VIEW
statement.static AlterViewStep
ALTER VIEW
statement.static AlterViewStep
ALTER VIEW
statement.static AlterViewStep
alterViewIfExists(String view)
ALTER VIEW IF EXISTS
statement.static AlterViewStep
alterViewIfExists(Name view)
ALTER VIEW IF EXISTS
statement.static AlterViewStep
alterViewIfExists(Table<?> view)
ALTER VIEW IF EXISTS
statement.static @NotNull Condition
and(Collection<? extends Condition> conditions)
static @NotNull Condition
static @NotNull Condition
static <T> @NotNull QuantifiedSelect<Record1<T>>
ANY
quantified select to be used in quantified
comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>
ANY
quantified select to be used in quantified
comparison predicate expressions.static <R extends Record>
@NotNull QuantifiedSelect<R>
ANY
quantified select to be used in quantified
comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>
any(T... array)
ANY
quantified select to be used in quantified
comparison predicate expressions.static <T> @NotNull AggregateFunction<T>
ANY_VALUE
function.static <T> @NotNull Field<T[]>
array(Collection<? extends Field<T>> fields)
static <T> @NotNull Field<T[]>
static <T> @NotNull Field<T[]>
array(select)
function.static <T> @NotNull Field<T[]>
array(T... values)
static <T> @NotNull ArrayAggOrderByStep<T[]>
array_agg()
aggregate function.static <T> @NotNull ArrayAggOrderByStep<T[]>
arrayAggDistinct(Field<T> field)
array_agg()
aggregate function.static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
ASCII
function.ASCII
function.static @NotNull Field<BigDecimal>
ASIN
function.static @NotNull Field<BigDecimal>
ASIN
function.static @NotNull Asterisk
asterisk()
*
) to be used in SELECT
clauses.static @NotNull Field<BigDecimal>
ATAN
function.static @NotNull Field<BigDecimal>
ATAN
function.static @NotNull Field<BigDecimal>
ATAN2
function.static @NotNull Field<BigDecimal>
ATAN2
function.static @NotNull Field<BigDecimal>
ATAN2
function.static @NotNull Field<BigDecimal>
ATAN2
function.static @NotNull AggregateFunction<BigDecimal>
static @NotNull AggregateFunction<BigDecimal>
avgDistinct(Field<? extends Number> field)
static @NotNull Block
begin(Collection<? extends Statement> statements)
static @NotNull Block
bitAnd(T value1,
T value2)
static <T extends Number>
@NotNull AggregateFunction<T>
BIT_AND_AGG
function.BIT_COUNT(field)
function, counting the number of
bits that are set in this number.BIT_COUNT(field)
function, counting the number of
bits that are set in this number.BIT_LENGTH
function.BIT_LENGTH
function.bitNand(T value1,
T value2)
bitNor(T value1,
T value2)
bitNot(T value)
bitOr(T value1,
T value2)
static <T extends Number>
@NotNull AggregateFunction<T>
BIT_OR_AGG
function.bitXNor(T value1,
T value2)
bitXor(T value1,
T value2)
static <T extends Number>
@NotNull AggregateFunction<T>
BIT_XOR_AGG
function.static @NotNull AggregateFunction<Boolean>
static @NotNull AggregateFunction<Boolean>
static @NotNull AggregateFunction<Boolean>
static @NotNull AggregateFunction<Boolean>
static CallArgsStep
CALL
statement.static CallArgsStep
CALL
statement.cardinality(Field<? extends Object[]> field)
static @NotNull Case
case_()
Case
statement.static <V> @NotNull CaseValueStep<V>
Case
statement.static <V> @NotNull CaseValueStep<V>
case_(V value)
Case
statement.static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static <T> @NotNull Field<T>
static @NotNull Catalog
static @NotNull Catalog
CEIL
function.ceil(T value)
CEIL
function.static @NotNull CharacterSet
characterSet(String characterSet)
static @NotNull CharacterSet
characterSet(Name characterSet)
charLength(String string)
CHAR_LENGTH
function.charLength(Field<String> string)
CHAR_LENGTH
function.static @NotNull ConstraintEnforcementStep
CHECK
constraint.static @NotNull Case
choose()
Case
statement.static <T> @NotNull Field<T>
CHOOSE()
function.static <T> @NotNull Field<T>
choose(int index,
T... values)
CHOOSE()
function.static <T> @NotNull Field<T>
CHOOSE()
function.static <T> @NotNull Field<T>
CHOOSE()
function.static <V> @NotNull CaseValueStep<V>
Case
statement.static <V> @NotNull CaseValueStep<V>
choose(V value)
Case
statement.CHR
function.CHR
function.static <T> @NotNull Field<T>
COALESCE(field1, field2, ...
static <T> @NotNull Field<T>
The COALESCE(field, value)
function.
static <T> @NotNull Field<T>
coalesce(T value,
T... values)
The COALESCE(value1, value2, ...
static <T> @NotNull Field<T>
Coerce this field to another type.
static <T> @NotNull Field<T>
Coerce a field to another type.
static <T> @NotNull Field<T>
Coerce this field to the type of another field.
static <T> @NotNull Field<T>
Coerce this field to another type.
static <T> @NotNull Field<T>
Coerce a field to another type.
static <T> @NotNull Field<T>
Coerce this field to the type of another field.
static @NotNull Collation
Create a collation by its unqualified name.
static @NotNull Collation
Create a collation by its qualified name.
static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>
Get the collect()
aggregate function.
static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>
Get the collect()
aggregate function.
static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>
collectDistinct(Field<T> field,
Class<A> type)
Get the collect()
aggregate function.
static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>
collectDistinct(Field<T> field,
DataType<A> type)
Get the collect()
aggregate function.
static @NotNull Comment
Create a comment.
static CommentOnIsStep
commentOnColumn(String field)
The COMMENT ON COLUMN
statement.
static CommentOnIsStep
commentOnColumn(Field<?> field)
The COMMENT ON COLUMN
statement.
static CommentOnIsStep
commentOnColumn(Name field)
The COMMENT ON COLUMN
statement.
static CommentOnIsStep
commentOnTable(String table)
The COMMENT ON TABLE
statement.
static CommentOnIsStep
commentOnTable(Name table)
The COMMENT ON TABLE
statement.
static CommentOnIsStep
commentOnTable(Table<?> table)
The COMMENT ON TABLE
statement.
static CommentOnIsStep
commentOnView(String view)
The COMMENT ON VIEW
statement.
static CommentOnIsStep
commentOnView(Name view)
The COMMENT ON VIEW
statement.
static CommentOnIsStep
commentOnView(Table<?> view)
The COMMENT ON VIEW
statement.
Get the concat(value[, value, ...]) function.
Get the concat(value, field)
function.
Get the concat(field[, field, ...]) function.
Get the concat(field, value)
function.
static @NotNull Condition
Create a condition from a boolean field.
static @NotNull Condition
Create a new condition holding plain SQL.
static @NotNull Condition
Create a new condition holding plain SQL.
static @NotNull Condition
A custom SQL clause that can render arbitrary SQL elements.
static @NotNull Condition
Create a condition from a map.
static @NotNull Condition
Create a condition from a boolean field.
static @NotNull Condition
condition(Operator operator,
Collection<? extends Condition> conditions)
Return a Condition
that connects all argument
conditions
with Operator
.
static @NotNull Condition
Return a Condition
that connects all argument
conditions
with Operator
.
static @NotNull Condition
Return a Condition
that connects all argument
conditions
with Operator
.
static @NotNull Condition
static @NotNull Condition
Create a new condition holding plain SQL.
The CONNECT_BY_IS_CYCLE
function.
The CONNECT_BY_IS_LEAF
function.
static <T> @NotNull Field<T>
connectByRoot(Field<T> field)
The CONNECT_BY_ROOT
function.
static @NotNull ConstraintTypeStep
Create an unnamed (system named) CONSTRAINT
specification.
static @NotNull ConstraintTypeStep
constraint(String name)
Create a CONSTRAINT
specification.
static @NotNull ConstraintTypeStep
constraint(Name name)
Create a CONSTRAINT
specification.
static @NotNull ContinueWhenStep
Create an CONTINUE
statement for use in procedural code.
static @NotNull ContinueWhenStep
Create an CONTINUE
statement for use in procedural code.
static @NotNull Statement
continueWhen(Condition condition)
Create an CONTINUE
statement for use in procedural code.
static @NotNull Statement
continueWhen(Field<Boolean> condition)
Create an CONTINUE
statement for use in procedural code.
static <T> @NotNull Field<T>
Convert a date time value to a string value using the SQL Server style
CONVERT()
function.
static <T> @NotNull Field<T>
Convert a date time value to a string value using the SQL Server style
CONVERT()
function.
static @NotNull AggregateFunction<BigDecimal>
The CORR
function.
static @NotNull Field<BigDecimal>
The COS
function.
static @NotNull Field<BigDecimal>
The COS
function.
static @NotNull Field<BigDecimal>
The COSH
function.
static @NotNull Field<BigDecimal>
The COSH
function.
static @NotNull Field<BigDecimal>
The COT
function.
static @NotNull Field<BigDecimal>
The COT
function.
static @NotNull Field<BigDecimal>
The COTH
function.
static @NotNull Field<BigDecimal>
The COTH
function.
static @NotNull AggregateFunction<Integer>
count()
Get the count(*) function.
static @NotNull AggregateFunction<Integer>
Get the count(field) function.
static @NotNull AggregateFunction<Integer>
count(SelectFieldOrAsterisk field)
Get the count(field) function.
static @NotNull AggregateFunction<Integer>
Get the count(table) function.
static @NotNull AggregateFunction<Integer>
countDistinct(Field<?> field)
Get the count(distinct field) function.
static @NotNull AggregateFunction<Integer>
countDistinct(Field<?>... fields)
Get the count(distinct field1, field2) function.
static @NotNull AggregateFunction<Integer>
countDistinct(SelectFieldOrAsterisk field)
Get the count(distinct field) function.
static @NotNull AggregateFunction<Integer>
countDistinct(Table<?> table)
Get the count(distinct table) function.
static @NotNull AggregateFunction<BigDecimal>
The COVAR_POP
function.
static @NotNull AggregateFunction<BigDecimal>
The COVAR_SAMP
function.
static CreateDatabaseFinalStep
createDatabase(String database)
The CREATE DATABASE
statement.
static CreateDatabaseFinalStep
createDatabase(Catalog database)
The CREATE DATABASE
statement.
static CreateDatabaseFinalStep
createDatabase(Name database)
The CREATE DATABASE
statement.
static CreateDatabaseFinalStep
createDatabaseIfNotExists(String database)
The CREATE DATABASE IF NOT EXISTS
statement.
static CreateDatabaseFinalStep
createDatabaseIfNotExists(Catalog database)
The CREATE DATABASE IF NOT EXISTS
statement.
static CreateDatabaseFinalStep
createDatabaseIfNotExists(Name database)
The CREATE DATABASE IF NOT EXISTS
statement.
static CreateDomainAsStep
createDomain(String domain)
The CREATE DOMAIN
statement.
static CreateDomainAsStep
createDomain(Domain<?> domain)
The CREATE DOMAIN
statement.
static CreateDomainAsStep
createDomain(Name domain)
The CREATE DOMAIN
statement.
static CreateDomainAsStep
createDomainIfNotExists(String domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
static CreateDomainAsStep
createDomainIfNotExists(Domain<?> domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
static CreateDomainAsStep
createDomainIfNotExists(Name domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
static CreateFunctionParametersStep
createFunction(String function)
The CREATE FUNCTION
statement.
static CreateFunctionParametersStep
createFunction(Name function)
The CREATE FUNCTION
statement.
static @NotNull CreateTableColumnStep
createGlobalTemporaryTable(String table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createGlobalTemporaryTable(Name table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createGlobalTemporaryTable(Table<?> table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
static CreateIndexStep
The CREATE INDEX
statement.
static CreateIndexStep
createIndex(String index)
The CREATE INDEX
statement.
static CreateIndexStep
createIndex(Index index)
The CREATE INDEX
statement.
static CreateIndexStep
createIndex(Name index)
The CREATE INDEX
statement.
static CreateIndexStep
The CREATE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createIndexIfNotExists(String index)
The CREATE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createIndexIfNotExists(Index index)
The CREATE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createIndexIfNotExists(Name index)
The CREATE INDEX IF NOT EXISTS
statement.
static CreateFunctionParametersStep
createOrReplaceFunction(String function)
The CREATE OR REPLACE FUNCTION
statement.
static CreateFunctionParametersStep
createOrReplaceFunction(Name function)
The CREATE OR REPLACE FUNCTION
statement.
createOrReplaceProcedure(String procedure)
The CREATE OR REPLACE PROCEDURE
statement.
createOrReplaceProcedure(Name procedure)
The CREATE OR REPLACE PROCEDURE
statement.
static CreateTriggerEventStep
createOrReplaceTrigger(String trigger)
The CREATE OR REPLACE TRIGGER
statement.
static CreateTriggerEventStep
createOrReplaceTrigger(Name trigger)
The CREATE OR REPLACE TRIGGER
statement.
static @NotNull CreateViewAsStep
createOrReplaceView(String view,
String... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
static @NotNull CreateViewAsStep
createOrReplaceView(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createOrReplaceView(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createOrReplaceView(Name view,
Name... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
static @NotNull CreateViewAsStep
createOrReplaceView(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createOrReplaceView(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
createProcedure(String procedure)
The CREATE PROCEDURE
statement.
createProcedure(Name procedure)
The CREATE PROCEDURE
statement.
static CreateSchemaFinalStep
createSchema(String schema)
The CREATE SCHEMA
statement.
static CreateSchemaFinalStep
createSchema(Name schema)
The CREATE SCHEMA
statement.
static CreateSchemaFinalStep
createSchema(Schema schema)
The CREATE SCHEMA
statement.
static CreateSchemaFinalStep
createSchemaIfNotExists(String schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
static CreateSchemaFinalStep
createSchemaIfNotExists(Name schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
static CreateSchemaFinalStep
createSchemaIfNotExists(Schema schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
static CreateSequenceFlagsStep
createSequence(String sequence)
The CREATE SEQUENCE
statement.
static CreateSequenceFlagsStep
createSequence(Name sequence)
The CREATE SEQUENCE
statement.
static CreateSequenceFlagsStep
createSequence(Sequence<?> sequence)
The CREATE SEQUENCE
statement.
static CreateSequenceFlagsStep
createSequenceIfNotExists(String sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
static CreateSequenceFlagsStep
createSequenceIfNotExists(Name sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
static CreateSequenceFlagsStep
createSequenceIfNotExists(Sequence<?> sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
static @NotNull CreateTableColumnStep
createTable(String table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTable(Name table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTable(Table<?> table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTableIfNotExists(String table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTableIfNotExists(Name table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTableIfNotExists(Table<?> table)
Create a new DSL CREATE TABLE
statement.
static @NotNull CreateTableColumnStep
createTemporaryTable(String table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createTemporaryTable(Name table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createTemporaryTable(Table<?> table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
Create a new DSL CREATE TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createTemporaryTableIfNotExists(Name table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
static @NotNull CreateTableColumnStep
createTemporaryTableIfNotExists(Table<?> table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
static CreateTriggerEventStep
createTrigger(String trigger)
The CREATE TRIGGER
statement.
static CreateTriggerEventStep
createTrigger(Name trigger)
The CREATE TRIGGER
statement.
static @NotNull CreateTypeStep
createType(String type)
Create a new DSL CREATE TYPE
statement.
static @NotNull CreateTypeStep
createType(Name type)
Create a new DSL CREATE TYPE
statement.
static CreateIndexStep
The CREATE UNIQUE INDEX
statement.
static CreateIndexStep
createUniqueIndex(String index)
The CREATE UNIQUE INDEX
statement.
static CreateIndexStep
createUniqueIndex(Index index)
The CREATE UNIQUE INDEX
statement.
static CreateIndexStep
createUniqueIndex(Name index)
The CREATE UNIQUE INDEX
statement.
static CreateIndexStep
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createUniqueIndexIfNotExists(String index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createUniqueIndexIfNotExists(Index index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
static CreateIndexStep
createUniqueIndexIfNotExists(Name index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
static @NotNull CreateViewAsStep
createView(String view,
String... fields)
Create a new DSL CREATE VIEW
statement.
static @NotNull CreateViewAsStep
createView(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createView(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createView(Name view,
Name... fields)
Create a new DSL CREATE VIEW
statement.
static @NotNull CreateViewAsStep
createView(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createView(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE VIEW
statement.
static @NotNull CreateViewAsStep
createViewIfNotExists(String view,
String... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
static @NotNull CreateViewAsStep
createViewIfNotExists(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createViewIfNotExists(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createViewIfNotExists(Name view,
Name... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
static @NotNull CreateViewAsStep
createViewIfNotExists(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull CreateViewAsStep
createViewIfNotExists(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
static @NotNull GroupField
Create a CUBE(field1, field2, .., fieldn) grouping field.
static @NotNull GroupField
cube(FieldOrRow... fields)
Create a CUBE(field1, field2, .., fieldn) grouping field.
static @NotNull WindowOverStep<BigDecimal>
cumeDist()
The cume_dist() over ([analytic clause])
function.
static @NotNull OrderedAggregateFunction<BigDecimal>
cumeDist(Collection<? extends Field<?>> fields)
The cume_dist(expr) within group (order by [order clause])
ordered-set aggregate function.
static @NotNull OrderedAggregateFunction<BigDecimal>
The cume_dist(expr) within group (order by [order clause])
ordered-set aggregate function.
The CURRENT_CATALOG
function.
Get the current_date() function returning a SQL standard
SQLDataType.DATE
type.
Get the current_timestamp() function.
Get the current_date() function returning a SQL standard
SQLDataType.DATE
type.
static @NotNull Field<LocalDateTime>
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type.
static @NotNull Field<LocalDateTime>
currentLocalDateTime(int precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
static @NotNull Field<LocalDateTime>
currentLocalDateTime(Field<Integer> precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
Get the current_time() function returning a SQL standard
SQLDataType.TIME
type.
static @NotNull Field<OffsetDateTime>
Get the current_timestamp() function.
static @NotNull Field<OffsetTime>
Get the current_time() function.
The CURRENT_SCHEMA
function.
Get the current_time() function returning a SQL standard
SQLDataType.TIME
type.
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type.
currentTimestamp(int precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
currentTimestamp(Field<Integer> precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
The CURRENT_USER
function.
Convert a string value to a DATE
.
Convert a temporal value to a DATE
.
Convert a temporal value to a DATE
.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
The DATE_ADD
function.
Get the date difference between endDate - startDate
in
number of days.
Get the date difference between endDate - startDate
in
number of days.
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in
number of days.
Get the date difference between endDate - startDate
in
number of days.
Subtract an interval from a date.
Subtract an interval from a date, given a date part.
Subtract an interval from a date, given a date part.
Subtract an interval from a date, given a date part.
Subtract an interval from a date.
Subtract an interval from a date, given a date part.
Get the day part of a date.
Get the day part of a date.
Get the day part of a date.
Get the day of week part of a date.
Get the day of week part of a date.
Get the day of week part of a date.
Get the day of week part of a date.
Get the day of week part of a date.
Get the day of week part of a date.
Get the decade of a date.
Get the decade of a date.
Get the decade of a date.
static @NotNull Statement
declare(Collection<? extends Variable<?>> variables)
Create a local variable declaration for use in procedural code.
static @NotNull Statement
Create a local variable declaration for use in procedural code.
static <T> @NotNull Declaration<T>
Create a local variable declaration for use in procedural code.
static @NotNull Case
decode()
Initialise a Case
statement.
static <Z,
T> @NotNull Field<Z>
Gets the Oracle-style
DECODE(expression, search, result[, search , result]...
static <Z,
T> @NotNull Field<Z>
Gets the Oracle-style
DECODE(expression, search, result[, search , result]...
static <Z,
T> @NotNull Field<Z>
decode(T value,
T search,
Z result)
Gets the Oracle-style
DECODE(expression, search, result[, search , result]...
static <Z,
T> @NotNull Field<Z>
Gets the Oracle-style
DECODE(expression, search, result[, search , result]...
default_()
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
defaultValue(Class<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
defaultValue(DataType<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static <T> @NotNull Field<T>
defaultValue(Field<T> field)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
static @NotNull Field<BigDecimal>
The DEG
function.
static @NotNull Field<BigDecimal>
The DEG
function.
static <R extends Record>
@NotNull DeleteUsingStep<R>
Create a new DSL delete statement.
static <R extends Record>
@NotNull DeleteUsingStep<R>
deleteFrom(Table<R> table)
Create a new DSL delete statement.
static @NotNull Condition
deleting()
The DELETING
function.
static @NotNull WindowOverStep<Integer>
The dense_rank() over ([analytic clause])
function.
static @NotNull OrderedAggregateFunction<Integer>
denseRank(Collection<? extends Field<?>> fields)
The dense_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
static @NotNull OrderedAggregateFunction<Integer>
The dense_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
The DIGITS
function.
The DIGITS
function.
static @NotNull Domain<?>
Create a DOMAIN
reference.
static @NotNull Domain<?>
Create a DOMAIN
reference.
static DropDatabaseFinalStep
dropDatabase(String database)
The DROP DATABASE
statement.
static DropDatabaseFinalStep
dropDatabase(Catalog database)
The DROP DATABASE
statement.
static DropDatabaseFinalStep
dropDatabase(Name database)
The DROP DATABASE
statement.
static DropDatabaseFinalStep
dropDatabaseIfExists(String database)
The DROP DATABASE IF EXISTS
statement.
static DropDatabaseFinalStep
dropDatabaseIfExists(Catalog database)
The DROP DATABASE IF EXISTS
statement.
static DropDatabaseFinalStep
dropDatabaseIfExists(Name database)
The DROP DATABASE IF EXISTS
statement.
static DropDomainCascadeStep
dropDomain(String domain)
The DROP DOMAIN
statement.
static DropDomainCascadeStep
dropDomain(Domain<?> domain)
The DROP DOMAIN
statement.
static DropDomainCascadeStep
dropDomain(Name domain)
The DROP DOMAIN
statement.
static DropDomainCascadeStep
dropDomainIfExists(String domain)
The DROP DOMAIN IF EXISTS
statement.
static DropDomainCascadeStep
dropDomainIfExists(Domain<?> domain)
The DROP DOMAIN IF EXISTS
statement.
static DropDomainCascadeStep
dropDomainIfExists(Name domain)
The DROP DOMAIN IF EXISTS
statement.
static DDLQuery
dropFunction(String function)
The DROP FUNCTION
statement.
static DDLQuery
dropFunction(Name function)
The DROP FUNCTION
statement.
static DDLQuery
dropFunctionIfExists(String function)
The DROP FUNCTION IF EXISTS
statement.
static DDLQuery
dropFunctionIfExists(Name function)
The DROP FUNCTION IF EXISTS
statement.
static DropIndexOnStep
The DROP INDEX
statement.
static DropIndexOnStep
The DROP INDEX
statement.
static DropIndexOnStep
The DROP INDEX
statement.
static DropIndexOnStep
dropIndexIfExists(String index)
The DROP INDEX IF EXISTS
statement.
static DropIndexOnStep
dropIndexIfExists(Index index)
The DROP INDEX IF EXISTS
statement.
static DropIndexOnStep
dropIndexIfExists(Name index)
The DROP INDEX IF EXISTS
statement.
static DDLQuery
dropProcedure(String procedure)
The DROP PROCEDURE
statement.
static DDLQuery
dropProcedure(Name procedure)
The DROP PROCEDURE
statement.
static DDLQuery
dropProcedureIfExists(String procedure)
The DROP PROCEDURE IF EXISTS
statement.
static DDLQuery
dropProcedureIfExists(Name procedure)
The DROP PROCEDURE IF EXISTS
statement.
static DropSchemaStep
dropSchema(String schema)
The DROP SCHEMA
statement.
static DropSchemaStep
dropSchema(Name schema)
The DROP SCHEMA
statement.
static DropSchemaStep
dropSchema(Schema schema)
The DROP SCHEMA
statement.
static DropSchemaStep
dropSchemaIfExists(String schema)
The DROP SCHEMA IF EXISTS
statement.
static DropSchemaStep
dropSchemaIfExists(Name schema)
The DROP SCHEMA IF EXISTS
statement.
static DropSchemaStep
dropSchemaIfExists(Schema schema)
The DROP SCHEMA IF EXISTS
statement.
static DropSequenceFinalStep
dropSequence(String sequence)
The DROP SEQUENCE
statement.
static DropSequenceFinalStep
dropSequence(Name sequence)
The DROP SEQUENCE
statement.
static DropSequenceFinalStep
dropSequence(Sequence<?> sequence)
The DROP SEQUENCE
statement.
static DropSequenceFinalStep
dropSequenceIfExists(String sequence)
The DROP SEQUENCE IF EXISTS
statement.
static DropSequenceFinalStep
dropSequenceIfExists(Name sequence)
The DROP SEQUENCE IF EXISTS
statement.
static DropSequenceFinalStep
dropSequenceIfExists(Sequence<?> sequence)
The DROP SEQUENCE IF EXISTS
statement.
static DropTableStep
The DROP TABLE
statement.
static DropTableStep
The DROP TABLE
statement.
static DropTableStep
The DROP TABLE
statement.
static DropTableStep
dropTableIfExists(String table)
The DROP TABLE IF EXISTS
statement.
static DropTableStep
dropTableIfExists(Name table)
The DROP TABLE IF EXISTS
statement.
static DropTableStep
dropTableIfExists(Table<?> table)
The DROP TABLE IF EXISTS
statement.
static DropTableStep
dropTemporaryTable(String table)
The DROP TEMPORARY TABLE
statement.
static DropTableStep
dropTemporaryTable(Name table)
The DROP TEMPORARY TABLE
statement.
static DropTableStep
dropTemporaryTable(Table<?> table)
The DROP TEMPORARY TABLE
statement.
static DropTableStep
dropTemporaryTableIfExists(String table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
static DropTableStep
dropTemporaryTableIfExists(Name table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
static DropTableStep
dropTemporaryTableIfExists(Table<?> table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
static DDLQuery
dropTrigger(String trigger)
The DROP TRIGGER
statement.
static DDLQuery
dropTrigger(Name trigger)
The DROP TRIGGER
statement.
static DDLQuery
dropTriggerIfExists(String trigger)
The DROP TRIGGER IF EXISTS
statement.
static DDLQuery
dropTriggerIfExists(Name trigger)
The DROP TRIGGER IF EXISTS
statement.
static @NotNull DropTypeStep
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropType(Collection<?> type)
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropTypeIfExists(String type)
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropTypeIfExists(String... type)
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropTypeIfExists(Collection<?> type)
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropTypeIfExists(Name type)
Create a new DSL DROP TYPE
statement.
static @NotNull DropTypeStep
dropTypeIfExists(Name... type)
Create a new DSL DROP TYPE
statement.
static DropViewFinalStep
The DROP VIEW
statement.
static DropViewFinalStep
The DROP VIEW
statement.
static DropViewFinalStep
The DROP VIEW
statement.
static DropViewFinalStep
dropViewIfExists(String view)
The DROP VIEW IF EXISTS
statement.
static DropViewFinalStep
dropViewIfExists(Name view)
The DROP VIEW IF EXISTS
statement.
static DropViewFinalStep
dropViewIfExists(Table<?> view)
The DROP VIEW IF EXISTS
statement.
dual()
The DUAL
table to be used for syntactic completeness.
static @NotNull Field<BigDecimal>
e()
The E
function.
Get the epoch of a date.
Get the epoch of a date.
Get the epoch of a date.
static @NotNull String
Convenience method for replace(Field, String, String)
to escape
data for use with Field.like(Field, char)
.
Convenience method for replace(Field, String, String)
to escape
data for use with Field.like(Field, char)
.
static @NotNull AggregateFunction<Boolean>
Get the every value over a condition: every(condition).
static @NotNull AggregateFunction<Boolean>
Get the every value over a field: every(field).
static @NotNull Statement
Execute a statement dynamically from within procedural code.
static @NotNull Statement
Execute a statement dynamically from within procedural code.
static @NotNull Statement
Execute a statement dynamically from within procedural code.
static @NotNull Condition
Create an exists condition.
static @NotNull ExitWhenStep
exit()
Create an EXIT
statement for use in procedural code.
static @NotNull ExitWhenStep
Create an EXIT
statement for use in procedural code.
static @NotNull Statement
Create an EXIT
statement for use in procedural code.
static @NotNull Statement
Create an EXIT
statement for use in procedural code.
static @NotNull Field<BigDecimal>
The EXP
function.
static @NotNull Field<BigDecimal>
The EXP
function.
Get the extract(field, datePart) function.
Get the extract(field, datePart) function.
Get the extract(field, datePart) function.
static @NotNull False
Return a Condition
that will always evaluate to false.
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
A custom SQL clause that can render arbitrary SQL elements.
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
A custom SQL clause that can render arbitrary SQL elements.
Transform a condition into a boolean field.
Get the MySQL FIELD(expr, expr1, expr2, ...)
function.
Get the MySQL FIELD(expr, expr1, expr2, ...)
function.
Create a qualified field, given its (qualified) field name.
static <T> @NotNull Field<T>
Create a qualified field, given its (qualified) field name.
static <T> @NotNull Field<T>
Create a qualified field, given its (qualified) field name.
static <T> @NotNull Field<T>
Create a qualified field, given its (qualified) field name.
static <T> @NotNull Field<T>
Transform a subquery into a correlated subquery.
static <T> @NotNull Field<T>
field(SelectField<T> field)
Wrap a SelectField
in a general-purpose Field
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
Create a "plain SQL" field.
static <T> @NotNull Field<T>
fieldByName(Class<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name, Class)
instead
fieldByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name)
instead
static <T> @NotNull Field<T>
fieldByName(DataType<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name, DataType)
instead
static <T> @NotNull WindowIgnoreNullsStep<T>
firstValue(Field<T> field)
The first_value(field) over ([analytic clause])
function.
The FLOOR
function.
floor(T value)
The FLOOR
function.
static <T> @NotNull ForInStep<T>
Create a FOR
loop for use in procedural code.
static @NotNull ConstraintForeignKeyReferencesStep1<?>
foreignKey(String field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStepN
foreignKey(String... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep2<?,?>
foreignKey(String field1,
String field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?>
foreignKey(String field1,
String field2,
String field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?>
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep8<?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep9<?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep10<?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep11<?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep12<?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep13<?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep14<?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep15<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep16<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep17<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep18<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep19<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep20<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep21<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20,
String field21)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep22<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20,
String field21,
String field22)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStepN
foreignKey(Collection<? extends Field<?>> fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStepN
foreignKey(Field<?>... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
static <T1> @NotNull ConstraintForeignKeyReferencesStep1<T1>
foreignKey(Field<T1> field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2> @NotNull ConstraintForeignKeyReferencesStep2<T1,T2>
foreignKey(Field<T1> field1,
Field<T2> field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3> @NotNull ConstraintForeignKeyReferencesStep3<T1,T2,T3>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4>
@NotNull ConstraintForeignKeyReferencesStep4<T1,T2,T3,T4>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5>
@NotNull ConstraintForeignKeyReferencesStep5<T1,T2,T3,T4,T5>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull ConstraintForeignKeyReferencesStep6<T1,T2,T3,T4,T5,T6>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull ConstraintForeignKeyReferencesStep7<T1,T2,T3,T4,T5,T6,T7>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull ConstraintForeignKeyReferencesStep8<T1,T2,T3,T4,T5,T6,T7,T8>
foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull ConstraintForeignKeyReferencesStep9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull ConstraintForeignKeyReferencesStep10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull ConstraintForeignKeyReferencesStep11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull ConstraintForeignKeyReferencesStep12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull ConstraintForeignKeyReferencesStep13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull ConstraintForeignKeyReferencesStep14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull ConstraintForeignKeyReferencesStep15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull ConstraintForeignKeyReferencesStep16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull ConstraintForeignKeyReferencesStep17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull ConstraintForeignKeyReferencesStep18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull ConstraintForeignKeyReferencesStep19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull ConstraintForeignKeyReferencesStep20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull ConstraintForeignKeyReferencesStep21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull ConstraintForeignKeyReferencesStep22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep1<?>
foreignKey(Name field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStepN
foreignKey(Name... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep2<?,?>
foreignKey(Name field1,
Name field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?>
foreignKey(Name field1,
Name field2,
Name field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?>
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?>
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep8<?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep9<?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep10<?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep11<?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep12<?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep13<?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep14<?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep15<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep16<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep17<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep18<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep19<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep20<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep21<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20,
Name field21)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static @NotNull ConstraintForeignKeyReferencesStep22<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?>
foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20,
Name field21,
Name field22)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
static <T> @NotNull Field<T>
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
static <T> @NotNull Field<T>
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
static <T> @NotNull Field<T>
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
static <T> @NotNull Field<T>
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
generateSeries(int from,
int to)
A table function generating a series of values from from
to
to
(inclusive).
generateSeries(int from,
int to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(int from,
int to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(int from,
Field<Integer> to)
A table function generating a series of values from from
to
to
(inclusive).
generateSeries(int from,
Field<Integer> to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(int from,
Field<Integer> to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(Field<Integer> from,
int to)
A table function generating a series of values from from
to
to
(inclusive).
generateSeries(Field<Integer> from,
int to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(Field<Integer> from,
int to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
generateSeries(Field<Integer> from,
Field<Integer> to)
A table function generating a series of values from from
to
to
(inclusive).
generateSeries(Field<Integer> from,
Field<Integer> to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
static <T> @NotNull DataType<T>
getDataType(Class<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.11.0 - [#7483] - The (indirect) use of the internal
static data type registry is not recommended.
static @NotNull Statement
Create an GOTO
statement for use in procedural code.
static GrantOnStep
grant(Collection<? extends Privilege> privileges)
The GRANT
statement.
static GrantOnStep
The GRANT
statement.
static GrantOnStep
The GRANT
statement.
static <T> @NotNull Field<T>
Find the greatest among all values.
static <T> @NotNull Field<T>
greatest(T value,
T... values)
Find the greatest among all values.
static @NotNull GroupConcatOrderByStep
groupConcat(Field<?> field)
Get the aggregated concatenation for a field.
static @NotNull AggregateFunction<String>
groupConcat(Field<?> field,
String separator)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#7956] - 3.12.0 - Use groupConcat(Field)
and
GroupConcatSeparatorStep.separator(String)
instead.
static @NotNull GroupConcatOrderByStep
groupConcatDistinct(Field<?> field)
Get the aggregated concatenation for a field.
groupId()
Create a GROUP_ID()
aggregation function to be used along
with CUBE
, ROLLUP
, and
GROUPING SETS
groupings.
Create a GROUPING(field) aggregation field to be used along with
CUBE
, ROLLUP
, and GROUPING SETS
groupings.
groupingId(Field<?>... fields)
Create a GROUPING_ID(field1, field2, .., fieldn) aggregation field to be
used along with CUBE
, ROLLUP
, and
GROUPING SETS
groupings.
static @NotNull GroupField
groupingSets(Collection<? extends Field<?>>... fieldSets)
Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna,
fieldnb)) grouping field.
static @NotNull GroupField
groupingSets(Field<?>... fields)
Create a GROUPING SETS(field1, field2, .., fieldn) grouping field where
each grouping set only consists of a single field.
static @NotNull GroupField
groupingSets(Field<?>[]... fieldSets)
Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna,
fieldnb)) grouping field.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationRowsAndStep
groupsBetweenFollowing(int number)
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationRowsAndStep
groupsBetweenPreceding(int number)
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationExcludeStep
groupsFollowing(int number)
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationExcludeStep
groupsPreceding(int number)
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a GROUPS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a GROUPS
clause.
Get the hour part of a date.
Get the hour part of a date.
Get the hour part of a date.
static @NotNull IfThenStep
Create an IF
statement for use in procedural code.
static <T> @NotNull Field<T>
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
static <T> @NotNull Field<T>
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
static <T> @NotNull Field<T>
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
static <T> @NotNull Field<T>
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
static <T> @NotNull Field<T>
The IFNULL()
function, a synonym of NVL()
.
static <T> @NotNull Field<T>
The IFNULL()
function, a synonym of NVL()
.
static <T> @NotNull Field<T>
The IFNULL()
function, a synonym of NVL()
.
static <T> @NotNull Field<T>
ifnull(T value,
T defaultValue)
The IFNULL()
function, a synonym of NVL()
.
static <T> @NotNull Field<T>
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
static <T> @NotNull Field<T>
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
static <T> @NotNull Field<T>
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
static <T> @NotNull Field<T>
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
static <T> @NotNull Parameter<T>
Create an IN
parameter.
static <T> @NotNull Parameter<T>
Create an IN
parameter.
static @NotNull Index
Create a qualified index reference by name.
inline(boolean value)
Create a bind value that is always inlined.
inline(byte value)
Create a bind value that is always inlined.
static @NotNull Param<byte[]>
inline(byte[] value)
Create a bind value that is always inlined.
inline(char character)
Create a bind value, that is always inlined.
inline(double value)
Create a bind value that is always inlined.
inline(float value)
Create a bind value that is always inlined.
inline(int value)
Create a bind value that is always inlined.
inline(long value)
Create a bind value that is always inlined.
inline(short value)
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value, that is always inlined.
inline(CharSequence character)
Create a bind value, that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
static <T> @NotNull Param<T>
Create a bind value, that is always inlined.
static <T> @NotNull Param<T>
Create a bind value, that is always inlined.
static <T> @NotNull Param<T>
Create a bind value, that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
static @NotNull Param<BigDecimal>
inline(BigDecimal value)
Create a bind value that is always inlined.
static @NotNull Param<BigInteger>
inline(BigInteger value)
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
static @NotNull Param<LocalDateTime>
inline(LocalDateTime value)
Create a bind value that is always inlined.
Create a bind value that is always inlined.
static @NotNull Param<OffsetDateTime>
inline(OffsetDateTime value)
Create a bind value that is always inlined.
static @NotNull Param<OffsetTime>
inline(OffsetTime value)
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
Create a bind value that is always inlined.
static <T> @NotNull Param<T>
inline(T value)
Create a bind value, that is always inlined.
static @NotNull Condition
Inline all bind variables produced by the argument Condition
.
static <T> @NotNull Field<T>
Inline all bind variables produced by the argument Field
.
static @NotNull QueryPart
Inline all bind variables produced by the argument QueryPart
.
static @NotNull Statement
Inline all bind variables produced by the argument Statement
.
static <T> @NotNull Parameter<T>
Create an IN OUT
parameter.
static <T> @NotNull Parameter<T>
Create an IN OUT
parameter.
Get the insert(in, startIndex, length, placing) function.
insert(Field<String> in,
Field<? extends Number> startIndex,
Field<? extends Number> length,
Field<String> placing)
Get the insert(in, startIndex, length, placing) function.
static @NotNull Condition
The INSERTING
function.
static <R extends Record>
@NotNull InsertSetStep<R>
insertInto(Table<R> into)
Create a new DSL insert statement.
static <R extends Record>
@NotNull InsertValuesStepN<R>
insertInto(Table<R> into,
Collection<? extends Field<?>> fields)
Create a new DSL insert statement.
static <R extends Record>
@NotNull InsertValuesStepN<R>
insertInto(Table<R> into,
Field<?>... fields)
Create a new DSL insert statement.
static <R extends Record,
T1>
@NotNull InsertValuesStep1<R,T1>
insertInto(Table<R> into,
Field<T1> field1)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2>
@NotNull InsertValuesStep2<R,T1,T2>
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3>
@NotNull InsertValuesStep3<R,T1,T2,T3>
insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4>
@NotNull InsertValuesStep4<R,T1,T2,T3,T4>
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL insert statement.
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL insert statement.
static <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>
@NotNull 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)
Create a new DSL insert statement.
Convert a string value to a TIMESTAMP WITH TIME ZONE
.
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
static <T> @NotNull Field<T>
Gets the SQL Server-style ISNULL(value, defaultValue) function.
static <T> @NotNull Field<T>
Gets the SQL Server-style ISNULL(value, defaultValue) function.
static <T> @NotNull Field<T>
Gets the SQL Server-style ISNULL(value, defaultValue) function.
static <T> @NotNull Field<T>
isnull(T value,
T defaultValue)
Gets the SQL Server-style ISNULL(value, defaultValue) function.
isoDayOfWeek(Temporal value)
Get the ISO day of week part of a date.
isoDayOfWeek(Date value)
Get the ISO day of week part of a date.
isoDayOfWeek(Field<?> field)
Get the ISO day of week part of a date.
static @NotNull JSONArrayNullStep<JSON>
jsonArray(Collection<? extends Field<?>> fields)
The JSON_ARRAY
function.
static @NotNull JSONArrayNullStep<JSON>
The JSON_ARRAY
function.
static @NotNull JSONArrayAggOrderByStep<JSON>
jsonArrayAgg(Field<?> value)
The JSON array aggregate function.
static @NotNull JSONArrayNullStep<JSONB>
jsonbArray(Collection<? extends Field<?>> fields)
The JSONB_ARRAY
function.
static @NotNull JSONArrayNullStep<JSONB>
jsonbArray(Field<?>... fields)
The JSONB_ARRAY
function.
static @NotNull JSONArrayAggOrderByStep<JSONB>
jsonbArrayAgg(Field<?> value)
The JSON array aggregate function.
static @NotNull JSONExistsOnStep
jsonbExists(Field<JSONB> field,
String path)
The JSONB exists predicate.
static @NotNull JSONExistsOnStep
jsonbExists(Field<JSONB> field,
Field<String> path)
The JSONB exists predicate.
static @NotNull JSONObjectNullStep<JSONB>
The JSON object constructor.
static @NotNull JSONObjectNullStep<JSONB>
jsonbObject(Collection<? extends JSONEntry<?>> entries)
The JSONB_OBJECT
function.
static @NotNull JSONObjectNullStep<JSONB>
jsonbObject(Field<?>... entries)
The JSONB_OBJECT
function.
static @NotNull JSONObjectNullStep<JSONB>
jsonbObject(JSONEntry<?>... entries)
The JSONB_OBJECT
function.
static @NotNull JSONObjectAggNullStep<JSONB>
jsonbObjectAgg(String key,
Field<?> value)
The JSONB object aggregate function.
static @NotNull JSONObjectAggNullStep<JSONB>
jsonbObjectAgg(Field<?> field)
The JSONB object aggregate function.
static @NotNull JSONObjectAggNullStep<JSONB>
jsonbObjectAgg(Field<String> key,
Field<?> value)
The JSONB object aggregate function.
static @NotNull JSONObjectAggNullStep<JSONB>
jsonbObjectAgg(JSONEntry<?> entry)
The JSONB object aggregate function.
static @NotNull JSONTableColumnsFirstStep
jsonbTable(Field<JSONB> json,
Field<String> path)
The JSON table function.
static @NotNull JSONTableColumnsFirstStep
jsonbTable(JSONB json,
String path)
The JSON table function.
static @NotNull JSONValueOnStep<JSONB>
jsonbValue(Field<JSONB> json,
String path)
The JSON value extractor function.
static @NotNull JSONValueOnStep<JSONB>
jsonbValue(Field<JSONB> json,
Field<String> path)
The JSON value extractor function.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static <T> @NotNull JSONEntry<T>
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static @NotNull JSONExistsOnStep
jsonExists(Field<JSON> field,
String path)
The JSON exists predicate.
static @NotNull JSONExistsOnStep
jsonExists(Field<JSON> field,
Field<String> path)
The JSON exists predicate.
static @NotNull JSONObjectNullStep<JSON>
The JSON object constructor.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(String key,
Field<?> value)
The JSON object constructor.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(Collection<? extends JSONEntry<?>> entries)
The JSON_OBJECT
function.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(Field<?>... entries)
The JSON_OBJECT
function.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(Field<String> key,
Field<?> value)
The JSON object constructor.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(Field<String> key,
Select<? extends Record1<?>> value)
The JSON object constructor.
static @NotNull JSONObjectNullStep<JSON>
jsonObject(JSONEntry<?>... entries)
The JSON_OBJECT
function.
static @NotNull JSONObjectAggNullStep<JSON>
jsonObjectAgg(String key,
Field<?> value)
The JSON object aggregate function.
static @NotNull JSONObjectAggNullStep<JSON>
jsonObjectAgg(Field<?> value)
The JSON object aggregate function.
static @NotNull JSONObjectAggNullStep<JSON>
jsonObjectAgg(Field<String> key,
Field<?> value)
The JSON object aggregate function.
static @NotNull JSONObjectAggNullStep<JSON>
jsonObjectAgg(JSONEntry<?> entry)
The JSON object aggregate function.
static @NotNull JSONTableColumnsFirstStep
The JSON table function.
static @NotNull JSONTableColumnsFirstStep
The JSON table function.
static @NotNull JSONValueOnStep<JSON>
The JSON value extractor function.
static @NotNull JSONValueOnStep<JSON>
The JSON value extractor function.
static @NotNull JSONEntryValueStep
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static @NotNull JSONEntryValueStep
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
static @NotNull Keyword
Create a SQL keyword.
static @NotNull Label
Create a label reference for use in procedural code.
static @NotNull Label
Create a label reference for use in procedural code.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lag(field) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lag(field, offset) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lag(field, offset) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The last_value(field) over ([analytic clause])
function.
Create a LATERAL
joined table.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lead(field) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lead(field, offset) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The lead(field, offset) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull WindowIgnoreNullsStep<T>
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
static <T> @NotNull Field<T>
Find the least among all values.
static <T> @NotNull Field<T>
least(T value,
T... values)
Find the least among all values.
The LEFT
function.
The LEFT
function.
The LEFT
function.
The LEFT
function.
The LENGTH
function, an alias for the CHAR_LENGTH
function.
The LENGTH
function, an alias for the CHAR_LENGTH
function.
level()
The LEVEL
function.
static @NotNull Link
Create a database link reference.
static @NotNull Link
Create a database link reference.
static @NotNull Link
Create a database link reference.
static @NotNull QueryPart
list(Collection<? extends QueryPart> parts)
Compose a list of QueryParts
into a new
QueryPart
, with individual parts being comma-separated.
static @NotNull QueryPart
Compose a list of QueryParts
into a new
QueryPart
, with individual parts being comma-separated.
static @NotNull OrderedAggregateFunction<String>
Get the aggregated concatenation for a field.
static @NotNull OrderedAggregateFunction<String>
Get the aggregated concatenation for a field.
static @NotNull Field<BigDecimal>
The LN
function.
static @NotNull Field<BigDecimal>
The LN
function.
Convert a string value to a DATE
.
Convert a temporal value to a DATE
.
Convert a temporal value to a DATE
.
localDateAdd(LocalDate date,
Number interval)
The LOCAL_DATE_ADD
function.
localDateAdd(LocalDate date,
Number interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
localDateAdd(LocalDate date,
Field<? extends Number> interval)
The LOCAL_DATE_ADD
function.
localDateAdd(LocalDate date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
localDateAdd(Field<LocalDate> date,
Number interval)
The LOCAL_DATE_ADD
function.
localDateAdd(Field<LocalDate> date,
Number interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
localDateAdd(Field<LocalDate> date,
Field<? extends Number> interval)
The LOCAL_DATE_ADD
function.
The LOCAL_DATE_ADD
function.
localDateDiff(LocalDate endDate,
LocalDate startDate)
Get the date difference between endDate - startDate
in
number of days.
localDateDiff(LocalDate endDate,
Field<LocalDate> startDate)
Get the date difference between endDate - startDate
in
number of days.
localDateDiff(DatePart part,
LocalDate startDate,
LocalDate endDate)
Get the date difference between endDate - startDate
in terms
of part
.
localDateDiff(DatePart part,
LocalDate startDate,
Field<LocalDate> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
localDateDiff(DatePart part,
Field<LocalDate> startDate,
LocalDate endDate)
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in terms
of part
.
localDateDiff(Field<LocalDate> endDate,
LocalDate startDate)
Get the date difference between endDate - startDate
in
number of days.
localDateDiff(Field<LocalDate> endDate,
Field<LocalDate> startDate)
Get the date difference between endDate - startDate
in
number of days.
localDateSub(LocalDate date,
Number interval)
Subtract an interval from a date.
localDateSub(LocalDate date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
localDateSub(LocalDate date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
localDateSub(Field<LocalDate> date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
localDateSub(Field<LocalDate> date,
Field<? extends Number> interval)
Subtract an interval from a date.
Subtract an interval from a date, given a date part.
static @NotNull Field<LocalDateTime>
localDateTime(String value)
Convert a string value to a TIMESTAMP
.
static @NotNull Field<LocalDateTime>
localDateTime(LocalDateTime value)
Convert a temporal value to a TIMESTAMP
.
static @NotNull Field<LocalDateTime>
localDateTime(Field<LocalDateTime> field)
Convert a temporal value to a TIMESTAMP
.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(LocalDateTime date,
Number interval)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(LocalDateTime date,
Number interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(LocalDateTime date,
Field<? extends Number> interval)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(LocalDateTime date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(Field<LocalDateTime> date,
Number interval)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(Field<LocalDateTime> date,
Number interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(Field<LocalDateTime> date,
Field<? extends Number> interval)
The LOCAL_DATE_TIME_ADD
function.
static <T> @NotNull Field<LocalDateTime>
localDateTimeAdd(Field<LocalDateTime> date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
static @NotNull Field<DayToSecond>
localDateTimeDiff(LocalDateTime timestamp1,
LocalDateTime timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
static @NotNull Field<DayToSecond>
localDateTimeDiff(LocalDateTime timestamp1,
Field<LocalDateTime> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
localDateTimeDiff(DatePart part,
LocalDateTime startDate,
LocalDateTime endDate)
Get the date difference between endDate - startDate
in terms
of part
.
localDateTimeDiff(DatePart part,
LocalDateTime startDate,
Field<LocalDateTime> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
localDateTimeDiff(DatePart part,
Field<LocalDateTime> startDate,
LocalDateTime endDate)
Get the date difference between endDate - startDate
in terms
of part
.
localDateTimeDiff(DatePart part,
Field<LocalDateTime> startDate,
Field<LocalDateTime> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
static @NotNull Field<DayToSecond>
localDateTimeDiff(Field<LocalDateTime> timestamp1,
LocalDateTime timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
static @NotNull Field<DayToSecond>
localDateTimeDiff(Field<LocalDateTime> timestamp1,
Field<LocalDateTime> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
static @NotNull Field<LocalDateTime>
localDateTimeSub(LocalDateTime timestamp,
Number interval)
Subtract an interval from a timestamp.
static @NotNull Field<LocalDateTime>
localDateTimeSub(LocalDateTime date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
static @NotNull Field<LocalDateTime>
localDateTimeSub(LocalDateTime date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
static @NotNull Field<LocalDateTime>
localDateTimeSub(Field<LocalDateTime> date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
static @NotNull Field<LocalDateTime>
localDateTimeSub(Field<LocalDateTime> timestamp,
Field<? extends Number> interval)
Subtract an interval from a timestamp.
static @NotNull Field<LocalDateTime>
localDateTimeSub(Field<LocalDateTime> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
Convert a string value to a TIME
.
Convert a temporal value to a TIME
.
Convert a temporal value to a TIME
.
static @NotNull Field<BigDecimal>
The LOG
function.
static @NotNull Field<BigDecimal>
The LOG
function.
static @NotNull Field<BigDecimal>
The LOG
function.
static @NotNull Field<BigDecimal>
The LOG
function.
static @NotNull Field<BigDecimal>
The LOG10
function.
static @NotNull Field<BigDecimal>
The LOG10
function.
static @NotNull Statement
loop(Collection<? extends Statement> statements)
Create a LOOP
for use in procedural code.
static @NotNull Statement
Create a LOOP
for use in procedural code.
The LOWER
function.
The LOWER
function.
The LPAD
function.
Get the lpad(field, length, character) function.
The LPAD
function.
The LPAD
function.
The LPAD
function.
The LPAD
function.
The LPAD
function.
The LTRIM
function.
The LTRIM
function.
The LTRIM
function.
The LTRIM
function.
The LTRIM
function.
The LTRIM
function.
static <T> @NotNull AggregateFunction<T>
Get the max value over a field: max(field).
static <T> @NotNull AggregateFunction<T>
maxDistinct(Field<T> field)
Get the max value over a field: max(distinct field).
The MD5
function.
The MD5
function.
static @NotNull AggregateFunction<BigDecimal>
The MEDIAN
function.
static <R extends Record>
@NotNull MergeUsingStep<R>
Create a new DSL SQL standard MERGE statement.
static <R extends Record>
@NotNull MergeKeyStepN<R>
mergeInto(Table<R> table,
Collection<? extends Field<?>> fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record>
@NotNull MergeKeyStepN<R>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1>
@NotNull MergeKeyStep1<R,T1>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2>
@NotNull MergeKeyStep2<R,T1,T2>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3>
@NotNull MergeKeyStep3<R,T1,T2,T3>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4>
@NotNull MergeKeyStep4<R,T1,T2,T3,T4>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
static <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>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
microsecond(Temporal value)
Get the microsecond part of a date.
microsecond(Date value)
Get the microsecond part of a date.
microsecond(Field<?> field)
Get the microsecond part of a date.
The MID
function, an alias for the SUBSTRING
function.
The MID
function, an alias for the SUBSTRING
function.
The MID
function, an alias for the SUBSTRING
function.
The MID
function, an alias for the SUBSTRING
function.
The MID
function, an alias for the SUBSTRING
function.
mid(Field<String> string,
Field<? extends Number> startingPosition,
Field<? extends Number> length)
The MID
function, an alias for the SUBSTRING
function.
millennium(Temporal value)
Get the millennium of a date.
millennium(Date value)
Get the millennium of a date.
millennium(Field<?> field)
Get the millennium of a date.
millisecond(Temporal value)
Get the millisecond part of a date.
millisecond(Date value)
Get the millisecond part of a date.
millisecond(Field<?> field)
Get the millisecond part of a date.
static <T> @NotNull AggregateFunction<T>
Get the min value over a field: min(field).
static <T> @NotNull AggregateFunction<T>
minDistinct(Field<T> field)
Get the min value over a field: min(distinct field).
Negate a field to get its negative value.
Get the minute part of a date.
Get the minute part of a date.
Get the minute part of a date.
static @NotNull OrderedAggregateFunctionOfDeferredType
mode()
The mode() within group (oder by [order clause])
ordered
aggregate function.
static <T> @NotNull AggregateFunction<T>
The mode(field)
aggregate function.
Get the month part of a date.
Get the month part of a date.
Get the month part of a date.
Get the MULTISET
operator to nest subqueries.
static @NotNull ArrayAggOrderByStep<Result<Record>>
multisetAgg(Collection<? extends Field<?>> fields)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static @NotNull ArrayAggOrderByStep<Result<Record>>
multisetAgg(Field<?>... fields)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1> @NotNull ArrayAggOrderByStep<Result<Record1<T1>>>
multisetAgg(SelectField<T1> field1)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2> @NotNull ArrayAggOrderByStep<Result<Record2<T1,T2>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3> @NotNull ArrayAggOrderByStep<Result<Record3<T1,T2,T3>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4>
@NotNull ArrayAggOrderByStep<Result<Record4<T1,T2,T3,T4>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5>
@NotNull ArrayAggOrderByStep<Result<Record5<T1,T2,T3,T4,T5>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull ArrayAggOrderByStep<Result<Record6<T1,T2,T3,T4,T5,T6>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull ArrayAggOrderByStep<Result<Record7<T1,T2,T3,T4,T5,T6,T7>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull ArrayAggOrderByStep<Result<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>>
multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull ArrayAggOrderByStep<Result<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull ArrayAggOrderByStep<Result<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull ArrayAggOrderByStep<Result<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull ArrayAggOrderByStep<Result<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull ArrayAggOrderByStep<Result<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull ArrayAggOrderByStep<Result<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull ArrayAggOrderByStep<Result<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull ArrayAggOrderByStep<Result<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull ArrayAggOrderByStep<Result<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull ArrayAggOrderByStep<Result<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull ArrayAggOrderByStep<Result<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull ArrayAggOrderByStep<Result<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull ArrayAggOrderByStep<Result<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull ArrayAggOrderByStep<Result<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>>
multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
static @NotNull Name
Create a new SQL identifier using an unqualified name.
static @NotNull Name
Create a new SQL identifier using a qualified name.
static @NotNull Name
name(Collection<String> qualifiedName)
Create a new SQL identifier using a qualified name.
static @NotNull Name
Create a new SQL identifier using a qualified name.
Negate a field to get its negative value.
static @NotNull Condition
Return a Condition
that behaves like no condition being
present.
static @NotNull Condition
Invert a condition.
Invert a boolean value.
static @NotNull Condition
Create a not exists condition.
static @NotNull Condition
Create a not unique condition.
now()
Synonym for currentTimestamp()
.
Synonym for currentTimestamp(Field)
.
static <T> @NotNull WindowFromFirstLastStep<T>
The nth_value(field) over ([analytic clause])
function.
static <T> @NotNull WindowFromFirstLastStep<T>
The nth_value(field) over ([analytic clause])
function.
static @NotNull WindowOverStep<Integer>
ntile(int number)
The ntile([number]) over ([analytic clause])
function.
static @NotNull WindowOverStep<Integer>
The ntile([number]) over ([analytic clause])
function.
static <T> @NotNull Field<T>
Gets the Oracle-style NULLIF(value, other) function.
static <T> @NotNull Field<T>
Gets the Oracle-style NULLIF(value, other) function.
static <T> @NotNull Field<T>
Gets the Oracle-style NULLIF(value, other) function.
static <T> @NotNull Field<T>
nullif(T value,
T other)
Gets the Oracle-style NULLIF(value, other) function.
protected static Field<?>[]
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
protected static Field<?>[]
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
protected static <T> Field<T>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
protected static <T> Field<T>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
protected static <T> DataType<T>
nullSafeDataType(Field<T> field)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
nullSafeList(Field<?>... fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
nullSafeList(Field<?>[] fields,
DataType<?> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
static <T> @NotNull Field<T>
Gets the Oracle-style NVL(value, defaultValue) function.
static <T> @NotNull Field<T>
Gets the Oracle-style NVL(value, defaultValue) function.
static <T> @NotNull Field<T>
Gets the Oracle-style NVL(value, defaultValue) function.
static <T> @NotNull Field<T>
nvl(T value,
T defaultValue)
Gets the Oracle-style NVL(value, defaultValue) function.
static <Z> @NotNull Field<Z>
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
static <Z> @NotNull Field<Z>
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
static <Z> @NotNull Field<Z>
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
static <Z> @NotNull Field<Z>
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
octetLength(String string)
The OCTET_LENGTH
function.
octetLength(Field<String> string)
The OCTET_LENGTH
function.
static @NotNull Field<OffsetDateTime>
offsetDateTime(String value)
Convert a string value to a TIMESTAMP WITH TIME ZONE
.
static @NotNull Field<OffsetDateTime>
offsetDateTime(OffsetDateTime value)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
static @NotNull Field<OffsetDateTime>
offsetDateTime(Field<OffsetDateTime> field)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
static @NotNull Field<OffsetTime>
offsetTime(String value)
Convert a string value to a TIME WITH TIME ZONE
.
static @NotNull Field<OffsetTime>
offsetTime(OffsetTime value)
Convert a temporal value to a TIME WITH TIME ZONE
.
static @NotNull Field<OffsetTime>
offsetTime(Field<OffsetTime> field)
Convert a temporal value to a TIME WITH TIME ZONE
.
one()
A 1
literal.
static @NotNull Condition
or(Collection<? extends Condition> conditions)
static @NotNull Condition
static @NotNull Condition
static @NotNull WindowSpecificationRowsStep
orderBy(Collection<? extends OrderField<?>> fields)
Create a WindowSpecification
with an ORDER BY
clause.
static @NotNull WindowSpecificationRowsStep
Create a WindowSpecification
with an ORDER BY
clause.
static @NotNull WindowSpecificationRowsStep
orderBy(OrderField<?>... fields)
Create a WindowSpecification
with an ORDER BY
clause.
static <T> @NotNull Parameter<T>
Create an OUT
parameter.
static <T> @NotNull Parameter<T>
Create an OUT
parameter.
The OVERLAY
function.
The OVERLAY
function.
The OVERLAY
function.
overlay(Field<String> in,
Field<String> placing,
Field<? extends Number> startIndex,
Field<? extends Number> length)
The OVERLAY
function.
param()
Create an unnamed parameter with a generic type (Object
/
SQLDataType.OTHER
) and no initial value.
static <T> @NotNull Param<T>
Create an unnamed parameter with a defined type and no initial value.
Create a named parameter with a generic type (Object
/
SQLDataType.OTHER
) and no initial value.
static <T> @NotNull Param<T>
Create a named parameter with a defined type and no initial value.
static <T> @NotNull Param<T>
Create a named parameter with a defined type and no initial value.
static <T> @NotNull Param<T>
Create a named parameter with a defined type of another field and no
initial value.
static <T> @NotNull Param<T>
Create a named parameter with an initial value.
static <T> @NotNull Param<T>
Create an unnamed parameter with a defined type and no initial value.
static <T> @NotNull Param<T>
Create an unnamed parameter with the defined type of another field and no
initial value.
static @NotNull WindowSpecificationOrderByStep
partitionBy(Collection<? extends Field<?>> fields)
Create a WindowSpecification
with a PARTITION BY
clause.
static @NotNull WindowSpecificationOrderByStep
partitionBy(Field<?>... fields)
Create a WindowSpecification
with a PARTITION BY
clause.
static @NotNull OrderedAggregateFunction<BigDecimal>
percentileCont(Number number)
The
percentile_cont([number]) within group (order by [column])
function.
static @NotNull OrderedAggregateFunction<BigDecimal>
percentileCont(Field<? extends Number> field)
The
percentile_cont([number]) within group (order by [column])
function.
static @NotNull OrderedAggregateFunction<BigDecimal>
percentileDisc(Number number)
The
percentile_disc([number]) within group (order by [column])
function.
static @NotNull OrderedAggregateFunction<BigDecimal>
percentileDisc(Field<? extends Number> field)
The
percentile_disc([number]) within group (order by [column])
function.
static @NotNull WindowOverStep<BigDecimal>
The precent_rank() over ([analytic clause])
function.
static @NotNull OrderedAggregateFunction<Integer>
percentRank(Collection<? extends Field<?>> fields)
The percent_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
static @NotNull OrderedAggregateFunction<Integer>
percentRank(Field<?>... fields)
The percent_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
Create a named Period
reference.
static <T> @NotNull Period<T>
Create a named Period
reference.
static <T> @NotNull Period<T>
Create a named Period
reference.
static @NotNull Field<BigDecimal>
pi()
The PI
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
The POSITION
function.
static @NotNull Field<BigDecimal>
The POWER
function.
static @NotNull Field<BigDecimal>
The POWER
function.
static @NotNull Field<BigDecimal>
The POWER
function.
static @NotNull Field<BigDecimal>
The POWER
function.
static @NotNull ConstraintEnforcementStep
primaryKey(String... fields)
Create an unnamed (system named) PRIMARY KEY
constraint.
static @NotNull ConstraintEnforcementStep
primaryKey(Collection<? extends Field<?>> fields)
Create an unnamed (system named) PRIMARY KEY
constraint.
static @NotNull ConstraintEnforcementStep
primaryKey(Field<?>... fields)
Create an unnamed (system named) PRIMARY KEY
constraint.
static @NotNull ConstraintEnforcementStep
primaryKey(Name... fields)
Create an unnamed (system named) PRIMARY KEY
constraint.
static <T> @NotNull Field<T>
The PRIOR
function.
static @NotNull Privilege
Create a new privilege reference.
static @NotNull AggregateFunction<BigDecimal>
Get the product over a numeric field: product(field).
static @NotNull AggregateFunction<BigDecimal>
productDistinct(Field<? extends Number> field)
Get the sum over a numeric field: product(distinct field).
Get the quarter of a date.
Get the quarter of a date.
Get the quarter of a date.
static @NotNull Queries
queries(Collection<? extends Query> queries)
Wrap a collection of queries.
static @NotNull Queries
Wrap a collection of queries.
static @NotNull RowCountQuery
Create a new query holding plain SQL.
static @NotNull RowCountQuery
Create a new query holding plain SQL.
static @NotNull RowCountQuery
Create a new query holding plain SQL.
static @NotNull RowCountQuery
Create a new query holding plain SQL.
static @NotNull QueryPart
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String)
instead
static @NotNull QueryPart
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String, Object...)
instead
static @NotNull QueryPart
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String, QueryPart...)
instead
static @NotNull Name
quotedName(String unqualifiedName)
Create a new SQL identifier using an unqualified, quoted name.
static @NotNull Name
quotedName(String... qualifiedName)
Create a new SQL identifier using a qualified, quoted name.
static @NotNull Name
quotedName(Collection<String> qualifiedName)
Create a new SQL identifier using a qualified, quoted name.
static @NotNull Field<BigDecimal>
The RAD
function.
static @NotNull Field<BigDecimal>
The RAD
function.
static @NotNull Field<BigDecimal>
rand()
The RAND
function.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationRowsAndStep
rangeBetweenFollowing(int number)
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationRowsAndStep
rangeBetweenPreceding(int number)
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationExcludeStep
rangeFollowing(int number)
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationExcludeStep
rangePreceding(int number)
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a RANGE
clause.
static @NotNull WindowOverStep<Integer>
rank()
The rank() over ([analytic clause])
function.
static @NotNull OrderedAggregateFunction<Integer>
rank(Collection<? extends Field<?>> fields)
The rank(expr) within group (order by [order clause])
ordered-set aggregate function.
static @NotNull OrderedAggregateFunction<Integer>
The rank(expr) within group (order by [order clause])
ordered-set aggregate function.
static @NotNull WindowOverStep<BigDecimal>
ratioToReport(Number number)
The ratio_to_report([expression]) over ([analytic clause])
function.
static @NotNull WindowOverStep<BigDecimal>
ratioToReport(Field<? extends Number> field)
The ratio_to_report([expression]) over ([analytic clause])
function.
static <T1> @NotNull RecordType<Record>
recordType(Collection<? extends Field<?>> fields)
Create a RecordType
of an arbitrary degree.
static <T1> @NotNull RecordType<Record>
recordType(Field<?>[] fields)
Create a RecordType
of an arbitrary degree.
static <T1> @NotNull RecordType<Record1<T1>>
recordType(Field<T1> field1)
Create a RecordType
of degree 1
.
static <T1,
T2> @NotNull RecordType<Record2<T1,T2>>
recordType(Field<T1> field1,
Field<T2> field2)
Create a RecordType
of degree 2
.
static <T1,
T2,
T3> @NotNull RecordType<Record3<T1,T2,T3>>
recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a RecordType
of degree 3
.
static <T1,
T2,
T3,
T4>
@NotNull RecordType<Record4<T1,T2,T3,T4>>
recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Create a RecordType
of degree 4
.
static <T1,
T2,
T3,
T4,
T5>
@NotNull RecordType<Record5<T1,T2,T3,T4,T5>>
recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Create a RecordType
of degree 5
.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull RecordType<Record6<T1,T2,T3,T4,T5,T6>>
recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Create a RecordType
of degree 6
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull RecordType<Record7<T1,T2,T3,T4,T5,T6,T7>>
recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Create a RecordType
of degree 7
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull RecordType<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>
recordType(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 RecordType
of degree 8
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull RecordType<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>
recordType(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 RecordType
of degree 9
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull RecordType<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>
recordType(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 RecordType
of degree 10
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull RecordType<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>
recordType(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 RecordType
of degree 11
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull RecordType<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>
recordType(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 RecordType
of degree 12
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull RecordType<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>
recordType(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 RecordType
of degree 13
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull RecordType<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>
recordType(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 RecordType
of degree 14
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull RecordType<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>
recordType(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 RecordType
of degree 15
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull RecordType<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>
recordType(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 RecordType
of degree 16
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull RecordType<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>
recordType(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 RecordType
of degree 17
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull RecordType<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>
recordType(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 RecordType
of degree 18
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull RecordType<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>
recordType(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 RecordType
of degree 19
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull RecordType<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>
recordType(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 RecordType
of degree 20
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull RecordType<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>
recordType(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 RecordType
of degree 21
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull RecordType<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>
recordType(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 RecordType
of degree 22
.
regexpReplaceAll(Field<String> field,
String pattern,
String replacement)
Get the REGEXP_REPLACE_ALL
function.
Get the REGEXP_REPLACE_ALL
function.
regexpReplaceFirst(Field<String> field,
String pattern,
String replacement)
Get the REGEXP_REPLACE_ALL
function.
Get the REGEXP_REPLACE_ALL
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_AVG_X
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_AVG_Y
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_COUNT
function.
static @NotNull AggregateFunction<BigDecimal>
regrIntercept(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_INTERCEPT
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_R2
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_SLOPE
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_SXX
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_SXY
function.
static @NotNull AggregateFunction<BigDecimal>
The REGR_SYY
function.
The REPEAT
function.
The REPEAT
function.
static @NotNull RepeatUntilStep
repeat(Collection<? extends Statement> statements)
Create a REPEAT
loop for use in procedural code.
The REPEAT
function.
The REPEAT
function.
static @NotNull RepeatUntilStep
Create a REPEAT
loop for use in procedural code.
The REPLACE
function.
The REPLACE
function.
The REPLACE
function.
The REPLACE
function.
The REPLACE
function.
The REPLACE
function.
static @NotNull ResultQuery<Record>
resultQuery(String sql)
Create a new query holding plain SQL.
static @NotNull ResultQuery<Record>
resultQuery(String sql,
Object... bindings)
Create a new query holding plain SQL.
static @NotNull ResultQuery<Record>
resultQuery(String sql,
QueryPart... parts)
Create a new query holding plain SQL.
static @NotNull ResultQuery<Record>
resultQuery(SQL sql)
Create a new query holding plain SQL.
static @NotNull Statement
return_()
The RETURN_
function.
static @NotNull Statement
The RETURN_
function.
static @NotNull Statement
The RETURN_
function.
The REVERSE
function.
The REVERSE
function.
static RevokeOnStep
revoke(Collection<? extends Privilege> privileges)
The REVOKE
statement.
static RevokeOnStep
The REVOKE
statement.
static RevokeOnStep
The REVOKE
statement.
static RevokeOnStep
revokeGrantOptionFor(Collection<? extends Privilege> privileges)
The REVOKE GRANT OPTION FOR
statement.
static RevokeOnStep
revokeGrantOptionFor(Privilege privileges)
The REVOKE GRANT OPTION FOR
statement.
static RevokeOnStep
revokeGrantOptionFor(Privilege... privileges)
The REVOKE GRANT OPTION FOR
statement.
The RIGHT
function.
The RIGHT
function.
The RIGHT
function.
The RIGHT
function.
static @NotNull Role
Create a new role reference.
static @NotNull Role
Create a new role reference.
static @NotNull GroupField
Create a ROLLUP(field1, field2, .., fieldn) grouping field.
static @NotNull GroupField
rollup(FieldOrRow... fields)
Create a ROLLUP(field1, field2, .., fieldn) grouping field.
The ROUND
function.
The ROUND
function.
The ROUND
function.
round(T value)
The ROUND
function.
round(T value,
int decimals)
The ROUND
function.
The ROUND
function.
static @NotNull RowN
Create a row value expression of degree N > 22
.
static @NotNull RowN
row(Collection<?> values)
Create a row value expression of degree N > 22
.
static @NotNull RowN
row(SelectField<?>... values)
Create a row value expression of degree N > 22
.
static <T1> @NotNull Row1<T1>
row(SelectField<T1> field1)
Create a row value expression of degree 1
.
static <T1,
T2> @NotNull Row2<T1,T2>
row(SelectField<T1> field1,
SelectField<T2> field2)
Create a row value expression of degree 2
.
static <T1,
T2,
T3> @NotNull Row3<T1,T2,T3>
row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a row value expression of degree 3
.
static <T1,
T2,
T3,
T4>
@NotNull Row4<T1,T2,T3,T4>
row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a row value expression of degree 4
.
static <T1,
T2,
T3,
T4,
T5>
@NotNull Row5<T1,T2,T3,T4,T5>
row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Create a row value expression of degree 5
.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Row6<T1,T2,T3,T4,T5,T6>
row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Create a row value expression of degree 6
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Row7<T1,T2,T3,T4,T5,T6,T7>
row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Create a row value expression of degree 7
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Row8<T1,T2,T3,T4,T5,T6,T7,T8>
row(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 row value expression of degree 8
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
row(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 row value expression of degree 9
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
row(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 row value expression of degree 10
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
row(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 row value expression of degree 11
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
row(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 row value expression of degree 12
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
row(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 row value expression of degree 13
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
row(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 row value expression of degree 14
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
row(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 row value expression of degree 15
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
row(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 row value expression of degree 16
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
row(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 row value expression of degree 17
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
row(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 row value expression of degree 18
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
row(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 row value expression of degree 19
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
row(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 row value expression of degree 20
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
row(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 row value expression of degree 21
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
row(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 row value expression of degree 22
.
static <T1> @NotNull Row1<T1>
row(T1 t1)
Create a row value expression of degree 1
.
static <T1,
T2> @NotNull Row2<T1,T2>
row(T1 t1,
T2 t2)
Create a row value expression of degree 2
.
static <T1,
T2,
T3> @NotNull Row3<T1,T2,T3>
row(T1 t1,
T2 t2,
T3 t3)
Create a row value expression of degree 3
.
static <T1,
T2,
T3,
T4>
@NotNull Row4<T1,T2,T3,T4>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4)
Create a row value expression of degree 4
.
static <T1,
T2,
T3,
T4,
T5>
@NotNull Row5<T1,T2,T3,T4,T5>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
Create a row value expression of degree 5
.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Row6<T1,T2,T3,T4,T5,T6>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6)
Create a row value expression of degree 6
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Row7<T1,T2,T3,T4,T5,T6,T7>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
Create a row value expression of degree 7
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Row8<T1,T2,T3,T4,T5,T6,T7,T8>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8)
Create a row value expression of degree 8
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9)
Create a row value expression of degree 9
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10)
Create a row value expression of degree 10
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11)
Create a row value expression of degree 11
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12)
Create a row value expression of degree 12
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13)
Create a row value expression of degree 13
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14)
Create a row value expression of degree 14
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15)
Create a row value expression of degree 15
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16)
Create a row value expression of degree 16
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17)
Create a row value expression of degree 17
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18)
Create a row value expression of degree 18
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19)
Create a row value expression of degree 19
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20)
Create a row value expression of degree 20
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20,
T21 t21)
Create a row value expression of degree 21
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20,
T21 t21,
T22 t22)
Create a row value expression of degree 22
.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row1
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Field<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row10
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Field<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row11
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Field<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row12
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Field<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row13
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Field<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row14
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Field<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row15
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Field<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row16
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Field<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row17
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Field<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>
rowField(Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row18
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Field<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>
rowField(Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row19
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row2
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Field<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>
rowField(Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row20
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Field<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>
rowField(Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row21
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Field<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>
rowField(Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row22
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row3
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row4
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row5
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row6
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row7
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Field<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row8
as a SelectField
directly, instead.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Field<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row9
as a SelectField
directly, instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use RowN
as a SelectField
directly, instead.
rownum()
The ROWNUM
function.
static @NotNull WindowOverStep<Integer>
The row_number() over ([analytic clause])
function.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationRowsAndStep
rowsBetweenFollowing(int number)
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationRowsAndStep
rowsBetweenPreceding(int number)
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationRowsAndStep
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationExcludeStep
rowsFollowing(int number)
Create a WindowSpecification
with a ROWS
clause.
Create a ROWS FROM (tables...)
expression.
static @NotNull WindowSpecificationExcludeStep
rowsPreceding(int number)
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a ROWS
clause.
static @NotNull WindowSpecificationExcludeStep
Create a WindowSpecification
with a ROWS
clause.
The RPAD
function.
Get the rpad(field, length, character) function.
The RPAD
function.
The RPAD
function.
The RPAD
function.
The RPAD
function.
The RPAD
function.
The RTRIM
function.
The RTRIM
function.
The RTRIM
function.
The RTRIM
function.
The RTRIM
function.
The RTRIM
function.
static @NotNull Schema
Create a qualified schema, given its schema name.
static @NotNull Schema
Create a qualified schema, given its schema name.
static @NotNull Schema
schemaByName(String name)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use schema(Name)
instead
Get the second part of a date.
Get the second part of a date.
Get the second part of a date.
static @NotNull SelectSelectStep<Record>
select(Collection<? extends SelectFieldOrAsterisk> fields)
Create a new DSL subselect statement.
static <T1> @NotNull SelectSelectStep<Record1<T1>>
select(SelectField<T1> field1)
Create a new DSL subselect statement.
static <T1,
T2> @NotNull SelectSelectStep<Record2<T1,T2>>
select(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL subselect statement.
static <T1,
T2,
T3> @NotNull SelectSelectStep<Record3<T1,T2,T3>>
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4>
@NotNull SelectSelectStep<Record4<T1,T2,T3,T4>>
select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5>
@NotNull SelectSelectStep<Record5<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 subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull 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)
Create a new DSL subselect statement.
static @NotNull SelectSelectStep<Record>
select(SelectFieldOrAsterisk... fields)
Create a new DSL subselect statement.
static @NotNull SelectSelectStep<Record1<Integer>>
Create a new DSL subselect statement for COUNT(*)
.
static @NotNull SelectSelectStep<Record>
selectDistinct(Collection<? extends SelectFieldOrAsterisk> fields)
Create a new DSL subselect statement.
static <T1> @NotNull SelectSelectStep<Record1<T1>>
selectDistinct(SelectField<T1> field1)
Create a new DSL subselect statement.
static <T1,
T2> @NotNull SelectSelectStep<Record2<T1,T2>>
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL subselect statement.
static <T1,
T2,
T3> @NotNull SelectSelectStep<Record3<T1,T2,T3>>
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4>
@NotNull SelectSelectStep<Record4<T1,T2,T3,T4>>
selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5>
@NotNull SelectSelectStep<Record5<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 subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL subselect statement.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull 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)
Create a new DSL subselect statement.
static @NotNull SelectSelectStep<Record>
selectDistinct(SelectFieldOrAsterisk... fields)
Create a new DSL subselect statement.
static @NotNull SelectWhereStep<Record>
selectFrom(String sql)
Create a new DSL select statement, projecting *
.
static @NotNull SelectWhereStep<Record>
selectFrom(String sql,
Object... bindings)
Create a new DSL select statement, projecting *
.
static @NotNull SelectWhereStep<Record>
selectFrom(String sql,
QueryPart... parts)
Create a new DSL select statement, projecting *
.
static @NotNull SelectWhereStep<Record>
selectFrom(Name table)
Create a new DSL select statement, projecting *
.
static @NotNull SelectWhereStep<Record>
selectFrom(SQL sql)
Create a new DSL select statement, projecting *
.
static <R extends Record>
@NotNull SelectWhereStep<R>
selectFrom(Table<R> table)
Create a new DSL select statement, projecting the known columns from a
table.
static @NotNull SelectSelectStep<Record1<Integer>>
Create a new DSL subselect statement for a constant 1
literal.
static @NotNull SelectSelectStep<Record1<Integer>>
Create a new DSL subselect statement for a constant 0
literal.
static @NotNull Sequence<BigInteger>
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name)
instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name, Class)
instead.
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name, DataType)
instead.
static @NotNull Sequence<BigInteger>
Create a qualified sequence, given its sequence name.
Create a qualified sequence, given its sequence name.
Create a qualified sequence, given its sequence name.
sequenceByName(Class<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name, Class)
instead
static @NotNull Sequence<BigInteger>
sequenceByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name)
instead
sequenceByName(DataType<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name, DataType)
instead
static RowCountQuery
The SET
statement.
static RowCountQuery
setCatalog(String catalog)
The SET CATALOG
statement.
static RowCountQuery
setCatalog(Catalog catalog)
The SET CATALOG
statement.
static RowCountQuery
setCatalog(Name catalog)
The SET CATALOG
statement.
static RowCountQuery
The SET LOCAL
statement.
static RowCountQuery
The SET SCHEMA
statement.
static RowCountQuery
The SET SCHEMA
statement.
static RowCountQuery
The SET SCHEMA
statement.
The bitwise left shift operator.
The bitwise left shift operator.
The bitwise left shift operator.
The bitwise left shift operator.
The bitwise right shift operator.
The bitwise right shift operator.
The bitwise right shift operator.
The bitwise right shift operator.
The SIGN
function.
The SIGN
function.
static SignalSetStep
signalSQLState(Object value)
The SIGNAL_SQL_STATE
function.
static SignalSetStep
signalSQLState(Field<?> value)
The SIGNAL_SQL_STATE
function.
static @NotNull Field<BigDecimal>
The SIN
function.
static @NotNull Field<BigDecimal>
The SIN
function.
static @NotNull Field<BigDecimal>
The SINH
function.
static @NotNull Field<BigDecimal>
The SINH
function.
The SPACE
function.
The SPACE
function.
The SPLIT_PART
function.
The SPLIT_PART
function.
The SPLIT_PART
function.
The SPLIT_PART
function.
static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.
static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.
static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.
static @NotNull Field<BigDecimal>
The SQRT
function.
static @NotNull Field<BigDecimal>
The SQRT
function.
The SQUARE
function.
square(T value)
The SQUARE
function.
static @NotNull Statement
A custom procedural fragment that can render arbitrary statements.
static @NotNull Statement
A custom procedural fragment that can render arbitrary statements.
static @NotNull Statement
A custom procedural fragment that can render arbitrary statements.
static @NotNull Statement
A custom procedural fragment that can render arbitrary statements.
static @NotNull Block
statements(Collection<? extends Statement> statements)
Wrap a collection of statements in an anonymous procedural block that
does not wrap in BEGIN ..
static @NotNull Block
statements(Statement... statements)
Wrap a collection of statements in an anonymous procedural block that
does not wrap in BEGIN ..
static @NotNull AggregateFunction<BigDecimal>
The STDDEV_POP
function.
static @NotNull AggregateFunction<BigDecimal>
stddevSamp(Field<? extends Number> field)
The STDDEV_SAMP
function.
The SUBSTRING
function.
The SUBSTRING
function.
The SUBSTRING
function.
The SUBSTRING
function.
The SUBSTRING
function.
substring(Field<String> string,
Field<? extends Number> startingPosition,
Field<? extends Number> length)
The SUBSTRING
function.
substringIndex(Field<String> string,
String delimiter,
int n)
The SUBSTRING_INDEX
function.
The SUBSTRING_INDEX
function.
substringIndex(Field<String> string,
Field<String> delimiter,
int n)
The SUBSTRING_INDEX
function.
The SUBSTRING_INDEX
function.
static @NotNull AggregateFunction<BigDecimal>
Get the sum over a numeric field: sum(field).
static @NotNull AggregateFunction<BigDecimal>
sumDistinct(Field<? extends Number> field)
Get the sum over a numeric field: sum(distinct field).
sysConnectByPath(Field<?> field,
String separator)
The SYS_CONNECT_BY_PATH
function.
Create a SYSTEM_TIME
Period
reference.
static <T> @NotNull Period<T>
systemTime(Class<T> type)
Create a SYSTEM_TIME
Period
reference.
static <T> @NotNull Period<T>
systemTime(DataType<T> type)
Create a SYSTEM_TIME
Period
reference.
static @NotNull Table<?>
A synonym for unnest(Object[])
.
A custom SQL clause that can render arbitrary table expressions.
A custom SQL clause that can render arbitrary table expressions.
A custom SQL clause that can render arbitrary table expressions.
static @NotNull Table<?>
table(Collection<?> list)
A synonym for unnest(Collection)
.
static @NotNull Table<?>
table(ArrayRecord<?> array)
A synonym for unnest(ArrayRecord)
.
static @NotNull Table<?>
A synonym for unnest(Field)
.
Create a qualified table, given its table name.
Create a qualified table, given its table name.
Use a previously obtained result as a new Table
that can be used
in SQL statements through values(RowN...)
.
A synonym for TableLike.asTable()
, which might look a bit more fluent
like this, to some users.
A custom SQL clause that can render arbitrary table expressions.
table(R record)
Use a previously obtained record as a new Table
table(R... records)
Use a previously obtained set of records as a new Table
tableByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use table(Name)
instead
static @NotNull Field<BigDecimal>
The TAN
function.
static @NotNull Field<BigDecimal>
The TAN
function.
static @NotNull Field<BigDecimal>
The TANH
function.
static @NotNull Field<BigDecimal>
The TANH
function.
static @NotNull Field<BigDecimal>
tau()
The TAU
function.
Convert a string value to a TIME
.
Convert a temporal value to a TIME
.
Convert a temporal value to a TIME
.
Convert a string value to a TIMESTAMP
.
Convert a temporal value to a TIMESTAMP
.
Convert a temporal value to a TIMESTAMP
.
timestampAdd(Timestamp date,
Number interval)
The TIMESTAMP_ADD
function.
timestampAdd(Timestamp date,
Number interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
timestampAdd(Timestamp date,
Field<? extends Number> interval)
The TIMESTAMP_ADD
function.
timestampAdd(Timestamp date,
Field<? extends Number> interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
timestampAdd(Field<Timestamp> date,
Number interval)
The TIMESTAMP_ADD
function.
timestampAdd(Field<Timestamp> date,
Number interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
timestampAdd(Field<Timestamp> date,
Field<? extends Number> interval)
The TIMESTAMP_ADD
function.
The TIMESTAMP_ADD
function.
static @NotNull Field<DayToSecond>
timestampDiff(Timestamp timestamp1,
Timestamp timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
static @NotNull Field<DayToSecond>
timestampDiff(Timestamp timestamp1,
Field<Timestamp> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
timestampDiff(DatePart part,
Timestamp startDate,
Timestamp endDate)
Get the date difference between endDate - startDate
in terms
of part
.
timestampDiff(DatePart part,
Timestamp startDate,
Field<Timestamp> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
timestampDiff(DatePart part,
Field<Timestamp> startDate,
Timestamp endDate)
Get the date difference between endDate - startDate
in terms
of part
.
Get the date difference between endDate - startDate
in terms
of part
.
static @NotNull Field<DayToSecond>
timestampDiff(Field<Timestamp> timestamp1,
Timestamp timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
static @NotNull Field<DayToSecond>
timestampDiff(Field<Timestamp> timestamp1,
Field<Timestamp> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
timestampSub(Timestamp timestamp,
Number interval)
Subtract an interval from a timestamp.
timestampSub(Timestamp date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
timestampSub(Timestamp date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
timestampSub(Field<Timestamp> date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
timestampSub(Field<Timestamp> timestamp,
Field<? extends Number> interval)
Subtract an interval from a timestamp.
Subtract an interval from a timestamp, given a date part.
Get the timezone part of a date.
Get the timezone part of a date.
Get the timezone part of a date.
timezoneHour(Temporal value)
Get the timezoneHour part of a date.
timezoneHour(Date value)
Get the timezoneHour part of a date.
timezoneHour(Field<?> field)
Get the timezoneHour part of a date.
timezoneMinute(Temporal value)
Get the timezoneMinute part of a date.
timezoneMinute(Date value)
Get the timezoneMinute part of a date.
timezoneMinute(Field<?> field)
Get the timezoneMinute part of a date.
The TO_CHAR
function.
The TO_CHAR
function.
The TO_CHAR
function.
The TO_CHAR
function.
The TO_CHAR
function.
The TO_CHAR
function.
The TO_DATE
function.
The TO_DATE
function.
The TO_DATE
function.
The TO_DATE
function.
The TO_HEX
function.
The TO_HEX
function.
toLocalDate(String value,
String format)
Parse a value to a DATE
.
toLocalDate(String value,
Field<String> format)
Parse a value to a DATE
.
toLocalDate(Field<String> value,
String format)
Parse a value to a DATE
.
toLocalDate(Field<String> value,
Field<String> format)
Parse a value to a DATE
.
static @NotNull Field<LocalDateTime>
toLocalDateTime(String value,
String format)
Parse a value to a TIMESTAMP
.
static @NotNull Field<LocalDateTime>
toLocalDateTime(String value,
Field<String> format)
Parse a value to a TIMESTAMP
.
static @NotNull Field<LocalDateTime>
toLocalDateTime(Field<String> value,
String format)
Parse a value to a TIMESTAMP
.
static @NotNull Field<LocalDateTime>
toLocalDateTime(Field<String> value,
Field<String> format)
Parse a value to a TIMESTAMP
.
toTimestamp(String value,
String formatMask)
The TO_TIMESTAMP
function.
toTimestamp(String value,
Field<String> formatMask)
The TO_TIMESTAMP
function.
toTimestamp(Field<String> value,
String formatMask)
The TO_TIMESTAMP
function.
toTimestamp(Field<String> value,
Field<String> formatMask)
The TO_TIMESTAMP
function.
The TRANSLATE
function.
The TRANSLATE
function.
The TRANSLATE
function.
The TRANSLATE
function.
The TRIM
function.
The TRIM
function.
The TRIM
function.
The TRIM
function.
The TRIM
function.
The TRIM
function.
static @NotNull True
Return a Condition
that will always evaluate to true.
Truncate a date to the beginning of the day.
Truncate a date to a given datepart.
Truncate a timestamp to the beginning of the day.
Truncate a timestamp to a given datepart.
Truncate a date to the beginning of the day.
Truncate a date to a given datepart.
static @NotNull Field<LocalDateTime>
trunc(LocalDateTime timestamp)
Truncate a timestamp to the beginning of the day.
static @NotNull Field<LocalDateTime>
trunc(LocalDateTime timestamp,
DatePart part)
Truncate a timestamp to a given datepart.
static <T> @NotNull Field<T>
Truncate a date or a timestamp to the beginning of the day.
The TRUNC
function.
static <T> @NotNull Field<T>
Truncate a date or a timestamp to a given datepart.
The TRUNC
function.
trunc(T number)
Truncate a number to a given number of decimals.
trunc(T value,
int decimals)
The TRUNC
function.
The TRUNC
function.
static TruncateIdentityStep<Record>
The TRUNCATE
statement.
static TruncateIdentityStep<Record>
The TRUNCATE
statement.
static <R extends Record>
TruncateIdentityStep<R>
The TRUNCATE
statement.
static TruncateIdentityStep<Record>
truncateTable(String table)
The TRUNCATE TABLE
statement.
static TruncateIdentityStep<Record>
truncateTable(Name table)
The TRUNCATE TABLE
statement.
static <R extends Record>
TruncateIdentityStep<R>
truncateTable(Table<R> table)
The TRUNCATE TABLE
statement.
two()
A 2
literal.
static @NotNull ConstraintEnforcementStep
Create an unnamed (system named) UNIQUE
constraint.
static @NotNull ConstraintEnforcementStep
unique(Collection<? extends Field<?>> fields)
Create an unnamed (system named) UNIQUE
constraint.
static @NotNull ConstraintEnforcementStep
Create an unnamed (system named) UNIQUE
constraint.
static @NotNull ConstraintEnforcementStep
Create an unnamed (system named) UNIQUE
constraint.
static @NotNull Condition
Create a unique condition.
static @NotNull Table<?>
Create a table from an array of values.
static @NotNull Table<?>
unnest(Collection<?> list)
Create a table from a list of values.
static @NotNull Table<?>
unnest(ArrayRecord<?> array)
Create a table from an array of values.
static @NotNull Table<?>
Create a table from a field.
static @NotNull Name
unquotedName(String unqualifiedName)
Create a new SQL identifier using an unqualified, quoted name.
static @NotNull Name
unquotedName(String... qualifiedName)
Create a new SQL identifier using a qualified, quoted name.
static @NotNull Name
unquotedName(Collection<String> qualifiedName)
Create a new SQL identifier using a qualified, quoted name.
static <R extends Record>
@NotNull UpdateSetFirstStep<R>
Create a new DSL update statement.
static @NotNull Condition
updating()
The UPDATING
function.
The UPPER
function.
The UPPER
function.
static @NotNull User
Create a new user reference.
static @NotNull User
Create a new user reference.
static @NotNull DSLContext
using(io.r2dbc.spi.Connection connection)
Create an executor with a custom R2DBC connection and guess the dialect.
static @NotNull DSLContext
using(io.r2dbc.spi.ConnectionFactory connectionFactory)
Create an executor with a custom R2DBC connection factory and guess the
dialect from it.
static @NotNull DSLContext
using(io.r2dbc.spi.ConnectionFactory connectionFactory,
SQLDialect dialect)
Create an executor with a custom R2DBC connection factory and a dialect
configured.
static @NotNull DSLContext
using(io.r2dbc.spi.ConnectionFactory connectionFactory,
SQLDialect dialect,
Settings settings)
Create an executor with a custom R2DBC connection factory, a dialect and
settings configured.
static @NotNull DSLContext
using(io.r2dbc.spi.Connection connection,
SQLDialect dialect)
Create an executor with a custom R2DBC connection and a dialect
configured.
static @NotNull DSLContext
using(io.r2dbc.spi.Connection connection,
SQLDialect dialect,
Settings settings)
Create an executor with a custom R2DBC connection, a dialect and settings
configured.
static @NotNull CloseableDSLContext
Create an executor from a JDBC or R2DBC connection URL.
static @NotNull CloseableDSLContext
Create an executor from a JDBC or R2DBC connection URL.
static @NotNull CloseableDSLContext
using(String url,
Properties properties)
Create an executor from a JDBC or R2DBC connection URL.
static @NotNull DSLContext
using(Connection connection)
Create an executor with a connection configured.
static @NotNull DSLContext
using(Connection connection,
Settings settings)
Create an executor with a connection, a dialect and settings configured.
static @NotNull DSLContext
using(Connection connection,
SQLDialect dialect)
Create an executor with a connection and a dialect configured.
static @NotNull DSLContext
using(Connection connection,
SQLDialect dialect,
Settings settings)
Create an executor with a connection, a dialect and settings configured.
static @NotNull DSLContext
using(DataSource datasource,
SQLDialect dialect)
Create an executor with a data source and a dialect configured.
static @NotNull DSLContext
using(DataSource datasource,
SQLDialect dialect,
Settings settings)
Create an executor with a data source, a dialect and settings configured.
static @NotNull DSLContext
using(Configuration configuration)
Create an executor from a custom configuration.
static @NotNull DSLContext
using(ConnectionProvider connectionProvider,
SQLDialect dialect)
Create an executor with a custom connection provider and a dialect
configured.
static @NotNull DSLContext
using(ConnectionProvider connectionProvider,
SQLDialect dialect,
Settings settings)
Create an executor with a custom connection provider, a dialect and settings
configured.
static @NotNull DSLContext
using(SQLDialect dialect)
Create an executor with a dialect configured.
static @NotNull DSLContext
using(SQLDialect dialect,
Settings settings)
Create an executor with a dialect and settings configured.
uuid()
The UUID
function.
val(boolean value)
Get a bind value.
val(byte value)
Get a bind value.
static @NotNull Param<byte[]>
val(byte[] value)
Get a bind value.
val(double value)
Get a bind value.
val(float value)
Get a bind value.
val(int value)
Get a bind value.
val(long value)
Get a bind value.
val(short value)
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
static <T> @NotNull Param<T>
Get a bind value with an associated type, taken from a field.
static <T> @NotNull Param<T>
Get a bind value with an associated type.
static <T> @NotNull Param<T>
Get a bind value with an associated type, taken from a field.
Get a bind value.
Get a bind value.
static @NotNull Param<BigDecimal>
val(BigDecimal value)
Get a bind value.
static @NotNull Param<BigInteger>
val(BigInteger value)
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
static @NotNull Param<LocalDateTime>
val(LocalDateTime value)
Get a bind value.
Get a bind value.
static @NotNull Param<OffsetDateTime>
val(OffsetDateTime value)
Get a bind value.
static @NotNull Param<OffsetTime>
val(OffsetTime value)
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
Get a bind value.
static <T> @NotNull Param<T>
val(T value)
Get a bind value.
value(boolean value)
A synonym for val(boolean)
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(byte value)
A synonym for val(byte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<byte[]>
value(byte[] value)
A synonym for val(byte[])
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(double value)
A synonym for val(double)
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(float value)
A synonym for val(float)
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(int value)
A synonym for val(int)
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(long value)
A synonym for val(long)
to be used in Scala and Groovy, where
val
is a reserved keyword.
value(short value)
A synonym for val(short)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Boolean)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Byte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static <T> @NotNull Field<T>
Create the VALUE
pseudo field for usage with
DOMAIN
specifications.
A synonym for val(Double)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Float)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Integer)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Long)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static <T> @NotNull Param<T>
A synonym for val(Object, Class)
to be used in Scala and Groovy,
where val
is a reserved keyword.
static <T> @NotNull Param<T>
A synonym for val(Object, DataType)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static <T> @NotNull Param<T>
A synonym for val(Object, Field)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Short)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(String)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<BigDecimal>
value(BigDecimal value)
A synonym for val(BigDecimal)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<BigInteger>
value(BigInteger value)
A synonym for val(BigInteger)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Date)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Time)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Timestamp)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(Instant)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(LocalDate)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<LocalDateTime>
value(LocalDateTime value)
A synonym for val(LocalDateTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(LocalTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<OffsetDateTime>
value(OffsetDateTime value)
A synonym for val(OffsetDateTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static @NotNull Param<OffsetTime>
value(OffsetTime value)
A synonym for val(OffsetTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(UUID)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static <T> @NotNull Field<T>
Create the VALUE
pseudo field for usage with
DOMAIN
specifications.
A synonym for val(JSON)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(JSONB)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(UByte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(UInteger)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(ULong)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(UShort)
to be used in Scala and Groovy, where
val
is a reserved keyword.
A synonym for val(XML)
to be used in Scala and Groovy, where
val
is a reserved keyword.
static <T> @NotNull Param<T>
value(T value)
A synonym for val(Object)
to be used in Scala and Groovy, where
val
is a reserved keyword.
Create a VALUES()
expression of degree 1
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Table<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>
Create a VALUES()
expression of degree 10
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Table<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>
Create a VALUES()
expression of degree 11
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Table<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>
Create a VALUES()
expression of degree 12
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Table<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>
Create a VALUES()
expression of degree 13
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Table<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>
Create a VALUES()
expression of degree 14
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Table<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>
Create a VALUES()
expression of degree 15
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Table<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>
Create a VALUES()
expression of degree 16
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Table<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>
Create a VALUES()
expression of degree 17
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Table<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>
values(Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>... rows)
Create a VALUES()
expression of degree 18
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Table<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>
values(Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>... rows)
Create a VALUES()
expression of degree 19
.
Create a VALUES()
expression of degree 2
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Table<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>
values(Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>... rows)
Create a VALUES()
expression of degree 20
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Table<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>
values(Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>... rows)
Create a VALUES()
expression of degree 21
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Table<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>
values(Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>... rows)
Create a VALUES()
expression of degree 22
.
Create a VALUES()
expression of degree 3
.
Create a VALUES()
expression of degree 4
.
Create a VALUES()
expression of degree 5
.
Create a VALUES()
expression of degree 6
.
Create a VALUES()
expression of degree 7
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Table<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>
Create a VALUES()
expression of degree 8
.
static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Table<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>
Create a VALUES()
expression of degree 9
.
Create a VALUES()
expression of arbitrary degree.
static <T> @NotNull Variable<T>
Create a local variable reference for use in procedural code.
static <T> @NotNull Variable<T>
Create a local variable reference for use in procedural code.
static <T> @NotNull Variable<T>
A synonym for var(Name, DataType)
to be used in Scala and
Groovy, where var
is a reserved keyword.
static <T> @NotNull Variable<T>
A synonym for var(Name, DataType)
to be used in Scala and
Groovy, where var
is a reserved keyword.
static @NotNull AggregateFunction<BigDecimal>
The VAR_POP
function.
static @NotNull AggregateFunction<BigDecimal>
The VAR_SAMP
function.
Get the week part of a date.
Get the week part of a date.
Get the week part of a date.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static <T> @NotNull CaseConditionStep<T>
Initialise a Case
statement.
static @NotNull LoopStep
Create a WHILE
loop for use in procedural code.
The WIDTH_BUCKET
function.
widthBucket(Field<T> field,
T low,
T high,
int buckets)
The WIDTH_BUCKET
function.
static @NotNull WithAsStep
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep1
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep2
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep3
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep4
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep5
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep6
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep7
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep8
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep9
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep10
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep11
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep12
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep13
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep14
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep15
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep16
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep17
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep18
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep19
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep20
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep21
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep22
with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21,
String fieldAlias22)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
with(String alias,
Collection<String> fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull WithStep
with(Collection<? extends CommonTableExpression<?>> tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithStep
with(CommonTableExpression<?>... tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
with(Name alias,
Collection<? extends Name> fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep1
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep2
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep3
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep4
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull WithAsStep
withRecursive(String alias)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep1
withRecursive(String alias,
String fieldAlias1)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(String alias,
String... fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep2
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep3
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep4
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep5
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep6
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep7
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep8
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep9
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep10
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep11
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep12
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep13
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep14
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep15
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep16
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep17
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep18
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep19
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep20
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep21
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep22
withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21,
String fieldAlias22)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(String alias,
Collection<String> fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(String alias,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ.
static @NotNull WithStep
withRecursive(Collection<? extends CommonTableExpression<?>> tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithStep
withRecursive(CommonTableExpression<?>... tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(Name alias)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(Name alias,
Collection<? extends Name> fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep1
withRecursive(Name alias,
Name fieldAlias1)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull WithAsStep
withRecursive(Name alias,
Name... fieldAliases)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull 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.
static @NotNull 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.
static @NotNull WithAsStep4
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull 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.
static @NotNull XMLAggOrderByStep<XML>
The XML aggregate function.
static @NotNull XMLAttributes
xmlattributes(Collection<? extends Field<?>> attributes)
The XML attributes constructor.
static @NotNull XMLAttributes
xmlattributes(Field<?>... attributes)
The XML attributes constructor.
xmlcomment(String comment)
The XMLCOMMENT
function.
xmlcomment(Field<String> comment)
The XMLCOMMENT
function.
xmlconcat(Collection<? extends Field<?>> fields)
The XML concat function.
The XML concat function.
xmldocument(Field<XML> content)
The XML document constructor.
xmlelement(String name,
Collection<? extends Field<?>> content)
The XML element constructor.
xmlelement(String name,
Field<?>... content)
The XML element constructor.
xmlelement(String name,
XMLAttributes attributes,
Collection<? extends Field<?>> content)
The XML element constructor.
xmlelement(String name,
XMLAttributes attributes,
Field<?>... content)
The XML element constructor.
xmlelement(Name name,
Collection<? extends Field<?>> content)
The XML element constructor.
xmlelement(Name name,
Field<?>... content)
The XML element constructor.
xmlelement(Name name,
XMLAttributes attributes,
Collection<? extends Field<?>> content)
The XML element constructor.
xmlelement(Name name,
XMLAttributes attributes,
Field<?>... content)
The XML element constructor.
static @NotNull XMLExistsPassingStep
The XML exists function.
static @NotNull XMLExistsPassingStep
The XML exists function.
xmlforest(Collection<? extends Field<?>> fields)
The XMLFOREST
function.
The XMLFOREST
function.
xmlparseContent(String content)
The XML parse function.
xmlparseContent(Field<String> content)
The XML parse function.
xmlparseDocument(String content)
The XML parse function.
xmlparseDocument(Field<String> content)
The XML parse function.
The XML processing instruction constructor.
The XML processing instruction constructor.
The XML processing instruction constructor.
The XML processing instruction constructor.
static @NotNull XMLQueryPassingStep
The XML query function.
static @NotNull XMLQueryPassingStep
The XML query function.
static <T> @NotNull Field<T>
xmlserializeContent(Field<XML> value,
DataType<T> type)
The XMLSERIALIZE_CONTENT
function.
static <T> @NotNull Field<T>
xmlserializeContent(XML value,
DataType<T> type)
The XMLSERIALIZE_CONTENT
function.
static <T> @NotNull Field<T>
xmlserializeDocument(Field<XML> value,
DataType<T> type)
The XMLSERIALIZE_DOCUMENT
function.
static <T> @NotNull Field<T>
xmlserializeDocument(XML value,
DataType<T> type)
The XMLSERIALIZE_DOCUMENT
function.
static @NotNull XMLTablePassingStep
The XML table function.
static @NotNull XMLTablePassingStep
The XML table function.
Get the year part of a date.
Get the year part of a date.
Get the year part of a date.
zero()
A 0
literal.
-
Constructor Details
-
DSL
protected DSL()
No instances.
-
Method Details
-
using
Create an executor with a dialect configured.
Without a connection or data source, this executor cannot execute
queries. Use it to render SQL only.
- Parameters:
dialect
- The dialect to use with objects created from this executor
-
using
Create an executor with a dialect and settings configured.
Without a connection or data source, this executor cannot execute
queries. Use it to render SQL only.
- Parameters:
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
-
using
Create an executor from a JDBC or R2DBC connection URL.
Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()
on the resulting DSLContext
.
For example:
// Auto-closing DSLContext instance to free resources
try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test")) {
// ...
}
Both acquisition and release of JDBC and R2DBC connection URLs are
blocking.
- Parameters:
url
- The connection URL.
- See Also:
DefaultConnectionProvider
,
JDBCUtils.dialect(String)
-
using
@NotNull
public static @NotNull CloseableDSLContext using(String url,
String username,
String password)
Create an executor from a JDBC or R2DBC connection URL.
Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()
on the resulting DSLContext
.
For example:
// Auto-closing DSLContext instance to free resources
try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test", "sa", "")) {
// ...
}
Both acquisition and release of JDBC and R2DBC connection URLs are
blocking.
- Parameters:
url
- The connection URL.
username
- The connection user name.
password
- The connection password.
- See Also:
DefaultConnectionProvider
,
JDBCUtils.dialect(String)
-
using
Create an executor from a JDBC or R2DBC connection URL.
Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()
on the resulting DSLContext
.
For example:
// Auto-closing DSLContext instance to free resources
try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test", properties)) {
// ...
}
Both acquisition and release of JDBC and R2DBC connection URLs are
blocking.
- Parameters:
url
- The connection URL.
properties
- The connection properties.
- See Also:
DefaultConnectionProvider
,
JDBCUtils.dialect(String)
-
using
Create an executor with a connection configured.
If you provide a JDBC connection to a jOOQ Configuration, jOOQ will use
that connection directly for creating statements.
This is a convenience constructor for
using(Connection, Settings)
, guessing the SQLDialect
using JDBCUtils.dialect(Connection)
- Parameters:
connection
- The connection to use with objects created from this
executor
- See Also:
DefaultConnectionProvider
,
JDBCUtils.dialect(Connection)
-
using
Create an executor with a connection and a dialect configured.
If you provide a JDBC connection to a jOOQ Configuration, jOOQ will use
that connection directly for creating statements.
This is a convenience constructor for
using(ConnectionProvider, SQLDialect, Settings)
using a
DefaultConnectionProvider
- Parameters:
connection
- The connection to use with objects created from this
executor
dialect
- The dialect to use with objects created from this executor
- See Also:
DefaultConnectionProvider
-
using
Create an executor with a connection, a dialect and settings configured.
If you provide a JDBC connection to a jOOQ Configuration, jOOQ will use
that connection directly for creating statements.
This is a convenience constructor for
using(ConnectionProvider, SQLDialect, Settings)
using a
DefaultConnectionProvider
and guessing the SQLDialect
using JDBCUtils.dialect(Connection)
- Parameters:
connection
- The connection to use with objects created from this
executor
settings
- The runtime settings to apply to objects created from
this executor
- See Also:
DefaultConnectionProvider
,
JDBCUtils.dialect(Connection)
-
using
@NotNull
public static @NotNull DSLContext using(Connection connection,
SQLDialect dialect,
Settings settings)
Create an executor with a connection, a dialect and settings configured.
If you provide a JDBC connection to a jOOQ Configuration, jOOQ will use
that connection directly for creating statements.
This is a convenience constructor for
using(ConnectionProvider, SQLDialect, Settings)
using a
DefaultConnectionProvider
- Parameters:
connection
- The connection to use with objects created from this
executor
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
- See Also:
DefaultConnectionProvider
-
using
Create an executor with a data source and a dialect configured.
If you provide a JDBC data source to a jOOQ Configuration, jOOQ will use
that data source for initialising connections, and creating statements.
This is a convenience constructor for
using(ConnectionProvider, SQLDialect)
using a
DataSourceConnectionProvider
- Parameters:
datasource
- The data source to use with objects created from this
executor
dialect
- The dialect to use with objects created from this executor
- See Also:
DataSourceConnectionProvider
-
using
@NotNull
public static @NotNull DSLContext using(DataSource datasource,
SQLDialect dialect,
Settings settings)
Create an executor with a data source, a dialect and settings configured.
If you provide a JDBC data source to a jOOQ Configuration, jOOQ will use
that data source for initialising connections, and creating statements.
This is a convenience constructor for
using(ConnectionProvider, SQLDialect, Settings)
using a
DataSourceConnectionProvider
- Parameters:
datasource
- The data source to use with objects created from this
executor
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
- See Also:
DataSourceConnectionProvider
-
using
@NotNull
public static @NotNull DSLContext using(ConnectionProvider connectionProvider,
SQLDialect dialect)
Create an executor with a custom connection provider and a dialect
configured.
- Parameters:
connectionProvider
- The connection provider providing jOOQ with
JDBC connections
dialect
- The dialect to use with objects created from this executor
-
using
@NotNull
public static @NotNull DSLContext using(ConnectionProvider connectionProvider,
SQLDialect dialect,
Settings settings)
Create an executor with a custom connection provider, a dialect and settings
configured.
- Parameters:
connectionProvider
- The connection provider providing jOOQ with
JDBC connections
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
-
using
Create an executor with a custom R2DBC connection factory and guess the
dialect from it.
- Parameters:
connectionFactory
- The R2DBC connection factory providing jOOQ with
R2DBC connections
-
using
@NotNull
public static @NotNull DSLContext using(io.r2dbc.spi.ConnectionFactory connectionFactory,
SQLDialect dialect)
Create an executor with a custom R2DBC connection factory and a dialect
configured.
- Parameters:
connectionFactory
- The R2DBC connection factory providing jOOQ with
R2DBC connections
dialect
- The dialect to use with objects created from this executor
-
using
@NotNull
public static @NotNull DSLContext using(io.r2dbc.spi.ConnectionFactory connectionFactory,
SQLDialect dialect,
Settings settings)
Create an executor with a custom R2DBC connection factory, a dialect and
settings configured.
- Parameters:
connectionFactory
- The R2DBC connection factory providing jOOQ with
R2DBC connections
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
-
using
Create an executor with a custom R2DBC connection and guess the dialect.
- Parameters:
connection
- The R2DBC connection
-
using
@NotNull
public static @NotNull DSLContext using(io.r2dbc.spi.Connection connection,
SQLDialect dialect)
Create an executor with a custom R2DBC connection and a dialect
configured.
- Parameters:
connection
- The R2DBC connection
dialect
- The dialect to use with objects created from this executor
-
using
@NotNull
public static @NotNull DSLContext using(io.r2dbc.spi.Connection connection,
SQLDialect dialect,
Settings settings)
Create an executor with a custom R2DBC connection, a dialect and settings
configured.
- Parameters:
connection
- The R2DBC connection
dialect
- The dialect to use with objects created from this executor
settings
- The runtime settings to apply to objects created from
this executor
-
using
Create an executor from a custom configuration.
- Parameters:
configuration
- The configuration
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(String alias)
Create a 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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(String alias,
String... fieldAliases)
Create a 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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(String alias,
Collection<String> fieldAliases)
Create a 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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(Name alias)
Create a 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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(Name alias,
Name... fieldAliases)
Create a 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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(Name alias,
Collection<? extends Name> fieldAliases)
Create a 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.
-
with
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep with(String alias,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep1 with(String alias,
String fieldAlias1)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep2 with(String alias,
String fieldAlias1,
String fieldAlias2)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep3 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep4 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep5 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep6 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep7 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep8 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep9 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep10 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep11 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep12 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep13 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep14 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep15 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep16 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep17 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep18 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep19 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep20 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep21 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep22 with(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21,
String fieldAlias22)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithAsStep1 with(Name alias,
Name fieldAlias1)
Create a 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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull 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.
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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithStep with(CommonTableExpression<?>... tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
name(String...)
Name.fields(String...)
-
DerivedColumnList#as(Select)
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.
-
with
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WithStep with(Collection<? extends CommonTableExpression<?>> tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
name(String...)
Name.fields(String...)
-
DerivedColumnList#as(Select)
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(String alias)
Create a 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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(String alias,
String... fieldAliases)
Create a 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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(String alias,
Collection<String> fieldAliases)
Create a 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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(Name alias)
Create a 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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(Name alias,
Name... fieldAliases)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(Name alias,
Collection<? extends Name> fieldAliases)
Create a 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.
-
withRecursive
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep withRecursive(String alias,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a 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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep1 withRecursive(String alias,
String fieldAlias1)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep2 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep3 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep4 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep5 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep6 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep7 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep8 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep9 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep10 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep11 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep12 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep13 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep14 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep15 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep16 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep17 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep18 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep19 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep20 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep21 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep22 withRecursive(String alias,
String fieldAlias1,
String fieldAlias2,
String fieldAlias3,
String fieldAlias4,
String fieldAlias5,
String fieldAlias6,
String fieldAlias7,
String fieldAlias8,
String fieldAlias9,
String fieldAlias10,
String fieldAlias11,
String fieldAlias12,
String fieldAlias13,
String fieldAlias14,
String fieldAlias15,
String fieldAlias16,
String fieldAlias17,
String fieldAlias18,
String fieldAlias19,
String fieldAlias20,
String fieldAlias21,
String fieldAlias22)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithAsStep1 withRecursive(Name alias,
Name fieldAlias1)
Create a 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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull 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.
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.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithStep withRecursive(CommonTableExpression<?>... tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
name(String...)
Name.fields(String...)
-
DerivedColumnList#as(Select)
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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
withRecursive
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull WithStep withRecursive(Collection<? extends CommonTableExpression<?>> tables)
Create a WITH
clause to supply subsequent
SELECT
, UPDATE
, INSERT
,
DELETE
, and MERGE
statements with
CommonTableExpression
s.
Reusable CommonTableExpression
types can be constructed through
name(String...)
Name.fields(String...)
-
DerivedColumnList#as(Select)
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.
Note that the SQLDialect.H2
database only supports single-table,
RECURSIVE
common table expression lists.
-
selectFrom
@NotNull
@Support
public static <R extends Record>
@NotNull SelectWhereStep<R> selectFrom(Table<R> table)
Create a new DSL select statement, projecting the known columns from a
table.
This will project the known columns from the argument table querying
Fields.fields()
. If no known columns are available (e.g. because
the table has been created using table(String)
), then
SELECT *
is projected.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT table.col1, table.col2 FROM table
-
selectFrom
Create a new DSL select statement, projecting *
.
Without knowing any columns from the argument table (see
selectFrom(Table)
), this will project SELECT *
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT * FROM table
- See Also:
table(Name)
-
selectFrom
Create a new DSL select statement, projecting *
.
Without knowing any columns from the argument table (see
selectFrom(Table)
), this will project SELECT *
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT * FROM 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!
- See Also:
table(SQL)
,
SQL
-
selectFrom
Create a new DSL select statement, projecting *
.
Without knowing any columns from the argument table (see
selectFrom(Table)
), this will project SELECT *
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT * FROM 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!
- See Also:
table(String)
,
sql(String)
,
SQL
-
selectFrom
@NotNull
@Support
@PlainSQL
public static @NotNull SelectWhereStep<Record> selectFrom(String sql,
Object... bindings)
Create a new DSL select statement, projecting *
.
Without knowing any columns from the argument table (see
selectFrom(Table)
), this will project SELECT *
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT * FROM 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!
- See Also:
table(String, Object...)
,
sql(String, Object...)
,
SQL
-
selectFrom
@NotNull
@Support
@PlainSQL
public static @NotNull SelectWhereStep<Record> selectFrom(String sql,
QueryPart... parts)
Create a new DSL select statement, projecting *
.
Without knowing any columns from the argument table (see
selectFrom(Table)
), this will project SELECT *
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
SELECT * FROM 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!
- See Also:
table(String, QueryPart...)
,
sql(String, QueryPart...)
,
SQL
-
select
@NotNull
@Support
public static @NotNull SelectSelectStep<Record> select(Collection<? extends SelectFieldOrAsterisk> fields)
Create a new DSL subselect statement.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
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:
- Renders
SELECT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are known
- Renders
SELECT *
if not all columns are known, e.g. when
using plain SQL
- See Also:
DSLContext.select(Collection)
-
select
@NotNull
@Support
public static @NotNull SelectSelectStep<Record> select(SelectFieldOrAsterisk... fields)
Create a new DSL subselect statement.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(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 *
semantics, i.e. it:
- Renders
SELECT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are known
- Renders
SELECT *
if not all columns are known, e.g. when
using plain SQL
-
select
@NotNull
@Support
public static <T1>
@NotNull SelectSelectStep<Record1<T1>> select(SelectField<T1> field1)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2>
@NotNull SelectSelectStep<Record2<T1,T2>> select(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3>
@NotNull SelectSelectStep<Record3<T1,T2,T3>> select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull SelectSelectStep<Record4<T1,T2,T3,T4>> select(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, field4)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull SelectSelectStep<Record5<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 subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, field4, field5)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field5, field6)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field6, field7)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field7, field8)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field8, field9)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field9, field10)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field10, field11)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field11, field12)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field12, field13)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field13, field14)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field14, field15)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field15, field16)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field16, field17)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field17, field18)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field18, field19)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field19, field20)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field20, field21)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
select
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as select(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
select(field1, field2, field3, .., field21, field22)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static @NotNull SelectSelectStep<Record> selectDistinct(Collection<? extends SelectFieldOrAsterisk> fields)
Create a new DSL subselect statement.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
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:
- Renders
SELECT DISTINCT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are known
- Renders
SELECT DISTINCT *
if not all columns are known, e.g. when
using plain SQL
- See Also:
DSLContext.selectDistinct(Collection)
-
selectDistinct
@NotNull
@Support
public static @NotNull SelectSelectStep<Record> selectDistinct(SelectFieldOrAsterisk... fields)
Create a new DSL subselect statement.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
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:
- Renders
SELECT DISTINCT tab1.col1, tab1.col2, ..., tabN.colN
if
all columns are known
- Renders
SELECT DISTINCT *
if not all columns are known, e.g. when
using plain SQL
-
selectDistinct
@NotNull
@Support
public static <T1>
@NotNull SelectSelectStep<Record1<T1>> selectDistinct(SelectField<T1> field1)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2>
@NotNull SelectSelectStep<Record2<T1,T2>> selectDistinct(SelectField<T1> field1,
SelectField<T2> field2)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3>
@NotNull SelectSelectStep<Record3<T1,T2,T3>> selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull SelectSelectStep<Record4<T1,T2,T3,T4>> selectDistinct(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, field4)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull SelectSelectStep<Record5<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 subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, field4, field5)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field5, field6)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field6, field7)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field7, field8)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field8, field9)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field9, field10)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field10, field11)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field11, field12)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field12, field13)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field13, field14)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field14, field15)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field15, field16)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field16, field17)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field17, field18)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field18, field19)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field19, field20)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field20, field21)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectDistinct
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull 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)
Create a new DSL subselect statement.
This is the same as selectDistinct(SelectFieldOrAsterisk...)
, 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.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectDistinct(field1, field2, field3, .., field21, field22)
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
-
selectZero
Create a new DSL subselect statement for a constant 0
literal.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectZero()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
- See Also:
zero()
,
DSLContext.selectZero()
-
selectOne
Create a new DSL subselect statement for a constant 1
literal.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectOne()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
- See Also:
one()
,
DSLContext.selectOne()
-
selectCount
Create a new DSL subselect statement for COUNT(*)
.
Unlike Select
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
SELECT
statement. You can use this statement in two ways:
- As a subselect within another select
- As a statement, after attaching it using
Attachable.attach(org.jooq.Configuration)
Example:
import static org.jooq.impl.DSL.*;
// [...]
selectCount()
.from(table1)
.join(table2).on(field1.equal(field2))
.where(field1.greaterThan(100))
.orderBy(field2);
- See Also:
count()
,
DSLContext.selectCount()
-
insertInto
@NotNull
@Support
public static <R extends Record>
@NotNull InsertSetStep<R> insertInto(Table<R> into)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
This type of insert may feel more convenient to some users, as it uses
the UPDATE
statement's SET a = b
syntax.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table)
.set(field1, value1)
.set(field2, value2)
.newRecord()
.set(field1, value3)
.set(field2, value4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
- See Also:
DSLContext.insertInto(Table)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1>
@NotNull InsertValuesStep1<R,T1> insertInto(Table<R> into,
Field<T1> field1)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1)
.values(field1)
.values(field1)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
- See Also:
DSLContext.insertInto(Table, Field)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2>
@NotNull InsertValuesStep2<R,T1,T2> insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1, field2)
.values(field1, field2)
.values(field1, field2)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3>
@NotNull InsertValuesStep3<R,T1,T2,T3> insertInto(Table<R> into,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1, field2, field3)
.values(field1, field2, field3)
.values(field1, field2, field3)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4>
@NotNull InsertValuesStep4<R,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.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1, field2, field3, field4)
.values(field1, field2, field3, field4)
.values(field1, field2, field3, field4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <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>
@NotNull 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)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
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)
-
insertInto
@NotNull
@Support
public static <R extends Record>
@NotNull InsertValuesStepN<R> insertInto(Table<R> into,
Field<?>... fields)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1, field2)
.values(valueA1, valueA2)
.values(valueB1, valueB2)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
- See Also:
DSLContext.insertInto(Table, Field...)
-
insertInto
@NotNull
@Support
public static <R extends Record>
@NotNull InsertValuesStepN<R> insertInto(Table<R> into,
Collection<? extends Field<?>> fields)
Create a new DSL insert statement.
Unlike Insert
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
INSERT
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
insertInto(table, field1, field2)
.values(valueA1, valueA2)
.values(valueB1, valueB2)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
- See Also:
DSLContext.insertInto(Table, Collection)
-
update
@NotNull
@Support
public static <R extends Record>
@NotNull UpdateSetFirstStep<R> update(Table<R> table)
Create a new DSL update statement.
Unlike Update
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
UPDATE
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
update(table)
.set(field1, value1)
.set(field2, value2)
.where(field1.greaterThan(100))
Note that some databases support table expressions more complex than
simple table references. In MySQL, for instance, you can write
update(t1.join(t2).on(t1.id.eq(t2.id)))
.set(t1.value, value1)
.set(t2.value, value2)
.where(t1.id.eq(10))
-
mergeInto
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record>
@NotNull MergeUsingStep<R> mergeInto(Table<R> table)
Create a new DSL SQL standard MERGE statement.
Unlike Merge
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
MERGE
statement.
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
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:
import static org.jooq.impl.DSL.*;
// [...]
mergeInto(table)
.using(select)
.on(condition)
.whenMatchedThenUpdate()
.set(field1, value1)
.set(field2, value2)
.whenNotMatchedThenInsert(field1, field2)
.values(value1, value2)
Note: Using this method, you can also create an H2-specific MERGE
statement without field specification. See also
mergeInto(Table, Field...)
- See Also:
DSLContext.mergeInto(Table)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1>
@NotNull MergeKeyStep1<R,T1> mergeInto(Table<R> table,
Field<T1> field1)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2>
@NotNull MergeKeyStep2<R,T1,T2> mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3>
@NotNull MergeKeyStep3<R,T1,T2,T3> mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4>
@NotNull MergeKeyStep4<R,T1,T2,T3,T4> mergeInto(Table<R> table,
Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <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>
@NotNull 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)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record>
@NotNull MergeKeyStepN<R> mergeInto(Table<R> table,
Field<?>... fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
Create a new DSL merge statement (H2-specific syntax).
Unlike Merge
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
MERGE
statement.
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
https://www.h2database.com/html/commands.html#merge_into
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
- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record>
@NotNull MergeKeyStepN<R> mergeInto(Table<R> table,
Collection<? extends Field<?>> fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via mergeInto(Table)
Create a new DSL merge statement (H2-specific syntax).
Unlike Merge
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
MERGE
statement.
- See Also:
DSLContext.mergeInto(Table, Collection)
-
deleteFrom
@NotNull
@Support
public static <R extends Record>
@NotNull DeleteUsingStep<R> deleteFrom(Table<R> table)
Create a new DSL delete statement.
Unlike Delete
factory methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
DELETE
statement.
Example:
import static org.jooq.impl.DSL.*;
// [...]
deleteFrom(table)
.where(field1.greaterThan(100))
Some but not all databases support aliased tables in delete statements.
- See Also:
DSLContext.deleteFrom(Table)
-
delete
@NotNull
@Support
public static <R extends Record>
@NotNull DeleteUsingStep<R> delete(Table<R> table)
Create a new DSL delete statement.
This is an alias for deleteFrom(Table)
-
comment
Create a comment.
-
constraint
Create an unnamed (system named) CONSTRAINT
specification.
-
constraint
Create a CONSTRAINT
specification.
-
constraint
Create a CONSTRAINT
specification.
-
primaryKey
Create an unnamed (system named) PRIMARY KEY
constraint.
-
primaryKey
Create an unnamed (system named) PRIMARY KEY
constraint.
-
primaryKey
Create an unnamed (system named) PRIMARY KEY
constraint.
-
primaryKey
@NotNull
@Support
public static @NotNull ConstraintEnforcementStep primaryKey(Collection<? extends Field<?>> fields)
Create an unnamed (system named) PRIMARY KEY
constraint.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(String... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(Name... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(Field<?>... fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(Collection<? extends Field<?>> fields)
Add a FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1>
@NotNull ConstraintForeignKeyReferencesStep1<T1> foreignKey(Field<T1> field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2>
@NotNull ConstraintForeignKeyReferencesStep2<T1,T2> foreignKey(Field<T1> field1,
Field<T2> field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3>
@NotNull ConstraintForeignKeyReferencesStep3<T1,T2,T3> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull ConstraintForeignKeyReferencesStep4<T1,T2,T3,T4> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull ConstraintForeignKeyReferencesStep5<T1,T2,T3,T4,T5> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull ConstraintForeignKeyReferencesStep6<T1,T2,T3,T4,T5,T6> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull ConstraintForeignKeyReferencesStep7<T1,T2,T3,T4,T5,T6,T7> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull ConstraintForeignKeyReferencesStep8<T1,T2,T3,T4,T5,T6,T7,T8> foreignKey(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7,
Field<T8> field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull ConstraintForeignKeyReferencesStep9<T1,T2,T3,T4,T5,T6,T7,T8,T9> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull ConstraintForeignKeyReferencesStep10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull ConstraintForeignKeyReferencesStep11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull ConstraintForeignKeyReferencesStep12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull ConstraintForeignKeyReferencesStep13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull ConstraintForeignKeyReferencesStep14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull ConstraintForeignKeyReferencesStep15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull ConstraintForeignKeyReferencesStep16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull ConstraintForeignKeyReferencesStep17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull ConstraintForeignKeyReferencesStep18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull ConstraintForeignKeyReferencesStep19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull ConstraintForeignKeyReferencesStep20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull ConstraintForeignKeyReferencesStep21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull ConstraintForeignKeyReferencesStep22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> foreignKey(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)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep1<?> foreignKey(Name field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep2<?,?> foreignKey(Name field1,
Name field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?> foreignKey(Name field1,
Name field2,
Name field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep8<?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep9<?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep10<?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep11<?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep12<?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep13<?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep14<?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep15<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep16<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep17<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep18<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep19<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep20<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep21<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20,
Name field21)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep22<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(Name field1,
Name field2,
Name field3,
Name field4,
Name field5,
Name field6,
Name field7,
Name field8,
Name field9,
Name field10,
Name field11,
Name field12,
Name field13,
Name field14,
Name field15,
Name field16,
Name field17,
Name field18,
Name field19,
Name field20,
Name field21,
Name field22)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep1<?> foreignKey(String field1)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep2<?,?> foreignKey(String field1,
String field2)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?> foreignKey(String field1,
String field2,
String field3)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep8<?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep9<?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep10<?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep11<?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep12<?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep13<?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep14<?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep15<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep16<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep17<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep18<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep19<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep20<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep21<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20,
String field21)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
foreignKey
@NotNull
@Support
public static @NotNull ConstraintForeignKeyReferencesStep22<?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?> foreignKey(String field1,
String field2,
String field3,
String field4,
String field5,
String field6,
String field7,
String field8,
String field9,
String field10,
String field11,
String field12,
String field13,
String field14,
String field15,
String field16,
String field17,
String field18,
String field19,
String field20,
String field21,
String field22)
Add an unnamed (system named) FOREIGN KEY
clause to the CONSTRAINT
.
-
unique
Create an unnamed (system named) UNIQUE
constraint.
-
unique
Create an unnamed (system named) UNIQUE
constraint.
-
unique
Create an unnamed (system named) UNIQUE
constraint.
-
unique
@NotNull
@Support
public static @NotNull ConstraintEnforcementStep unique(Collection<? extends Field<?>> fields)
Create an unnamed (system named) UNIQUE
constraint.
-
check
@NotNull
@Support({ACCESS,ASE,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL_8_0_19,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull ConstraintEnforcementStep check(Condition condition)
Create an unnamed (system named) CHECK
constraint.
-
alterDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES})
public static AlterDatabaseStep alterDatabase(@Name
String database)
The ALTER DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDatabase(String)
-
alterDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES})
public static AlterDatabaseStep alterDatabase(Name database)
The ALTER DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDatabase(Name)
-
alterDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES})
public static AlterDatabaseStep alterDatabase(Catalog database)
The ALTER DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDatabase(Catalog)
-
alterDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,POSTGRES})
public static AlterDatabaseStep alterDatabaseIfExists(@Name
String database)
The ALTER DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDatabaseIfExists(String)
-
alterDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,POSTGRES})
public static AlterDatabaseStep alterDatabaseIfExists(Name database)
The ALTER DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDatabaseIfExists(Name)
-
alterDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,POSTGRES})
public static AlterDatabaseStep alterDatabaseIfExists(Catalog database)
The ALTER DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
alterDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomain(@Name
String domain)
The ALTER DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomain(String)
-
alterDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomain(Name domain)
The ALTER DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomain(Name)
-
alterDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomain(Domain<T> domain)
The ALTER DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomain(Domain)
-
alterDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomainIfExists(@Name
String domain)
The ALTER DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomainIfExists(String)
-
alterDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomainIfExists(Name domain)
The ALTER DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomainIfExists(Name)
-
alterDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES})
public static <T> AlterDomainStep<T> alterDomainIfExists(Domain<T> domain)
The ALTER DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterDomainIfExists(Domain)
-
alterIndex
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndex(@Name
String index)
The ALTER INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndex(String)
-
alterIndex
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndex(Name index)
The ALTER INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndex(Name)
-
alterIndex
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndex(Index index)
The ALTER INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndex(Index)
-
alterIndexIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndexIfExists(@Name
String index)
The ALTER INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndexIfExists(String)
-
alterIndexIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndexIfExists(Name index)
The ALTER INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndexIfExists(Name)
-
alterIndexIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016})
public static AlterIndexOnStep alterIndexIfExists(Index index)
The ALTER INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterIndexIfExists(Index)
-
alterSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HANA,HSQLDB,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static AlterSchemaStep alterSchema(@Name
String schema)
The ALTER SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchema(String)
-
alterSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HANA,HSQLDB,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static AlterSchemaStep alterSchema(Name schema)
The ALTER SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchema(Name)
-
alterSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HANA,HSQLDB,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static AlterSchemaStep alterSchema(Schema schema)
The ALTER SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchema(Schema)
-
alterSchemaIfExists
@NotNull
@CheckReturnValue
@Support({H2,HANA,SNOWFLAKE})
public static AlterSchemaStep alterSchemaIfExists(@Name
String schema)
The ALTER SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchemaIfExists(String)
-
alterSchemaIfExists
@NotNull
@CheckReturnValue
@Support({H2,HANA,SNOWFLAKE})
public static AlterSchemaStep alterSchemaIfExists(Name schema)
The ALTER SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchemaIfExists(Name)
-
alterSchemaIfExists
@NotNull
@CheckReturnValue
@Support({H2,HANA,SNOWFLAKE})
public static AlterSchemaStep alterSchemaIfExists(Schema schema)
The ALTER SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSchemaIfExists(Schema)
-
alterSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static AlterSequenceStep<Number> alterSequence(@Name
String sequence)
The ALTER SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSequence(String)
-
alterSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static AlterSequenceStep<Number> alterSequence(Name sequence)
The ALTER SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSequence(Name)
-
alterSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static <T extends Number>
AlterSequenceStep<T> alterSequence(Sequence<T> sequence)
The ALTER SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSequence(Sequence)
-
alterSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE})
public static AlterSequenceStep<Number> alterSequenceIfExists(@Name
String sequence)
The ALTER SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSequenceIfExists(String)
-
alterSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE})
public static AlterSequenceStep<Number> alterSequenceIfExists(Name sequence)
The ALTER SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterSequenceIfExists(Name)
-
alterSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE})
public static <T extends Number>
AlterSequenceStep<T> alterSequenceIfExists(Sequence<T> sequence)
The ALTER SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
alterType
@NotNull
@CheckReturnValue
@Support({COCKROACHDB,POSTGRES})
public static AlterTypeStep alterType(@Name
String type)
The ALTER TYPE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterType(String)
-
alterType
@NotNull
@CheckReturnValue
@Support({COCKROACHDB,POSTGRES})
public static AlterTypeStep alterType(Name type)
The ALTER TYPE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterType(Name)
-
alterView
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static AlterViewStep alterView(@Name
String view)
The ALTER VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterView(String)
-
alterView
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static AlterViewStep alterView(Name view)
The ALTER VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterView(Name)
-
alterView
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static AlterViewStep alterView(Table<?> view)
The ALTER VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterView(Table)
-
alterViewIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static AlterViewStep alterViewIfExists(@Name
String view)
The ALTER VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterViewIfExists(String)
-
alterViewIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static AlterViewStep alterViewIfExists(Name view)
The ALTER VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterViewIfExists(Name)
-
alterViewIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static AlterViewStep alterViewIfExists(Table<?> view)
The ALTER VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.alterViewIfExists(Table)
-
commentOnTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnTable(@Name
String table)
The COMMENT ON TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnTable(String)
-
commentOnTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnTable(Name table)
The COMMENT ON TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnTable(Name)
-
commentOnTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnTable(Table<?> table)
The COMMENT ON TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnTable(Table)
-
commentOnView
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnView(@Name
String view)
The COMMENT ON VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnView(String)
-
commentOnView
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnView(Name view)
The COMMENT ON VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnView(Name)
-
commentOnView
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnView(Table<?> view)
The COMMENT ON VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnView(Table)
-
commentOnColumn
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnColumn(@Name
String field)
The COMMENT ON COLUMN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnColumn(String)
-
commentOnColumn
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnColumn(Name field)
The COMMENT ON COLUMN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnColumn(Name)
-
commentOnColumn
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA})
public static CommentOnIsStep commentOnColumn(Field<?> field)
The COMMENT ON COLUMN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.commentOnColumn(Field)
-
createDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabase(@Name
String database)
The CREATE DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDatabase(String)
-
createDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabase(Name database)
The CREATE DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDatabase(Name)
-
createDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabase(Catalog database)
The CREATE DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDatabase(Catalog)
-
createDatabaseIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabaseIfNotExists(@Name
String database)
The CREATE DATABASE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createDatabaseIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabaseIfNotExists(Name database)
The CREATE DATABASE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createDatabaseIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER})
public static CreateDatabaseFinalStep createDatabaseIfNotExists(Catalog database)
The CREATE DATABASE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomain(@Name
String domain)
The CREATE DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDomain(String)
-
createDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomain(Name domain)
The CREATE DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDomain(Name)
-
createDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomain(Domain<?> domain)
The CREATE DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDomain(Domain)
-
createDomainIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomainIfNotExists(@Name
String domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createDomainIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomainIfNotExists(Name domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createDomainIfNotExists(Name)
-
createDomainIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER})
public static CreateDomainAsStep createDomainIfNotExists(Domain<?> domain)
The CREATE DOMAIN IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static CreateFunctionParametersStep createFunction(@Name
String function)
The CREATE FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createFunction(String)
-
createFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static CreateFunctionParametersStep createFunction(Name function)
The CREATE FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createFunction(Name)
-
createOrReplaceFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,VERTICA})
@Pro
public static CreateFunctionParametersStep createOrReplaceFunction(@Name
String function)
The CREATE OR REPLACE FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createOrReplaceFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,VERTICA})
@Pro
public static CreateFunctionParametersStep createOrReplaceFunction(Name function)
The CREATE OR REPLACE FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createOrReplaceFunction(Name)
-
createIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createIndex(@Name
String index)
The CREATE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndex(String)
-
createIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createIndex(Name index)
The CREATE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndex(Name)
-
createIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createIndex(Index index)
The CREATE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndex(Index)
-
createIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createIndex()
The CREATE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndex()
-
createIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createIndexIfNotExists(@Name
String index)
The CREATE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createIndexIfNotExists(Name index)
The CREATE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndexIfNotExists(Name)
-
createIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createIndexIfNotExists(Index index)
The CREATE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndexIfNotExists(Index)
-
createIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createIndexIfNotExists()
The CREATE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createIndexIfNotExists()
-
createUniqueIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createUniqueIndex(@Name
String index)
The CREATE UNIQUE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createUniqueIndex(String)
-
createUniqueIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createUniqueIndex(Name index)
The CREATE UNIQUE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createUniqueIndex(Name)
-
createUniqueIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createUniqueIndex(Index index)
The CREATE UNIQUE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createUniqueIndex(Index)
-
createUniqueIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static CreateIndexStep createUniqueIndex()
The CREATE UNIQUE INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createUniqueIndex()
-
createUniqueIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createUniqueIndexIfNotExists(@Name
String index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createUniqueIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createUniqueIndexIfNotExists(Name index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createUniqueIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createUniqueIndexIfNotExists(Index index)
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createUniqueIndexIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE})
public static CreateIndexStep createUniqueIndexIfNotExists()
The CREATE UNIQUE INDEX IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_11,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static CreateProcedureParametersStep createProcedure(@Name
String procedure)
The CREATE PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createProcedure(String)
-
createProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_11,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static CreateProcedureParametersStep createProcedure(Name procedure)
The CREATE PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createProcedure(Name)
-
createOrReplaceProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_11,SQLSERVER})
@Pro
public static CreateProcedureParametersStep createOrReplaceProcedure(@Name
String procedure)
The CREATE OR REPLACE PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createOrReplaceProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES_11,SQLSERVER})
@Pro
public static CreateProcedureParametersStep createOrReplaceProcedure(Name procedure)
The CREATE OR REPLACE PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createTrigger
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static CreateTriggerEventStep createTrigger(@Name
String trigger)
The CREATE TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createTrigger(String)
-
createTrigger
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static CreateTriggerEventStep createTrigger(Name trigger)
The CREATE TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createTrigger(Name)
-
createOrReplaceTrigger
@NotNull
@CheckReturnValue
@Support({DB2,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static CreateTriggerEventStep createOrReplaceTrigger(@Name
String trigger)
The CREATE OR REPLACE TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createOrReplaceTrigger
@NotNull
@CheckReturnValue
@Support({DB2,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static CreateTriggerEventStep createOrReplaceTrigger(Name trigger)
The CREATE OR REPLACE TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createOrReplaceTrigger(Name)
-
createSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchema(@Name
String schema)
The CREATE SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSchema(String)
-
createSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchema(Name schema)
The CREATE SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSchema(Name)
-
createSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchema(Schema schema)
The CREATE SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSchema(Schema)
-
createSchemaIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchemaIfNotExists(@Name
String schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createSchemaIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchemaIfNotExists(Name schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSchemaIfNotExists(Name)
-
createSchemaIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static CreateSchemaFinalStep createSchemaIfNotExists(Schema schema)
The CREATE SCHEMA IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequence(@Name
String sequence)
The CREATE SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSequence(String)
-
createSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequence(Name sequence)
The CREATE SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSequence(Name)
-
createSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequence(Sequence<?> sequence)
The CREATE SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.createSequence(Sequence)
-
createSequenceIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequenceIfNotExists(@Name
String sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createSequenceIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequenceIfNotExists(Name sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
createSequenceIfNotExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static CreateSequenceFlagsStep createSequenceIfNotExists(Sequence<?> sequence)
The CREATE SEQUENCE IF NOT EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
dropDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabase(@Name
String database)
The DROP DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabase(String)
-
dropDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabase(Name database)
The DROP DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabase(Name)
-
dropDatabase
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabase(Catalog database)
The DROP DATABASE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabase(Catalog)
-
dropDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabaseIfExists(@Name
String database)
The DROP DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabaseIfExists(String)
-
dropDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabaseIfExists(Name database)
The DROP DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabaseIfExists(Name)
-
dropDatabaseIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
public static DropDatabaseFinalStep dropDatabaseIfExists(Catalog database)
The DROP DATABASE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDatabaseIfExists(Catalog)
-
dropDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomain(@Name
String domain)
The DROP DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomain(String)
-
dropDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomain(Name domain)
The DROP DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomain(Name)
-
dropDomain
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomain(Domain<?> domain)
The DROP DOMAIN
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomain(Domain)
-
dropDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomainIfExists(@Name
String domain)
The DROP DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomainIfExists(String)
-
dropDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomainIfExists(Name domain)
The DROP DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomainIfExists(Name)
-
dropDomainIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static DropDomainCascadeStep dropDomainIfExists(Domain<?> domain)
The DROP DOMAIN IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropDomainIfExists(Domain)
-
dropFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static DDLQuery dropFunction(@Name
String function)
The DROP FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropFunction(String)
-
dropFunction
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static DDLQuery dropFunction(Name function)
The DROP FUNCTION
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropFunction(Name)
-
dropFunctionIfExists
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,VERTICA})
@Pro
public static DDLQuery dropFunctionIfExists(@Name
String function)
The DROP FUNCTION IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropFunctionIfExists(String)
-
dropFunctionIfExists
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,VERTICA})
@Pro
public static DDLQuery dropFunctionIfExists(Name function)
The DROP FUNCTION IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropFunctionIfExists(Name)
-
dropIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static DropIndexOnStep dropIndex(@Name
String index)
The DROP INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndex(String)
-
dropIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static DropIndexOnStep dropIndex(Name index)
The DROP INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndex(Name)
-
dropIndex
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static DropIndexOnStep dropIndex(Index index)
The DROP INDEX
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndex(Index)
-
dropIndexIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static DropIndexOnStep dropIndexIfExists(@Name
String index)
The DROP INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndexIfExists(String)
-
dropIndexIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static DropIndexOnStep dropIndexIfExists(Name index)
The DROP INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndexIfExists(Name)
-
dropIndexIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static DropIndexOnStep dropIndexIfExists(Index index)
The DROP INDEX IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropIndexIfExists(Index)
-
dropProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static DDLQuery dropProcedure(@Name
String procedure)
The DROP PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropProcedure(String)
-
dropProcedure
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static DDLQuery dropProcedure(Name procedure)
The DROP PROCEDURE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropProcedure(Name)
-
dropProcedureIfExists
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER})
@Pro
public static DDLQuery dropProcedureIfExists(@Name
String procedure)
The DROP PROCEDURE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropProcedureIfExists(String)
-
dropProcedureIfExists
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER})
@Pro
public static DDLQuery dropProcedureIfExists(Name procedure)
The DROP PROCEDURE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropProcedureIfExists(Name)
-
dropSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchema(@Name
String schema)
The DROP SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchema(String)
-
dropSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchema(Name schema)
The DROP SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchema(Name)
-
dropSchema
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchema(Schema schema)
The DROP SCHEMA
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchema(Schema)
-
dropSchemaIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchemaIfExists(@Name
String schema)
The DROP SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchemaIfExists(String)
-
dropSchemaIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchemaIfExists(Name schema)
The DROP SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchemaIfExists(Name)
-
dropSchemaIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static DropSchemaStep dropSchemaIfExists(Schema schema)
The DROP SCHEMA IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSchemaIfExists(Schema)
-
dropSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequence(@Name
String sequence)
The DROP SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSequence(String)
-
dropSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequence(Name sequence)
The DROP SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSequence(Name)
-
dropSequence
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequence(Sequence<?> sequence)
The DROP SEQUENCE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSequence(Sequence)
-
dropSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequenceIfExists(@Name
String sequence)
The DROP SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSequenceIfExists(String)
-
dropSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequenceIfExists(Name sequence)
The DROP SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropSequenceIfExists(Name)
-
dropSequenceIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static DropSequenceFinalStep dropSequenceIfExists(Sequence<?> sequence)
The DROP SEQUENCE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
dropTable
The DROP TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTable(String)
-
dropTable
The DROP TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTable(Name)
-
dropTable
The DROP TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTable(Table)
-
dropTableIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropTableStep dropTableIfExists(@Name
String table)
The DROP TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTableIfExists(String)
-
dropTableIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropTableStep dropTableIfExists(Name table)
The DROP TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTableIfExists(Name)
-
dropTableIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropTableStep dropTableIfExists(Table<?> table)
The DROP TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTableIfExists(Table)
-
dropTemporaryTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static DropTableStep dropTemporaryTable(@Name
String table)
The DROP TEMPORARY TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTemporaryTable(String)
-
dropTemporaryTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static DropTableStep dropTemporaryTable(Name table)
The DROP TEMPORARY TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTemporaryTable(Name)
-
dropTemporaryTable
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static DropTableStep dropTemporaryTable(Table<?> table)
The DROP TEMPORARY TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTemporaryTable(Table)
-
dropTemporaryTableIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,VERTICA})
public static DropTableStep dropTemporaryTableIfExists(@Name
String table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
dropTemporaryTableIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,VERTICA})
public static DropTableStep dropTemporaryTableIfExists(Name table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
dropTemporaryTableIfExists
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,VERTICA})
public static DropTableStep dropTemporaryTableIfExists(Table<?> table)
The DROP TEMPORARY TABLE IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
dropTrigger
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static DDLQuery dropTrigger(@Name
String trigger)
The DROP TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTrigger(String)
-
dropTrigger
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static DDLQuery dropTrigger(Name trigger)
The DROP TRIGGER
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTrigger(Name)
-
dropTriggerIfExists
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static DDLQuery dropTriggerIfExists(@Name
String trigger)
The DROP TRIGGER IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTriggerIfExists(String)
-
dropTriggerIfExists
@NotNull
@CheckReturnValue
@Support({DB2,FIREBIRD_3_0,INFORMIX,MARIADB,MYSQL,ORACLE,SQLSERVER})
@Pro
public static DDLQuery dropTriggerIfExists(Name trigger)
The DROP TRIGGER IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropTriggerIfExists(Name)
-
dropView
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static DropViewFinalStep dropView(@Name
String view)
The DROP VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropView(String)
-
dropView
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static DropViewFinalStep dropView(Name view)
The DROP VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropView(Name)
-
dropView
@NotNull
@CheckReturnValue
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static DropViewFinalStep dropView(Table<?> view)
The DROP VIEW
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropView(Table)
-
dropViewIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropViewFinalStep dropViewIfExists(@Name
String view)
The DROP VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropViewIfExists(String)
-
dropViewIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropViewFinalStep dropViewIfExists(Name view)
The DROP VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropViewIfExists(Name)
-
dropViewIfExists
@NotNull
@CheckReturnValue
@Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static DropViewFinalStep dropViewIfExists(Table<?> view)
The DROP VIEW IF EXISTS
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.dropViewIfExists(Table)
-
grant
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static GrantOnStep grant(Privilege privileges)
The GRANT
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.grant(Privilege)
-
grant
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static GrantOnStep grant(Privilege... privileges)
The GRANT
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.grant(Privilege...)
-
grant
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static GrantOnStep grant(Collection<? extends Privilege> privileges)
The GRANT
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.grant(Collection)
-
revoke
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revoke(Privilege privileges)
The REVOKE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.revoke(Privilege)
-
revoke
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revoke(Privilege... privileges)
The REVOKE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.revoke(Privilege...)
-
revoke
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revoke(Collection<? extends Privilege> privileges)
The REVOKE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.revoke(Collection)
-
revokeGrantOptionFor
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revokeGrantOptionFor(Privilege privileges)
The REVOKE GRANT OPTION FOR
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
revokeGrantOptionFor
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revokeGrantOptionFor(Privilege... privileges)
The REVOKE GRANT OPTION FOR
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
revokeGrantOptionFor
@NotNull
@CheckReturnValue
@Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER})
public static RevokeOnStep revokeGrantOptionFor(Collection<? extends Privilege> privileges)
The REVOKE GRANT OPTION FOR
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
-
set
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,MEMSQL,MYSQL,POSTGRES})
public static RowCountQuery set(Name name,
Param<?> value)
The SET
statement.
Set a vendor specific session configuration to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.set(Name, Param)
-
setLocal
@NotNull
@CheckReturnValue
@Support({AURORA_POSTGRES,POSTGRES})
public static RowCountQuery setLocal(Name name,
Param<?> value)
The SET LOCAL
statement.
Set a vendor specific transaction-local configuration to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setLocal(Name, Param)
-
setCatalog
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SNOWFLAKE,SQLSERVER,TERADATA})
public static RowCountQuery setCatalog(@Name
String catalog)
The SET CATALOG
statement.
Set the current catalog to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setCatalog(String)
-
setCatalog
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SNOWFLAKE,SQLSERVER,TERADATA})
public static RowCountQuery setCatalog(Name catalog)
The SET CATALOG
statement.
Set the current catalog to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setCatalog(Name)
-
setCatalog
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SNOWFLAKE,SQLSERVER,TERADATA})
public static RowCountQuery setCatalog(Catalog catalog)
The SET CATALOG
statement.
Set the current catalog to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setCatalog(Catalog)
-
setSchema
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,TERADATA,VERTICA})
public static RowCountQuery setSchema(@Name
String schema)
The SET SCHEMA
statement.
Set the current schema to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setSchema(String)
-
setSchema
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,TERADATA,VERTICA})
public static RowCountQuery setSchema(Name schema)
The SET SCHEMA
statement.
Set the current schema to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setSchema(Name)
-
setSchema
@NotNull
@CheckReturnValue
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,TERADATA,VERTICA})
public static RowCountQuery setSchema(Schema schema)
The SET SCHEMA
statement.
Set the current schema to a new value.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.setSchema(Schema)
-
truncate
@NotNull
@CheckReturnValue
@Support
public static TruncateIdentityStep<Record> truncate(@Name
String table)
The TRUNCATE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncate(String)
-
truncate
@NotNull
@CheckReturnValue
@Support
public static TruncateIdentityStep<Record> truncate(Name table)
The TRUNCATE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncate(Name)
-
truncate
@NotNull
@CheckReturnValue
@Support
public static <R extends Record>
TruncateIdentityStep<R> truncate(Table<R> table)
The TRUNCATE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncate(Table)
-
truncateTable
@NotNull
@CheckReturnValue
@Support
public static TruncateIdentityStep<Record> truncateTable(@Name
String table)
The TRUNCATE TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncateTable(String)
-
truncateTable
@NotNull
@CheckReturnValue
@Support
public static TruncateIdentityStep<Record> truncateTable(Name table)
The TRUNCATE TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncateTable(Name)
-
truncateTable
@NotNull
@CheckReturnValue
@Support
public static <R extends Record>
TruncateIdentityStep<R> truncateTable(Table<R> table)
The TRUNCATE TABLE
statement.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.truncateTable(Table)
-
call
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static CallArgsStep call(@Name
String procedure)
The CALL
statement.
Call a stored procedure.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.call(String)
-
call
@NotNull
@CheckReturnValue
@Support({BIGQUERY,DB2,FIREBIRD,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static CallArgsStep call(Name procedure)
The CALL
statement.
Call a stored procedure.
Unlike statement construction methods in the DSLContext
API, this
creates an unattached, and thus not directly renderable or executable
statement. It can be used as a subquery or nested in procedural logic.
- See Also:
DSLContext.call(Name)
-
createTable
Create a new DSL CREATE TABLE
statement.
- See Also:
DSLContext.createTable(String)
-
createTable
Create a new DSL CREATE TABLE
statement.
- See Also:
DSLContext.createTable(Name)
-
createTable
Create a new DSL CREATE TABLE
statement.
- See Also:
DSLContext.createTable(Table)
-
createTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static @NotNull CreateTableColumnStep createTableIfNotExists(String table)
Create a new DSL CREATE TABLE
statement.
-
createTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static @NotNull CreateTableColumnStep createTableIfNotExists(Name table)
Create a new DSL CREATE TABLE
statement.
- See Also:
DSLContext.createTableIfNotExists(Name)
-
createTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static @NotNull CreateTableColumnStep createTableIfNotExists(Table<?> table)
Create a new DSL CREATE TABLE
statement.
- See Also:
DSLContext.createTableIfNotExists(Table)
-
createTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTable(String table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
- See Also:
DSLContext.createTemporaryTable(String)
-
createTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTable(Name table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
- See Also:
DSLContext.createTemporaryTable(Name)
-
createTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTable(Table<?> table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
- See Also:
DSLContext.createTemporaryTable(Table)
-
createTemporaryTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(String table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
-
createTemporaryTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(Name table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
-
createTemporaryTableIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(Table<?> table)
Create a new DSL CREATE TEMPORARY TABLE
statement.
-
createGlobalTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(String table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
-
createGlobalTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(Name table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
-
createGlobalTemporaryTable
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,TERADATA,VERTICA})
public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(Table<?> table)
Create a new DSL CREATE GLOBAL TEMPORARY TABLE
statement.
-
createView
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(String view,
String... fields)
Create a new DSL CREATE VIEW
statement.
- See Also:
DSLContext.createView(String, String...)
-
createView
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(Name view,
Name... fields)
Create a new DSL CREATE VIEW
statement.
- See Also:
DSLContext.createView(Name, Name...)
-
createView
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE VIEW
statement.
- See Also:
DSLContext.createView(Table, Field...)
-
createView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL 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.
- See Also:
DSLContext.createView(String, String...)
-
createView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL 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.
- See Also:
DSLContext.createView(Name, Name...)
-
createView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createView(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL 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.
- See Also:
DSLContext.createView(Table, Field...)
-
createOrReplaceView
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(String view,
String... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
-
createOrReplaceView
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(Name view,
Name... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
-
createOrReplaceView
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE OR REPLACE VIEW
statement.
-
createOrReplaceView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE OR REPLACE VIEW
statement.
This works like createOrReplaceView(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
-
createOrReplaceView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE OR REPLACE VIEW
statement.
This works like createOrReplaceView(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
-
createOrReplaceView
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({ASE_16_0,AURORA_POSTGRES,BIGQUERY,COCKROACHDB_21,DB2,EXASOL,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA})
public static @NotNull CreateViewAsStep createOrReplaceView(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE OR REPLACE VIEW
statement.
This works like createOrReplaceView(Table, Field...)
except that the
view's field names are derived from the view's Select
statement
using a function.
-
createViewIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(String view,
String... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
-
createViewIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(Name view,
Name... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
-
createViewIfNotExists
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(Table<?> view,
Field<?>... fields)
Create a new DSL CREATE VIEW IF NOT EXISTS
statement.
-
createViewIfNotExists
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(String view,
Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE VIEW IF NOT EXISTS
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.
-
createViewIfNotExists
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(Name view,
Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE VIEW IF NOT EXISTS
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.
-
createViewIfNotExists
@Deprecated(forRemoval=true,
since="3.14")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull CreateViewAsStep createViewIfNotExists(Table<?> view,
Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.14.0 - [#10156] - These methods will be removed without
replacement from a future jOOQ. They offer convenience that
is unidiomatic for jOOQ's DSL, without offering functionality
that would not be possible otherwise - yet they add
complexity in jOOQ's internals.
Create a new DSL CREATE VIEW IF NOT EXISTS
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.
-
createType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull CreateTypeStep createType(String type)
Create a new DSL CREATE TYPE
statement.
- See Also:
DSLContext.createType(String)
-
createType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull CreateTypeStep createType(Name type)
Create a new DSL CREATE TYPE
statement.
- See Also:
DSLContext.createType(Name)
-
dropType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropType(String type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropType(String)
-
dropType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropType(Name type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropType(Name)
-
dropType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropType(String... type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropType(String...)
-
dropType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropType(Name... type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropType(Name...)
-
dropType
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropType(Collection<?> type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropType(Collection)
-
dropTypeIfExists
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropTypeIfExists(String type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropTypeIfExists(String)
-
dropTypeIfExists
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropTypeIfExists(Name type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropTypeIfExists(Name)
-
dropTypeIfExists
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropTypeIfExists(String... type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropTypeIfExists(String...)
-
dropTypeIfExists
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropTypeIfExists(Name... type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropTypeIfExists(Name...)
-
dropTypeIfExists
@NotNull
@Support({COCKROACHDB,H2,POSTGRES})
public static @NotNull DropTypeStep dropTypeIfExists(Collection<?> type)
Create a new DSL DROP TYPE
statement.
- See Also:
dropTypeIfExists(Collection)
-
alterTable
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTable(String)
-
alterTable
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTable(Name)
-
alterTable
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTable(Table)
-
alterTableIfExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,IGNITE,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static @NotNull AlterTableStep alterTableIfExists(String table)
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTableIfExists(String)
-
alterTableIfExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,IGNITE,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static @NotNull AlterTableStep alterTableIfExists(Name table)
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTableIfExists(Name)
-
alterTableIfExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,IGNITE,MARIADB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER})
public static @NotNull AlterTableStep alterTableIfExists(Table<?> table)
Create a new DSL ALTER TABLE
statement.
- See Also:
DSLContext.alterTableIfExists(Table)
-
all
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record>
@NotNull QuantifiedSelect<R> all(Select<R> select)
Create an ALL
quantified select to be used in quantified
comparison predicate expressions.
-
all
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T>
@NotNull QuantifiedSelect<Record1<T>> all(T... array)
Create an ALL
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
all
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T>
@NotNull QuantifiedSelect<Record1<T>> all(Field<T[]> array)
Create an ALL
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
all
@NotNull
@Support
@SafeVarargs
public static <T>
@NotNull QuantifiedSelect<Record1<T>> all(Field<T>... fields)
Create an ALL
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
any
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <R extends Record>
@NotNull QuantifiedSelect<R> any(Select<R> select)
Create an ANY
quantified select to be used in quantified
comparison predicate expressions.
-
any
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T>
@NotNull QuantifiedSelect<Record1<T>> any(T... array)
Create an ANY
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
any
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T>
@NotNull QuantifiedSelect<Record1<T>> any(Field<T[]> array)
Create an ANY
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
any
@NotNull
@Support
@SafeVarargs
public static <T>
@NotNull QuantifiedSelect<Record1<T>> any(Field<T>... fields)
Create an ANY
quantified select to be used in quantified
comparison predicate expressions.
This is natively supported by SQLDialect.POSTGRES
. Other dialects
will render a subselect unnesting the array.
-
collation
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER})
public static @NotNull Collation collation(String collation)
Create a collation by its unqualified name.
-
collation
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER})
public static @NotNull Collation collation(Name collation)
Create a collation by its qualified name.
-
characterSet
@NotNull
@Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL})
public static @NotNull CharacterSet characterSet(String characterSet)
Create a character set by its unqualified name.
-
characterSet
@NotNull
@Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL})
public static @NotNull CharacterSet characterSet(Name characterSet)
Create a character set by its qualified name.
-
privilege
Create a new privilege reference.
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!
-
user
Create a new user reference.
- See Also:
user(Name)
-
user
Create a new user reference.
-
role
Create a new role reference.
- See Also:
role(Name)
-
role
Create a new role reference.
-
table
A synonym for TableLike.asTable()
, which might look a bit more fluent
like this, to some users.
- See Also:
TableLike.asTable()
-
table
Use a previously obtained result as a new Table
that can be used
in SQL statements through values(RowN...)
.
- See Also:
values(RowN...)
-
table
Use a previously obtained record as a new Table
-
table
Use a previously obtained set of records as a new Table
-
table
A synonym for unnest(Collection)
.
- See Also:
unnest(Collection)
-
table
A synonym for unnest(Object[])
.
- See Also:
unnest(Object[])
-
table
A synonym for unnest(ArrayRecord)
.
- See Also:
unnest(ArrayRecord)
-
table
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES})
public static @NotNull Table<?> table(Field<?> cursor)
A synonym for unnest(Field)
.
- See Also:
unnest(Field)
-
unnest
Create a table from a list of values.
This is equivalent to the TABLE
function for H2, or the
UNNEST
function in HSQLDB and Postgres
For Oracle, use table(ArrayRecord)
instead, as Oracle knows only
typed arrays
In all other dialects, unnesting of arrays is emulated using several
UNION ALL
connected subqueries.
-
unnest
Create a table from an array of values.
This is equivalent to the TABLE
function for H2, or the
UNNEST
function in HSQLDB and Postgres
For Oracle, use table(ArrayRecord)
instead, as Oracle knows only
typed arrays
In all other dialects, unnesting of arrays is emulated using several
UNION ALL
connected subqueries.
-
unnest
Create a table from an array of values.
This wraps the argument array in a TABLE
function for
Oracle. Currently, only Oracle knows typed arrays
-
unnest
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES})
public static @NotNull Table<?> unnest(Field<?> cursor)
Create a table from a field.
The supplied field can have any of these types:
-
Result
: For CURSOR
or REF CURSOR
fields, typically fetched from stored functions or from nested tables
-
ArrayRecord
: For Oracle-style VARRAY
types.
-
Object
[]: Array types, for other RDBMS's ARRAY types (e.g.
H2, HSQLDB, and Postgres)
-
Object
: Any other type that jOOQ will try to convert in an
array first, before converting that array into a table
This functionality has only limited scope when used in H2, as ARRAY types
involved with stored functions can only be of type Object[]
.
Such arrays are converted into VARCHAR
arrays by jOOQ.
In all dialects where arrays are not supported, unnesting of arrays is
emulated using several UNION ALL
connected subqueries.
-
dual
The DUAL
table to be used for syntactic completeness.
In general, jOOQ will generate a DUAL
table (or any
equivalent construct, see below), if this is needed syntactically in
generated SQL. You may still wish to explicitly use a DUAL
construct in jOOQ code for various reasons. This DUAL
table
will always contain a single record with a single varchar(1) value:
+-------+
| DUMMY |
+-------+
| X |
+-------+
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
int to)
A table function generating a series of values from from
to
to
(inclusive).
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b)
-- Oracle
SELECT * FROM (SELECT a + LEVEL - 1 FROM DUAL CONNECT BY a + LEVEL - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
Field<Integer> to)
A table function generating a series of values from from
to
to
(inclusive).
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b)
-- Oracle
SELECT * FROM (SELECT a + LEVEL - 1 FROM DUAL CONNECT BY a + LEVEL - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
int to)
A table function generating a series of values from from
to
to
(inclusive).
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b)
-- Oracle
SELECT * FROM (SELECT a + LEVEL - 1 FROM DUAL CONNECT BY a + LEVEL - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
Field<Integer> to)
A table function generating a series of values from from
to
to
(inclusive).
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b)
-- Oracle
SELECT * FROM (SELECT a + LEVEL - 1 FROM DUAL CONNECT BY a + LEVEL - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
int to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects
may be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c- 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
Field<Integer> to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
int to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
Field<Integer> to,
int step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
int to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects
may be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c- 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(int from,
Field<Integer> to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
int to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
generateSeries
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Table<Record1<Integer>> generateSeries(Field<Integer> from,
Field<Integer> to,
Field<Integer> step)
A table function generating a series of values from from
to
to
(inclusive), increasing values by step
.
This function is inspired by PostgreSQL's
GENERATE_SERIES(from, to, step)
function. Other SQL dialects may
be capable of emulating this behaviour, e.g. Oracle:
-- PostgreSQL
SELECT * FROM GENERATE_SERIES(a, b, c)
-- Oracle
SELECT * FROM (SELECT a + LEVEL * c - 1 FROM DUAL CONNECT BY a + LEVEL * c - 1 <= b)
-
lateral
@NotNull
@Support({AURORA_POSTGRES,DB2,MYSQL_8_0,ORACLE12C,POSTGRES_9_3,SNOWFLAKE})
public static <R extends Record> @NotNull Table<R> lateral(TableLike<R> table)
Create a LATERAL
joined table.
Example:
SELECT *
FROM employees e,
LATERAL(SELECT * FROM departments d
WHERE e.department_id = d.department_id);
-
rowsFrom
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES})
public static @NotNull Table<Record> rowsFrom(Table<?>... tables)
Create a ROWS FROM (tables...)
expression.
Example:
SELECT *
FROM ROWS FROM (function1('a', 'b'), function2('c', 'd'));
This allows for full outer joining several table-valued functions on the
row number of each function's produced rows.
-
keyword
Create a SQL keyword.
A Keyword
is a QueryPart
that renders a SQL keyword
according to the settings specified in
Settings.getRenderKeywordCase()
. It can be embedded in other
plain SQL QueryParts
as shown in this example:
Condition c = condition("{0} {1} {2} {3} {4}",
value1, keyword("between")
value2, keyword("and")
value3
);
-
name
Create a new SQL identifier using an unqualified name.
Use this method to construct syntax-safe, SQL-injection-safe SQL
identifiers for use in plain SQL where QueryPart
objects are
accepted. For instance, this can be used with any of these methods:
An example:
// This unqualified name here
name("book");
// ... will render this SQL by default, using the SQL Server dialect
[book].[title]
- Parameters:
unqualifiedName
- The SQL identifier's unqualified name
- Returns:
- A
QueryPart
that will render the SQL identifier
-
name
Create a new SQL identifier using a qualified name.
Use this method to construct syntax-safe, SQL-injection-safe SQL
identifiers for use in plain SQL where QueryPart
objects are
accepted. For instance, this can be used with any of these methods:
An example:
// This qualified name here
name("book", "title");
// ... will render this SQL by default, using the SQL Server dialect
[book].[title]
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
name
Create a new SQL identifier using a qualified name.
Unlike other name(String...)
constructors, this one constructs a
name from its argument Name.unqualifiedName()
parts, retaining
the quoted flag, to construct a new name.
Use this method to construct syntax-safe, SQL-injection-safe SQL
identifiers for use in plain SQL where QueryPart
objects are
accepted. For instance, this can be used with any of these methods:
An example:
// This qualified name here
name(quotedName("book"), unquotedName("title"));
// ... will render this SQL by default, using the SQL Server dialect
[book].title
- Parameters:
nameParts
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
name
Create a new SQL identifier using a qualified name.
Use this method to construct syntax-safe, SQL-injection-safe SQL
identifiers for use in plain SQL where QueryPart
objects are
accepted. For instance, this can be used with any of these methods:
An example:
// This qualified name here
name("book", "title");
// ... will render this SQL by default, using the SQL Server dialect
[book].[title]
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
quotedName
Create a new SQL identifier using an unqualified, quoted name.
This works like name(String...)
, except that generated
identifiers will be quoted by default in databases that support quoted
identifiers, exept if forced to be unquoted using
Settings.getRenderQuotedNames()
with value
RenderQuotedNames#NEVER
.
- Parameters:
unqualifiedName
- The SQL identifier's unqualified name
- Returns:
- A
QueryPart
that will render the SQL identifier
-
quotedName
Create a new SQL identifier using a qualified, quoted name.
This works like name(String...)
, except that generated
identifiers will be quoted by default in databases that support quoted
identifiers, exept if forced to be unquoted using
Settings.getRenderQuotedNames()
with value
RenderQuotedNames#NEVER
.
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
quotedName
Create a new SQL identifier using a qualified, quoted name.
This works like name(Collection)
, except that generated
identifiers will be quoted by default in databases that support quoted
identifiers, exept if forced to be unquoted using
Settings.getRenderQuotedNames()
with value
RenderQuotedNames#NEVER
.
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
unquotedName
Create a new SQL identifier using an unqualified, quoted name.
This works like name(String)
, except that generated
identifiers will be unquoted by default, except if forced to be quoted
using Settings.getRenderQuotedNames()
with value
RenderQuotedNames#ALWAYS
.
- Parameters:
unqualifiedName
- The SQL identifier's unqualified name
- Returns:
- A
QueryPart
that will render the SQL identifier
-
unquotedName
Create a new SQL identifier using a qualified, quoted name.
This works like name(String...)
, except that generated
identifiers will be unquoted by default, except if forced to be quoted
using Settings.getRenderQuotedNames()
with value
RenderQuotedNames#ALWAYS
.
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
unquotedName
Create a new SQL identifier using a qualified, quoted name.
This works like name(Collection)
, except that generated
identifiers will be unquoted by default, except if forced to be quoted
using Settings.getRenderQuotedNames()
with value
RenderQuotedNames#ALWAYS
.
- Parameters:
qualifiedName
- The SQL identifier's qualified name parts
- Returns:
- A
QueryPart
that will render the SQL identifier
-
list
Compose a list of QueryParts
into a new
QueryPart
, with individual parts being comma-separated.
-
list
Compose a list of QueryParts
into a new
QueryPart
, with individual parts being comma-separated.
-
defaultValue
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Object> defaultValue()
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
While the DEFAULT
keyword works with all data types, you may
still prefer to associate a Field
type with your
DEFAULT
value. In that case, use
defaultValue(Class)
or defaultValue(DataType)
instead.
This is an alias for default_()
.
- See Also:
default_()
-
defaultValue
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> defaultValue(Class<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
This is an alias for default_(Class)
.
- See Also:
default_(Class)
-
defaultValue
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> defaultValue(DataType<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
This is an alias for default_(DataType)
.
- See Also:
default_(DataType)
-
defaultValue
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> defaultValue(Field<T> field)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
This is an alias for default_(Field)
.
- See Also:
default_(Field)
-
default_
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Object> default_()
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
While the DEFAULT
keyword works with all data types, you may
still prefer to associate a Field
type with your
DEFAULT
value. In that case, use
defaultValue(Class)
or defaultValue(DataType)
instead.
-
default_
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> default_(Class<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
-
default_
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> default_(DataType<T> type)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
-
default_
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull Field<T> default_(Field<T> field)
Create a DEFAULT
keyword for use with INSERT
,
UPDATE
, or MERGE
statements.
-
schemaByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
public static @NotNull Schema schemaByName(String name)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use schema(Name)
instead
Create a qualified schema, given its schema name.
This constructs a schema reference given the schema's qualified name.
Example:
// This schema...
schemaByName("MY_SCHEMA");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA]
- Parameters:
name
- The schema's reference name.
- Returns:
- A schema referenced by
name
-
catalog
Create a qualified catalog, given its catalog name.
This constructs a catalog reference given the catalog's qualified name.
Example:
// This catalog...
catalog(name("MY_CATALOG"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_CATALOG]
-
catalog
Create a qualified catalog, given its catalog name.
This constructs a catalog reference given the catalog's qualified name.
Example:
// This catalog...
catalog(name("MY_CATALOG"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_CATALOG]
-
schema
Create a qualified schema, given its schema name.
This constructs a schema reference given the schema's qualified name.
Example:
// This schema...
schema(name("MY_CATALOG", "MY_SCHEMA"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_CATALOG].[MY_SCHEMA]
-
schema
Create a qualified schema, given its schema name.
This constructs a schema reference given the schema's qualified name.
Example:
// This schema...
schema(name("MY_CATALOG", "MY_SCHEMA"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_CATALOG].[MY_SCHEMA]
-
sequenceByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static @NotNull Sequence<BigInteger> sequenceByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name)
instead
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequenceByName("MY_SCHEMA", "MY_SEQUENCE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
- Parameters:
qualifiedName
- The various parts making up your sequence's
reference name.
- Returns:
- A sequence referenced by
sequenceName
-
sequenceByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static <T extends Number>
@NotNull Sequence<T> sequenceByName(Class<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name, Class)
instead
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequenceByName("MY_SCHEMA", "MY_SEQUENCE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
- Parameters:
qualifiedName
- The various parts making up your sequence's
reference name.
type
- The type of the returned field
- Returns:
- A sequence referenced by
sequenceName
-
sequenceByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static <T extends Number>
@NotNull Sequence<T> sequenceByName(DataType<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use sequence(Name, DataType)
instead
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequenceByName("MY_SCHEMA", "MY_SEQUENCE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
- Parameters:
qualifiedName
- The various parts making up your sequence's
reference name.
type
- The type of the returned field
- Returns:
- A sequence referenced by
sequenceName
-
sequence
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static @NotNull Sequence<BigInteger> sequence(Name name)
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequence(name("MY_SCHEMA", "MY_SEQUENCE"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
-
sequence
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static <T extends Number>
@NotNull Sequence<T> sequence(Name name,
Class<T> type)
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequence(name("MY_SCHEMA", "MY_SEQUENCE"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
- Parameters:
name
- The sequence name
type
- The sequence type (a type that is supported by
SQLDataType
)
-
sequence
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA})
public static <T extends Number>
@NotNull Sequence<T> sequence(Name name,
DataType<T> type)
Create a qualified sequence, given its sequence name.
This constructs a sequence reference given the sequence's qualified name.
Example:
// This sequence...
sequence(name("MY_SCHEMA", "MY_SEQUENCE"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_SEQUENCE]
-
tableByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
public static @NotNull Table<Record> tableByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use table(Name)
instead
Create a qualified table, given its table name.
This constructs a table reference given the table's qualified name. jOOQ
Example:
// This table...
tableByName("MY_SCHEMA", "MY_TABLE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE]
- Parameters:
qualifiedName
- The various parts making up your table's reference
name.
- Returns:
- A table referenced by
tableName
-
table
Create a qualified table, given its table name.
This constructs a table reference given the table's qualified name. jOOQ
Example:
// This table...
tableByName("MY_SCHEMA", "MY_TABLE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE]
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
-
table
Create a qualified table, given its table name.
This constructs a table reference given the table's qualified name. jOOQ
Example:
// This table...
tableByName("MY_SCHEMA", "MY_TABLE");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE]
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
-
fieldByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
public static @NotNull Field<Object> fieldByName(String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name)
instead
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
fieldByName("MY_SCHEMA", "MY_TABLE", "MY_FIELD");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, fieldByName("TITLE")))
.from(tableByName("T_BOOK"))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
- Parameters:
qualifiedName
- The various parts making up your field's reference
name.
- Returns:
- A field referenced by
fieldName
-
fieldByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
public static <T> @NotNull Field<T> fieldByName(Class<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name, Class)
instead
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
fieldByName("MY_SCHEMA", "MY_TABLE", "MY_FIELD");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, fieldByName("TITLE")))
.from(tableByName("T_BOOK"))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
- Parameters:
qualifiedName
- The various parts making up your field's reference
name.
type
- The type of the returned field
- Returns:
- A field referenced by
fieldName
-
fieldByName
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
public static <T> @NotNull Field<T> fieldByName(DataType<T> type,
String... qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#3843] - 3.6.0 - use field(Name, DataType)
instead
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
fieldByName("MY_SCHEMA", "MY_TABLE", "MY_FIELD");
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, fieldByName("TITLE")))
.from(tableByName("T_BOOK"))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
- Parameters:
qualifiedName
- The various parts making up your field's reference
name.
type
- The type of the returned field
- Returns:
- A field referenced by
fieldName
-
field
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
field(name("MY_SCHEMA", "MY_TABLE", "MY_FIELD"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, field(name("TITLE"))))
.from(table(name("T_BOOK")))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
-
field
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
field(name("MY_SCHEMA", "MY_TABLE", "MY_FIELD"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, field(name("TITLE"))))
.from(table(name("T_BOOK")))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
- Parameters:
name
- The field name
type
- The field type (a type that is supported by
SQLDataType
)
-
field
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
field(name("MY_SCHEMA", "MY_TABLE", "MY_FIELD"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, field(name("TITLE"))))
.from(table(name("T_BOOK")))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
-
field
@NotNull
@Support
public static <T> @NotNull Field<T> field(Name name,
DataType<T> type,
Comment comment)
Create a qualified field, given its (qualified) field name.
This constructs a field reference given the field's qualified name. jOOQ
Example:
// This field...
field(name("MY_SCHEMA", "MY_TABLE", "MY_FIELD"));
// ... will render this SQL by default, using the SQL Server dialect
[MY_SCHEMA].[MY_TABLE].[MY_FIELD]
Another example:
create.select(field("length({1})", Integer.class, field(name("TITLE"))))
.from(table(name("T_BOOK")))
.fetch();
// ... will execute this SQL on SQL Server:
select length([TITLE]) from [T_BOOK]
-
index
Create a qualified index reference by name.
-
period
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static @NotNull Period<Timestamp> period(Name name)
Create a named Period
reference.
-
period
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static <T> @NotNull Period<T> period(Name name,
Class<T> type)
Create a named Period
reference.
- Parameters:
name
- The period name
type
- The period type (a type that is supported by
SQLDataType
)
-
period
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static <T> @NotNull Period<T> period(Name name,
DataType<T> type)
Create a named Period
reference.
-
systemTime
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static @NotNull Period<Timestamp> systemTime()
Create a SYSTEM_TIME
Period
reference.
-
systemTime
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static <T> @NotNull Period<T> systemTime(Class<T> type)
Create a SYSTEM_TIME
Period
reference.
-
systemTime
@NotNull
@Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016})
@Pro
public static <T> @NotNull Period<T> systemTime(DataType<T> type)
Create a SYSTEM_TIME
Period
reference.
-
in
Create an IN
parameter.
-
in
Create an IN
parameter.
-
inOut
Create an IN OUT
parameter.
-
inOut
Create an IN OUT
parameter.
-
out
Create an OUT
parameter.
-
out
Create an OUT
parameter.
-
queries
Wrap a collection of queries.
- See Also:
DSLContext.queries(Query...)
-
queries
Wrap a collection of queries.
- See Also:
DSLContext.queries(Collection)
-
begin
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA})
public static @NotNull Block begin(Statement... statements)
Wrap a collection of statements in an anonymous procedural block.
- See Also:
DSLContext.begin(Statement...)
-
begin
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA})
public static @NotNull Block begin(Collection<? extends Statement> statements)
Wrap a collection of statements in an anonymous procedural block.
- See Also:
DSLContext.begin(Collection)
-
statement
A custom procedural fragment that can render arbitrary statements.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
statement
@NotNull
@Support
@PlainSQL
@Pro
public static @NotNull Statement statement(String sql,
Object... bindings)
A custom procedural fragment that can render arbitrary statements.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
statement
@NotNull
@Support
@PlainSQL
@Pro
public static @NotNull Statement statement(String sql,
QueryPart... parts)
A custom procedural fragment that can render arbitrary statements.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
statement
A custom procedural fragment that can render arbitrary statements.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
statements
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA})
@Pro
public static @NotNull Block statements(Statement... statements)
Wrap a collection of statements in an anonymous procedural block that
does not wrap in BEGIN .. END;
, unless explicitly needed.
- See Also:
DSLContext.statements(Statement...)
-
statements
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA})
@Pro
public static @NotNull Block statements(Collection<? extends Statement> statements)
Wrap a collection of statements in an anonymous procedural block that
does not wrap in BEGIN .. END;
, unless explicitly needed.
- See Also:
DSLContext.statements(Collection)
-
var
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Variable<T> var(String name,
DataType<T> type)
Create a local variable reference for use in procedural code.
- See Also:
begin(Statement...)
-
var
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Variable<T> var(Name name,
DataType<T> type)
Create a local variable reference for use in procedural code.
- See Also:
begin(Statement...)
-
variable
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Variable<T> variable(String name,
DataType<T> type)
A synonym for var(Name, DataType)
to be used in Scala and
Groovy, where var
is a reserved keyword.
- See Also:
val(Object)
,
begin(Statement...)
-
variable
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Variable<T> variable(Name name,
DataType<T> type)
A synonym for var(Name, DataType)
to be used in Scala and
Groovy, where var
is a reserved keyword.
- See Also:
val(Object)
,
begin(Statement...)
-
declare
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Declaration<T> declare(Variable<T> variable)
Create a local variable declaration for use in procedural code.
Declarations can be inlined in any statement Block
as is
supported by databases like SQLDialect.MYSQL
or
SQLDialect.SQLSERVER
. If the underlying database requires a
dedicated DECLARE
section, the section will be generated
automatically and if needed, a nested Block
is generated.
- See Also:
begin(Statement...)
-
declare
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement declare(Variable<?>... variables)
Create a local variable declaration for use in procedural code.
Declarations can be inlined in any statement Block
as is
supported by databases like SQLDialect.MYSQL
or
SQLDialect.SQLSERVER
. If the underlying database requires a
dedicated DECLARE
section, the section will be generated
automatically and if needed, a nested Block
is generated.
- See Also:
begin(Statement...)
-
declare
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement declare(Collection<? extends Variable<?>> variables)
Create a local variable declaration for use in procedural code.
Declarations can be inlined in any statement Block
as is
supported by databases like SQLDialect.MYSQL
or
SQLDialect.SQLSERVER
. If the underlying database requires a
dedicated DECLARE
section, the section will be generated
automatically and if needed, a nested Block
is generated.
- See Also:
begin(Statement...)
-
execute
@NotNull
@Support({BIGQUERY,DB2,FIREBIRD,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER})
@Pro
public static @NotNull Statement execute(String sql)
Execute a statement dynamically from within procedural code.
Many dialects support some way of running procedural and SQL statements
dynamically from within procedural code. For example, in Oracle, this
syntax is required to run DDL statements from PL/SQL:
BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE x (i INT)';
END;
-
execute
@NotNull
@Support({BIGQUERY,DB2,FIREBIRD,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER})
@Pro
public static @NotNull Statement execute(Field<String> sql)
Execute a statement dynamically from within procedural code.
Many dialects support some way of running procedural and SQL statements
dynamically from within procedural code. For example, in Oracle, this
syntax is required to run DDL statements from PL/SQL:
BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE x (i INT)';
END;
-
execute
@NotNull
@Support({BIGQUERY,DB2,FIREBIRD,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER})
@Pro
public static @NotNull Statement execute(Query sql)
Execute a statement dynamically from within procedural code.
Many dialects support some way of running procedural and SQL statements
dynamically from within procedural code. For example, in Oracle, this
syntax is required to run DDL statements from PL/SQL:
BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE x (i INT)';
END;
-
if_
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull IfThenStep if_(Condition condition)
Create an IF
statement for use in procedural code.
- See Also:
begin(Statement...)
-
while_
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull LoopStep while_(Condition condition)
Create a WHILE
loop for use in procedural code.
- See Also:
begin(Statement...)
-
repeat
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull RepeatUntilStep repeat(Statement... statements)
Create a REPEAT
loop for use in procedural code.
- See Also:
begin(Statement...)
-
repeat
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull RepeatUntilStep repeat(Collection<? extends Statement> statements)
Create a REPEAT
loop for use in procedural code.
- See Also:
begin(Statement...)
-
for_
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull ForInStep<T> for_(Variable<T> index)
Create a FOR
loop for use in procedural code.
- See Also:
begin(Statement...)
-
loop
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement loop(Statement... statements)
Create a LOOP
for use in procedural code.
- See Also:
begin(Statement...)
-
loop
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement loop(Collection<? extends Statement> statements)
Create a LOOP
for use in procedural code.
- See Also:
begin(Statement...)
-
label
@NotNull
@Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Label label(String label)
Create a label reference for use in procedural code.
- See Also:
begin(Statement...)
-
label
@NotNull
@Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Label label(Name label)
Create a label reference for use in procedural code.
- See Also:
begin(Statement...)
-
goto_
@NotNull
@Support({DB2,INFORMIX,ORACLE,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement goto_(Label label)
Create an GOTO
statement for use in procedural code.
- See Also:
begin(Statement...)
-
exit
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull ExitWhenStep exit()
Create an EXIT
statement for use in procedural code.
- See Also:
begin(Statement...)
-
exit
@NotNull
@Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES})
@Pro
public static @NotNull ExitWhenStep exit(Label label)
Create an EXIT
statement for use in procedural code.
- See Also:
begin(Statement...)
-
exitWhen
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement exitWhen(Condition condition)
Create an EXIT
statement for use in procedural code.
- See Also:
begin(Statement...)
-
exitWhen
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement exitWhen(Field<Boolean> condition)
Create an EXIT
statement for use in procedural code.
- See Also:
begin(Statement...)
-
continue_
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull ContinueWhenStep continue_()
Create an CONTINUE
statement for use in procedural code.
- See Also:
begin(Statement...)
-
continue_
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES})
@Pro
public static @NotNull ContinueWhenStep continue_(Label label)
Create an CONTINUE
statement for use in procedural code.
- See Also:
begin(Statement...)
-
continueWhen
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement continueWhen(Condition condition)
Create an CONTINUE
statement for use in procedural code.
- See Also:
begin(Statement...)
-
continueWhen
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,H2,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static @NotNull Statement continueWhen(Field<Boolean> condition)
Create an CONTINUE
statement for use in procedural code.
- See Also:
begin(Statement...)
-
link
Create a database link reference.
-
link
Create a database link reference.
-
link
Create a database link reference.
-
sql
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
sql
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
This overload takes a set of QueryPart
arguments which are
replaced into the SQL string template at the appropriate index. Example:
// Argument QueryParts are replaced into the SQL string at the appropriate index
sql("select {0}, {1} from {2}", TABLE.COL1, TABLE.COL2, TABLE);
// Bind variables are supported as well, for backwards compatibility
sql("select col1, col2 from table where col1 = ?", val(1));
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!
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
sql
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL. There must be as many bind variables contained
in the SQL, as passed in the bindings parameter
This overload takes a set of bind value arguments which are replaced our
bound into the SQL string template at the appropriate index. Example:
sql("select col1, col2 from table where col1 = ?", 1);
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
queryPart
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
@PlainSQL
public static @NotNull QueryPart queryPart(String sql)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String)
instead
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
-
queryPart
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
@PlainSQL
public static @NotNull QueryPart queryPart(String sql,
QueryPart... parts)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String, QueryPart...)
instead
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL.
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!
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
queryPart
@Deprecated(forRemoval=true,
since="3.6")
@NotNull
@Support
@PlainSQL
public static @NotNull QueryPart queryPart(String sql,
Object... bindings)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.6.0 - [#3854] - Use sql(String, Object...)
instead
A custom SQL clause that can render arbitrary expressions.
A plain SQL QueryPart
is a QueryPart
that can
contain user-defined plain SQL, because sometimes it is easier to express
things directly in SQL. 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!
- Parameters:
sql
- The SQL
- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
query
Create a new query holding plain SQL. There must not be any binding
variables contained in the 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!
- Parameters:
sql
- The SQL
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
-
query
Create a new query holding plain SQL. There must not be any binding
variables contained in the 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!
- Parameters:
sql
- The SQL
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
-
query
@NotNull
@Support
@PlainSQL
public static @NotNull RowCountQuery query(String sql,
Object... bindings)
Create a new query holding plain SQL. There must be as many bind
variables contained in the SQL, as passed in the bindings parameter.
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!
- Parameters:
sql
- The SQL
bindings
- The bindings
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
query
@NotNull
@Support
@PlainSQL
public static @NotNull RowCountQuery query(String sql,
QueryPart... parts)
Create a new query holding plain SQL.
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 by default, using Oracle SQL dialect
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
resultQuery
Create a new query holding plain 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)
Example (Postgres):
String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
Example
(SQLite):
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!
- Parameters:
sql
- The SQL
- Returns:
- An executable query
- See Also:
SQL
-
resultQuery
Create a new query holding plain 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)
Example (Postgres):
String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
Example
(SQLite):
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!
- Parameters:
sql
- The SQL
- Returns:
- An executable query
- See Also:
SQL
-
resultQuery
@NotNull
@Support
@PlainSQL
public static @NotNull ResultQuery<Record> resultQuery(String sql,
Object... bindings)
Create a new query holding plain SQL.
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)
Example (Postgres):
String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
Example
(SQLite):
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!
- Parameters:
sql
- The SQL
bindings
- The bindings
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
resultQuery
@NotNull
@Support
@PlainSQL
public static @NotNull ResultQuery<Record> resultQuery(String sql,
QueryPart... parts)
Create a new query holding plain SQL.
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 by default, using Oracle SQL dialect
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
table
A custom SQL clause that can render arbitrary table expressions.
A plain SQL table is a table that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex, but static subqueries or tables from different schemas.
Example
String sql = "(SELECT * FROM USER_TABLES WHERE OWNER = 'MY_SCHEMA')";
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
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!
- Parameters:
sql
- The SQL
- Returns:
- A table wrapping the plain SQL
- See Also:
SQL
-
table
A custom SQL clause that can render arbitrary table expressions.
A plain SQL table is a table that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex, but static subqueries or tables from different schemas.
Example
String sql = "(SELECT * FROM USER_TABLES WHERE OWNER = 'MY_SCHEMA')";
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
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!
- Parameters:
sql
- The SQL
- Returns:
- A table wrapping the plain SQL
- See Also:
SQL
-
table
@NotNull
@Support
@PlainSQL
public static @NotNull Table<Record> table(String sql,
Object... bindings)
A custom SQL clause that can render arbitrary table expressions.
A plain SQL table is a table that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex, but static subqueries or tables from different schemas.
There must be as many bind variables contained in the SQL, as passed
in the bindings parameter
Example
String sql = "(SELECT * FROM USER_TABLES WHERE OWNER = ?)";
Object[] bindings = new Object[] { "MY_SCHEMA" };
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
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!
- Parameters:
sql
- The SQL
- Returns:
- A table wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
table
@NotNull
@Support
@PlainSQL
public static @NotNull Table<Record> table(String sql,
QueryPart... parts)
A custom SQL clause that can render arbitrary table expressions.
A plain SQL table is a table that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex, but static subqueries or tables from different schemas.
Example
String sql = "(SELECT * FROM USER_TABLES WHERE {0})";
QueryPart[] parts = new QueryPart[] { USER_TABLES.OWNER.equal("MY_SCHEMA") };
The returned table does not know its field references, i.e.
Fields.fields()
returns an empty array.
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!
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A table wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
sequence
@Deprecated(forRemoval=true,
since="3.10")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE})
@PlainSQL
public static @NotNull Sequence<BigInteger> sequence(String sql)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name)
instead.
Create a "plain SQL" sequence.
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!
- Parameters:
sql
- The SQL
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
sequence
@Deprecated(forRemoval=true,
since="3.10")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE})
@PlainSQL
public static <T extends Number>
@NotNull Sequence<T> sequence(String sql,
Class<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name, Class)
instead.
Create a "plain SQL" sequence.
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!
- Parameters:
sql
- The sequence name
type
- The sequence type (a type that is supported by
SQLDataType
)
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
sequence
@Deprecated(forRemoval=true,
since="3.10")
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE})
@PlainSQL
public static <T extends Number>
@NotNull Sequence<T> sequence(String sql,
DataType<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.10 - [#6162] - Use sequence(Name, DataType)
instead.
Create a "plain SQL" sequence.
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!
- Parameters:
sql
- The SQL
type
- The field type
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
value
@NotNull
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static <T> @NotNull Field<T> value(Class<T> type)
Create the VALUE
pseudo field for usage with
DOMAIN
specifications.
-
value
@NotNull
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static <T> @NotNull Field<T> value(DataType<T> type)
Create the VALUE
pseudo field for usage with
DOMAIN
specifications.
-
domain
@NotNull
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static @NotNull Domain<?> domain(String name)
Create a DOMAIN
reference.
-
domain
@NotNull
@Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER})
public static @NotNull Domain<?> domain(Name name)
Create a DOMAIN
reference.
-
field
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
@NotNull
@Support
@PlainSQL
public static @NotNull Field<Object> field(String sql,
Object... bindings)
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must be as many binding
variables contained in the SQL, as passed in the bindings parameter
Example:
String sql = "DECODE(MY_FIELD, ?, ?, ?)";
Object[] bindings = new Object[] { 1, 100, 200 };
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!
- Parameters:
sql
- The SQL
bindings
- The bindings for the field
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
field
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
type
- The field type (a type that is supported by
SQLDataType
)
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
type
- The field type (a type that is supported by
SQLDataType
)
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> field(String sql,
Class<T> type,
Object... bindings)
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must be as many binding
variables contained in the SQL, as passed in the bindings parameter
Example:
String sql = "DECODE(MY_FIELD, ?, ?, ?)";
Object[] bindings = new Object[] { 1, 100, 200 };
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!
- Parameters:
sql
- The SQL
type
- The field type (a type that is supported by
SQLDataType
)
bindings
- The bindings for the field
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
field
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
type
- The field type
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> field(String sql,
DataType<T> type)
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must not be any binding
variables contained in the SQL.
Example:
String sql = "DECODE(MY_FIELD, 1, 100, 200)";
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!
- Parameters:
sql
- The SQL
type
- The field type
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
field
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> field(String sql,
DataType<T> type,
Object... bindings)
Create a "plain SQL" field.
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions. There must be as many binding
variables contained in the SQL, as passed in the bindings parameter
Example:
String sql = "DECODE(MY_FIELD, ?, ?, ?)";
Object[] bindings = new Object[] { 1, 100, 200 };
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!
- Parameters:
sql
- The SQL
type
- The field type
bindings
- The bindings for the field
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
field
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> field(String sql,
DataType<T> type,
QueryPart... parts)
Create a "plain SQL" field.
This is useful for constructing more complex SQL syntax elements wherever
Field
types are expected. An example for this is MySQL's
GROUP_CONCAT
aggregate function, which has MySQL-specific
keywords that are hard to reflect in jOOQ's DSL:
GROUP_CONCAT([DISTINCT] expr [,expr ...]
[ORDER BY {unsigned_integer | col_name | expr}
[ASC | DESC] [,col_name ...]]
[SEPARATOR str_val])
The above MySQL function can be expressed as such:
field("GROUP_CONCAT(DISTINCT {0} ORDER BY {1} ASC SEPARATOR '-')", expr1, expr2);
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL
type
- The field type
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
field
@NotNull
@Support
@PlainSQL
public static @NotNull Field<Object> field(String sql,
QueryPart... parts)
A custom SQL clause that can render arbitrary SQL elements.
This is useful for constructing more complex SQL syntax elements wherever
Field
types are expected. An example for this is MySQL's
GROUP_CONCAT
aggregate function, which has MySQL-specific
keywords that are hard to reflect in jOOQ's DSL:
GROUP_CONCAT([DISTINCT] expr [,expr ...]
[ORDER BY {unsigned_integer | col_name | expr}
[ASC | DESC] [,col_name ...]]
[SEPARATOR str_val])
The above MySQL function can be expressed as such:
field("GROUP_CONCAT(DISTINCT {0} ORDER BY {1} ASC SEPARATOR '-')", expr1, expr2);
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
field
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> field(String sql,
Class<T> type,
QueryPart... parts)
A custom SQL clause that can render arbitrary SQL elements.
This is useful for constructing more complex SQL syntax elements wherever
Field
types are expected. An example for this is MySQL's
GROUP_CONCAT
aggregate function, which has MySQL-specific
keywords that are hard to reflect in jOOQ's DSL:
GROUP_CONCAT([DISTINCT] expr [,expr ...]
[ORDER BY {unsigned_integer | col_name | expr}
[ASC | DESC] [,col_name ...]]
[SEPARATOR str_val])
The above MySQL function can be expressed as such:
field("GROUP_CONCAT(DISTINCT {0} ORDER BY {1} ASC SEPARATOR '-')", expr1, expr2);
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injected
type
- The field type (a type that is supported by
SQLDataType
)
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
function
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> function(String name,
Class<T> type,
Field<?>... arguments)
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
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!
- Parameters:
name
- The function name (without parentheses)
type
- The function return type (a type that is supported by
SQLDataType
)
arguments
- The function arguments
- See Also:
SQL
-
function
@NotNull
@Support
@PlainSQL
public static <T> @NotNull Field<T> function(String name,
DataType<T> type,
Field<?>... arguments)
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
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!
- Parameters:
name
- The function name (without parentheses)
type
- The function return type
arguments
- The function arguments
- See Also:
SQL
-
function
@NotNull
@Support
public static <T> @NotNull Field<T> function(Name name,
Class<T> type,
Field<?>... arguments)
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
- Parameters:
name
- The function name (possibly qualified)
type
- The function return type (a type that is supported by
SQLDataType
)
arguments
- The function arguments
-
function
@NotNull
@Support
public static <T> @NotNull Field<T> function(Name name,
DataType<T> type,
Field<?>... arguments)
function()
can be used to access native or user-defined
functions that are not yet or insufficiently supported by jOOQ.
- Parameters:
name
- The function name (possibly qualified)
type
- The function return type
arguments
- The function arguments
-
aggregate
@NotNull
@Support
@PlainSQL
public static <T> @NotNull AggregateFunction<T> aggregate(String name,
Class<T> type,
Field<?>... arguments)
aggregate()
can be used to access native or user-defined
aggregate functions that are not yet or insufficiently supported by jOOQ.
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!
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type (a type that is supported
by SQLDataType
)
arguments
- The aggregate function arguments
- See Also:
SQL
-
aggregate
@NotNull
@Support
@PlainSQL
public static <T> @NotNull AggregateFunction<T> aggregate(String name,
DataType<T> type,
Field<?>... arguments)
aggregate()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
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!
- Parameters:
name
- The aggregate function name
type
- The aggregate function return type
arguments
- The aggregate function arguments
- See Also:
SQL
-
aggregate
@NotNull
@Support
public static <T> @NotNull AggregateFunction<T> aggregate(Name name,
Class<T> type,
Field<?>... arguments)
aggregate()
can be used to access native or user-defined
aggregate functions that are not yet or insufficiently supported by jOOQ.
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type (a type that is supported
by SQLDataType
)
arguments
- The aggregate function arguments
-
aggregate
@NotNull
@Support
public static <T> @NotNull AggregateFunction<T> aggregate(Name name,
DataType<T> type,
Field<?>... arguments)
aggregate()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type
arguments
- The aggregate function arguments
-
aggregateDistinct
@NotNull
@Support
@PlainSQL
public static <T> @NotNull AggregateFunction<T> aggregateDistinct(String name,
Class<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
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!
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type (a type that is supported
by SQLDataType
)
arguments
- The aggregate function arguments
- See Also:
SQL
-
aggregateDistinct
@NotNull
@Support
@PlainSQL
public static <T> @NotNull AggregateFunction<T> aggregateDistinct(String name,
DataType<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
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!
- Parameters:
name
- The aggregate function name
type
- The aggregate function return type
arguments
- The aggregate function arguments
- See Also:
SQL
-
aggregateDistinct
@NotNull
@Support
public static <T> @NotNull AggregateFunction<T> aggregateDistinct(Name name,
Class<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type (a type that is supported
by SQLDataType
)
arguments
- The aggregate function arguments
-
aggregateDistinct
@NotNull
@Support
public static <T> @NotNull AggregateFunction<T> aggregateDistinct(Name name,
DataType<T> type,
Field<?>... arguments)
aggregateDistinct()
can be used to access native or
user-defined aggregate functions that are not yet or insufficiently
supported by jOOQ.
- Parameters:
name
- The aggregate function name (possibly qualified)
type
- The aggregate function return type
arguments
- The aggregate function arguments
-
condition
Create a new condition holding plain SQL.
There must not be any bind variables contained in the SQL.
Example:
String sql = "(X = 1 and Y = 2)";
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!
- Parameters:
sql
- The SQL
- Returns:
- A condition wrapping the plain SQL
- See Also:
SQL
-
condition
Create a new condition holding plain SQL.
There must not be any bind variables contained in the SQL.
Example:
String sql = "(X = 1 and Y = 2)";
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!
- Parameters:
sql
- The SQL
- Returns:
- A condition wrapping the plain SQL
- See Also:
SQL
-
condition
@NotNull
@Support
@PlainSQL
public static @NotNull Condition condition(String sql,
Object... bindings)
Create a new condition holding plain SQL.
There must be as many bind variables contained in the SQL, as passed
in the bindings parameter
Example:
String sql = "(X = ? and Y = ?)";
Object[] bindings = new Object[] { 1, 2 };
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!
- Parameters:
sql
- The SQL
bindings
- The bindings
- Returns:
- A condition wrapping the plain SQL
- See Also:
SQL
,
sql(String, Object...)
-
condition
@NotNull
@Support
@PlainSQL
public static @NotNull Condition condition(String sql,
QueryPart... parts)
A custom SQL clause that can render arbitrary SQL elements.
This is useful for constructing more complex SQL syntax elements wherever
Condition
types are expected. An example for this are
Postgres's various operators, some of which are missing in the jOOQ API.
For instance, the "overlap" operator for arrays:
ARRAY[1,4,3] && ARRAY[2,1]
The above Postgres operator can be expressed as such:
condition("{0} && {1}", array1, array2);
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 name(String...)
and similar methods
- Parameters:
sql
- The SQL
parts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locations
- Returns:
- A condition wrapping the plain SQL
- See Also:
SQL
,
sql(String, QueryPart...)
-
condition
Create a condition from a boolean field.
Databases that support boolean data types can use boolean expressions
as predicates or as columns interchangeably. This extends to any type
of field, including functions. A Postgres example:
select 1 where texteq('a', 'a');
- Parameters:
value
- The boolean expression.
- Returns:
- A condition wrapping the boolean expression
-
condition
Create a condition from a boolean field.
Databases that support boolean data types can use boolean expressions
as predicates or as columns interchangeably. This extends to any type
of field, including functions. A Postgres example:
select 1 where texteq('a', 'a');
- Parameters:
field
- The boolean expression.
- Returns:
- A condition wrapping the boolean expression
-
condition
Create a condition from a map.
The result is a condition generated from keys and values of the argument map
, such that:
key1 = value1 AND key2 = value2 AND ... AND keyN = valueN
- Parameters:
map
- A map containing keys and values to form predicates.
- Returns:
- A condition comparing keys with values.
-
condition
Create a "Query By Example" (QBE) Condition
from a Record
.
This will take all the non-null values in the argument
record
to form a predicate from them. If all values in the
record
are null
, the predicate will be the
trueCondition()
.
- Parameters:
record
- The record from which to create a condition.
- Returns:
- The condition.
- See Also:
- https://en.
wikipedia.org/wiki/Query_by_Example
-
noCondition
Return a Condition
that behaves like no condition being
present.
This is useful as an "identity" condition for reduction operations, for
both AND
and OR
reductions, e.g.
Condition combined =
Stream.of(cond1, cond2, cond3)
.reduce(noCondition(), Condition::and);
When this condition is passed to SQL clauses, such as the
WHERE
clause, the entire clause is omitted:
selectFrom(T).where(noCondition())
... will produce
SELECT * FROM t
-
trueCondition
Return a Condition
that will always evaluate to true.
-
falseCondition
Return a Condition
that will always evaluate to false.
-
and
-
and
-
and
-
or
-
or
-
or
-
condition
@NotNull
@Support
public static @NotNull Condition condition(Operator operator,
Condition left,
Condition right)
Return a Condition
that connects all argument
conditions
with Operator
.
-
condition
@NotNull
@Support
public static @NotNull Condition condition(Operator operator,
Condition... conditions)
Return a Condition
that connects all argument
conditions
with Operator
.
-
condition
@NotNull
@Support
public static @NotNull Condition condition(Operator operator,
Collection<? extends Condition> conditions)
Return a Condition
that connects all argument
conditions
with Operator
.
-
exists
Create an exists condition.
EXISTS ([query])
-
notExists
Create a not exists condition.
NOT EXISTS ([query])
-
unique
Create a unique condition.
UNIQUE ([query])
-
notUnique
Create a not unique condition.
NOT UNIQUE ([query])
-
not
Invert a condition.
This is the same as calling Condition.not()
-
not
Invert a boolean value.
This is convenience for calling field(Condition)
,
not(Condition)
, condition(Field)
, i.e.
field(not(condition(field)));
-
field
Transform a condition into a boolean field.
-
field
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<Integer> field(Field<T> field,
T... list)
Get the MySQL FIELD(expr, expr1, expr2, ...)
function.
-
field
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<Integer> field(Field<T> field,
Field<T>... list)
Get the MySQL FIELD(expr, expr1, expr2, ...)
function.
-
field
Wrap a SelectField
in a general-purpose Field
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static @NotNull Field<Record> rowField(RowN row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use RowN
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1> @NotNull Field<Record1<T1>> rowField(Row1<T1> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row1
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2>
@NotNull Field<Record2<T1,T2>> rowField(Row2<T1,T2> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row2
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3>
@NotNull Field<Record3<T1,T2,T3>> rowField(Row3<T1,T2,T3> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row3
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4>
@NotNull Field<Record4<T1,T2,T3,T4>> rowField(Row4<T1,T2,T3,T4> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row4
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5>
@NotNull Field<Record5<T1,T2,T3,T4,T5>> rowField(Row5<T1,T2,T3,T4,T5> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row5
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Field<Record6<T1,T2,T3,T4,T5,T6>> rowField(Row6<T1,T2,T3,T4,T5,T6> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row6
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Field<Record7<T1,T2,T3,T4,T5,T6,T7>> rowField(Row7<T1,T2,T3,T4,T5,T6,T7> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row7
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Field<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> rowField(Row8<T1,T2,T3,T4,T5,T6,T7,T8> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row8
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Field<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> rowField(Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row9
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Field<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> rowField(Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row10
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Field<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> rowField(Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row11
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Field<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> rowField(Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row12
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Field<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> rowField(Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row13
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Field<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> rowField(Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row14
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Field<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> rowField(Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row15
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Field<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> rowField(Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row16
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Field<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> rowField(Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row17
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Field<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> rowField(Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row18
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Field<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> rowField(Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row19
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Field<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> rowField(Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row20
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Field<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> rowField(Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row21
as a SelectField
directly, instead.
-
rowField
@NotNull
@Support
@Deprecated(forRemoval=true,
since="3.15")
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Field<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> rowField(Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> row)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11812] - 3.15.0 - Use Row22
as a SelectField
directly, instead.
-
field
Transform a subquery into a correlated subquery.
-
if_
@NotNull
@Support
public static <T> @NotNull Field<T> if_(Condition condition,
T ifTrue,
T ifFalse)
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
-
if_
@NotNull
@Support
public static <T> @NotNull Field<T> if_(Condition condition,
T ifTrue,
Field<T> ifFalse)
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
-
if_
@NotNull
@Support
public static <T> @NotNull Field<T> if_(Condition condition,
Field<T> ifTrue,
T ifFalse)
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
-
if_
@NotNull
@Support
public static <T> @NotNull Field<T> if_(Condition condition,
Field<T> ifTrue,
Field<T> ifFalse)
Create a MySQL style IF(condition, ifTrue, ifFalse)
function.
-
choose
Initialise a Case
statement.
Choose is used as a method name to avoid name clashes with Java's
reserved literal "case"
- See Also:
Case
-
choose
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'three'
END
Choose is used as a method name to avoid name clashes with Java's
reserved literal "case".
- See Also:
Case
-
choose
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'three'
END
Choose is used as a method name to avoid name clashes with Java's
reserved literal "case".
- See Also:
Case
-
choose
The T-SQL CHOOSE()
function.
-
choose
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<T> choose(int index,
Field<T>... values)
The T-SQL CHOOSE()
function.
-
choose
The T-SQL CHOOSE()
function.
-
choose
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<T> choose(Field<Integer> index,
Field<T>... values)
The T-SQL CHOOSE()
function.
-
case_
Initialise a Case
statement.
- See Also:
Case
-
case_
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'three'
END
- See Also:
Case
-
case_
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'three'
END
- See Also:
Case
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Condition condition,
T result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Condition condition,
Field<T> result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Condition condition,
Select<? extends Record1<T>> result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Field<Boolean> condition,
T result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Field<Boolean> condition,
Field<T> result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
when
@NotNull
@Support
public static <T> @NotNull CaseConditionStep<T> when(Field<Boolean> condition,
Select<? extends Record1<T>> result)
Initialise a Case
statement.
This API can be used to create expressions of the type
CASE WHEN x < 1 THEN 'one'
WHEN x >= 2 THEN 'two'
ELSE 'three'
END
-
decode
Initialise a Case
statement.
Decode is used as a method name to avoid name clashes with Java's
reserved literal "case"
- See Also:
Case
-
decode
Gets the Oracle-style
DECODE(expression, search, result[, search , result]... [, default])
function.
- See Also:
decode(Field, Field, Field, Field[])
-
decode
@NotNull
@Support
public static <Z,
T> @NotNull Field<Z> decode(T value,
T search,
Z result,
Object... more)
Gets the Oracle-style
DECODE(expression, search, result[, search , result]... [, default])
function.
- See Also:
decode(Field, Field, Field, Field[])
-
decode
@NotNull
@Support
public static <Z,
T> @NotNull Field<Z> decode(Field<T> value,
Field<T> search,
Field<Z> result)
Gets the Oracle-style
DECODE(expression, search, result[, search , result]... [, default])
function.
- See Also:
decode(Field, Field, Field, Field[])
-
decode
@NotNull
@Support
public static <Z,
T> @NotNull Field<Z> decode(Field<T> value,
Field<T> search,
Field<Z> result,
Field<?>... more)
Gets the Oracle-style
DECODE(expression, search, result[, search , result]... [, default])
function.
Returns the dialect's equivalent to DECODE:
- Oracle DECODE
Other dialects:
CASE WHEN [this IS NOT DISTINCT FROM search] THEN [result],
[WHEN more... THEN more...]
[ELSE more...]
END
Note the use of the DISTINCT
predicate to produce the same,
conveniently NULL
-agnostic behaviour as Oracle.
- Parameters:
value
- The value to decode
search
- the mandatory first search parameter
result
- the mandatory first result candidate parameter
more
- the optional parameters. If more.length
is even,
then it is assumed that it contains more search/result pairs.
If more.length
is odd, then it is assumed that it
contains more search/result pairs plus a default at the end.
-
coerce
Coerce this field to the type of another field.
- See Also:
coerce(Field, Field)
-
coerce
Coerce this field to another type.
- Parameters:
value
- The value to be coerced
as
- The field type (a type that is supported by
SQLDataType
)
- See Also:
coerce(Field, Class)
-
coerce
Coerce a field to another type.
- See Also:
coerce(Field, DataType)
-
coerce
Coerce this field to the type of another field.
Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:
Bind values
// This binds an int value to a JDBC PreparedStatement
DSL.val(1).coerce(String.class);
// This binds an int value to a JDBC PreparedStatement
// and casts it to VARCHAR in SQL
DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC
BOOK.ID.coerce(String.class);
// This fetches a String value for the BOOK.ID field from JDBC
// after casting it to VARCHAR in the database
BOOK.ID.cast(String.class);
- Type Parameters:
T
- The generic type of the coerced field
- Parameters:
field
- The field to be coerced
as
- The field whose type is used for the coercion
- Returns:
- The coerced field
- See Also:
Field.coerce(DataType)
,
Field.cast(Field)
-
coerce
Coerce this field to another type.
Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:
Bind values
// This binds an int value to a JDBC PreparedStatement
DSL.val(1).coerce(String.class);
// This binds an int value to a JDBC PreparedStatement
// and casts it to VARCHAR in SQL
DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC
BOOK.ID.coerce(String.class);
// This fetches a String value for the BOOK.ID field from JDBC
// after casting it to VARCHAR in the database
BOOK.ID.cast(String.class);
- Type Parameters:
T
- The generic type of the coerced field
- Parameters:
value
- The value to be coerced
as
- The field type (a type that is supported by
SQLDataType
)
- Returns:
- The coerced field
- See Also:
Field.coerce(DataType)
,
Field.cast(Class)
-
coerce
Coerce a field to another type.
Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:
Bind values
// This binds an int value to a JDBC PreparedStatement
DSL.val(1).coerce(String.class);
// This binds an int value to a JDBC PreparedStatement
// and casts it to VARCHAR in SQL
DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC
BOOK.ID.coerce(String.class);
// This fetches a String value for the BOOK.ID field from JDBC
// after casting it to VARCHAR in the database
BOOK.ID.cast(String.class);
- Type Parameters:
T
- The generic type of the coerced field
- Parameters:
field
- The field to be coerced
as
- The type that is used for the coercion
- Returns:
- The coerced field
- See Also:
Field.coerce(DataType)
,
Field.cast(DataType)
-
convert
@NotNull
@Support({ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Field<T> convert(DataType<T> type,
Field<?> value,
int style)
Convert a date time value to a string value using the SQL Server style
CONVERT()
function.
- Type Parameters:
T
- The generic type of the converted field
- Parameters:
type
- The data type to convert to
value
- The expression to convert
style
- The style according to the SQL Server docs
- See Also:
- https://docs.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql?view=sql-server-2017
-
convert
@NotNull
@Support({ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER})
@Pro
public static <T> @NotNull Field<T> convert(DataType<T> type,
Object value,
int style)
Convert a date time value to a string value using the SQL Server style
CONVERT()
function.
- Type Parameters:
T
- The generic type of the converted field
- Parameters:
type
- The data type to convert to
value
- The expression to convert
style
- The style according to the SQL Server docs
- See Also:
- https://docs.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql?view=sql-server-2017
-
cast
Cast a value to the type of another field.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
value
- The value to cast
as
- The field whose type is used for the cast
- Returns:
- The cast field
-
cast
Cast a field to the type of another field.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
field
- The field to cast
as
- The field whose type is used for the cast
- Returns:
- The cast field
-
castNull
Cast null to the type of another field.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
as
- The field whose type is used for the cast
- Returns:
- The cast field
-
cast
Cast a value to another type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
value
- The value to cast
type
- The type that is used for the cast (a type that is supported
by SQLDataType
)
- Returns:
- The cast field
-
cast
Cast a field to another type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
field
- The field to cast
type
- The type that is used for the cast (a type that is supported
by SQLDataType
)
- Returns:
- The cast field
-
castNull
Cast null to a type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
type
- The type that is used for the cast
- Returns:
- The cast field
-
cast
Cast a value to another type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
value
- The value to cast
type
- The type that is used for the cast
- Returns:
- The cast field
-
cast
Cast a field to another type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
field
- The value to cast
type
- The type that is used for the cast
- Returns:
- The cast field
-
castNull
Cast null to a type.
- Type Parameters:
T
- The generic type of the cast field
- Parameters:
type
- The type that is used for the cast
- Returns:
- The cast field
-
coalesce
The COALESCE(value1, value2, ... , value n)
function.
- See Also:
coalesce(Field, Field...)
-
coalesce
The COALESCE(field, value)
function.
- See Also:
coalesce(Field, Field...)
-
coalesce
The COALESCE(field1, field2, ... , field n)
function.
-
isnull
Gets the SQL Server-style ISNULL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
isnull
Gets the SQL Server-style ISNULL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
isnull
Gets the SQL Server-style ISNULL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
isnull
@NotNull
@Support
public static <T> @NotNull Field<T> isnull(Field<T> value,
Field<T> defaultValue)
Gets the SQL Server-style ISNULL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
nvl
Gets the Oracle-style NVL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
nvl
Gets the Oracle-style NVL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
nvl
Gets the Oracle-style NVL(value, defaultValue) function.
- See Also:
nvl(Field, Field)
-
nvl
-
ifnull
The IFNULL()
function, a synonym of NVL()
.
- See Also:
nvl(Field, Field)
-
ifnull
The IFNULL()
function, a synonym of NVL()
.
- See Also:
nvl(Field, Field)
-
ifnull
The IFNULL()
function, a synonym of NVL()
.
- See Also:
nvl(Field, Object)
-
ifnull
@NotNull
@Support
public static <T> @NotNull Field<T> ifnull(Field<T> value,
Field<T> defaultValue)
The IFNULL()
function, a synonym of NVL()
.
- See Also:
nvl(Field, Field)
-
nvl2
@NotNull
@Support
public static <Z> @NotNull Field<Z> nvl2(Field<?> value,
Z valueIfNotNull,
Z valueIfNull)
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
- See Also:
nvl2(Field, Field, Field)
-
nvl2
@NotNull
@Support
public static <Z> @NotNull Field<Z> nvl2(Field<?> value,
Z valueIfNotNull,
Field<Z> valueIfNull)
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
- See Also:
nvl2(Field, Field, Field)
-
nvl2
@NotNull
@Support
public static <Z> @NotNull Field<Z> nvl2(Field<?> value,
Field<Z> valueIfNotNull,
Z valueIfNull)
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
- See Also:
nvl2(Field, Field, Field)
-
nvl2
@NotNull
@Support
public static <Z> @NotNull Field<Z> nvl2(Field<?> value,
Field<Z> valueIfNotNull,
Field<Z> valueIfNull)
Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.
Returns the dialect's equivalent to NVL2:
- Oracle NVL2
Other dialects:
CASE WHEN [value] IS NULL THEN [valueIfNull] ELSE [valueIfNotNull] END
-
nullif
Gets the Oracle-style NULLIF(value, other) function.
- See Also:
nullif(Field, Field)
-
nullif
Gets the Oracle-style NULLIF(value, other) function.
- See Also:
nullif(Field, Field)
-
nullif
Gets the Oracle-style NULLIF(value, other) function.
- See Also:
nullif(Field, Field)
-
nullif
Gets the Oracle-style NULLIF(value, other) function.
Returns the dialect's equivalent to NULLIF:
- Oracle NULLIF
-
iif
@NotNull
@Support
public static <T> @NotNull Field<T> iif(Condition condition,
T ifTrue,
T ifFalse)
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
- See Also:
iif(Condition, Field, Field)
-
iif
@NotNull
@Support
public static <T> @NotNull Field<T> iif(Condition condition,
T ifTrue,
Field<T> ifFalse)
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
- See Also:
iif(Condition, Field, Field)
-
iif
@NotNull
@Support
public static <T> @NotNull Field<T> iif(Condition condition,
Field<T> ifTrue,
T ifFalse)
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
- See Also:
iif(Condition, Field, Field)
-
iif
@NotNull
@Support
public static <T> @NotNull Field<T> iif(Condition condition,
Field<T> ifTrue,
Field<T> ifFalse)
Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.
-
abs
The ABS
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
abs
The ABS
function.
-
acos
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> acos(Number number)
The ACOS
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
acos
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> acos(Field<? extends Number> number)
The ACOS
function.
-
asin
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> asin(Number number)
The ASIN
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
asin
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> asin(Field<? extends Number> number)
The ASIN
function.
-
atan
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan(Number number)
The ATAN
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
atan
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan(Field<? extends Number> number)
The ATAN
function.
-
atan2
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan2(Number x,
Number y)
The ATAN2
function.
- Parameters:
x
- is wrapped as val(Object)
.
y
- is wrapped as val(Object)
.
-
atan2
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan2(Number x,
Field<? extends Number> y)
The ATAN2
function.
- Parameters:
x
- is wrapped as val(Object)
.
-
atan2
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan2(Field<? extends Number> x,
Number y)
The ATAN2
function.
- Parameters:
y
- is wrapped as val(Object)
.
-
atan2
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> atan2(Field<? extends Number> x,
Field<? extends Number> y)
The ATAN2
function.
-
ceil
The CEIL
function.
Get the smallest integer value equal or greater to a value.
- Parameters:
value
- is wrapped as val(Object)
.
-
ceil
The CEIL
function.
Get the smallest integer value equal or greater to a value.
-
cos
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cos(Number number)
The COS
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
cos
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cos(Field<? extends Number> number)
The COS
function.
-
cosh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cosh(Number number)
The COSH
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
cosh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cosh(Field<? extends Number> number)
The COSH
function.
-
cot
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cot(Number number)
The COT
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
cot
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> cot(Field<? extends Number> number)
The COT
function.
-
coth
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> coth(Number number)
The COTH
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
coth
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> coth(Field<? extends Number> number)
The COTH
function.
-
deg
The DEG
function.
Turn a value in radians to degrees.
- Parameters:
radians
- The value in radians.
-
deg
The DEG
function.
Turn a value in radians to degrees.
- Parameters:
radians
- The value in radians.
-
e
The E
function.
The E literal (Euler number).
-
exp
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> exp(Number value)
The EXP
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
exp
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> exp(Field<? extends Number> value)
The EXP
function.
-
floor
The FLOOR
function.
Get the biggest integer value equal or less than a value.
- Parameters:
value
- is wrapped as val(Object)
.
-
floor
The FLOOR
function.
Get the biggest integer value equal or less than a value.
-
ln
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> ln(Number value)
The LN
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
ln
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> ln(Field<? extends Number> value)
The LN
function.
-
log
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log(Number value,
int base)
The LOG
function.
- Parameters:
value
- is wrapped as val(Object)
.
base
- is wrapped as val(Object)
.
-
log
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log(Number value,
Field<? extends Number> base)
The LOG
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
log
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log(Field<? extends Number> value,
int base)
The LOG
function.
- Parameters:
base
- is wrapped as val(Object)
.
-
log
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log(Field<? extends Number> value,
Field<? extends Number> base)
The LOG
function.
-
log10
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log10(Number value)
The LOG10
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
log10
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> log10(Field<? extends Number> value)
The LOG10
function.
-
pi
The PI
function.
The π literal.
-
power
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> power(Number value,
Number exponent)
The POWER
function.
- Parameters:
value
- is wrapped as val(Object)
.
exponent
- is wrapped as val(Object)
.
-
power
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> power(Number value,
Field<? extends Number> exponent)
The POWER
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
power
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> power(Field<? extends Number> value,
Number exponent)
The POWER
function.
- Parameters:
exponent
- is wrapped as val(Object)
.
-
power
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> power(Field<? extends Number> value,
Field<? extends Number> exponent)
The POWER
function.
-
rad
The RAD
function.
Turn a value in degrees to radians.
- Parameters:
degrees
- The value in degrees.
-
rad
The RAD
function.
Turn a value in degrees to radians.
- Parameters:
degrees
- The value in degrees.
-
rand
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> rand()
The RAND
function.
Get a random numeric value.
-
round
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
decimals
- The decimals to round to.
-
round
@NotNull
@Support
public static <T extends Number> @NotNull Field<T> round(T value,
Field<Integer> decimals)
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
decimals
- The decimals to round to.
-
round
@NotNull
@Support
public static <T extends Number> @NotNull Field<T> round(Field<T> value,
int decimals)
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
decimals
- The decimals to round to.
-
round
@NotNull
@Support
public static <T extends Number> @NotNull Field<T> round(Field<T> value,
Field<Integer> decimals)
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
decimals
- The decimals to round to.
-
round
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
-
round
The ROUND
function.
Round a numeric value to the nearest decimal precision.
- Parameters:
value
- The number to be rounded.
-
sign
The SIGN
function.
Get the sign of a number and return it as any of +1, 0, -1.
- Parameters:
number
- is wrapped as val(Object)
.
-
sign
The SIGN
function.
Get the sign of a number and return it as any of +1, 0, -1.
-
sin
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sin(Number number)
The SIN
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
sin
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sin(Field<? extends Number> number)
The SIN
function.
-
sinh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sinh(Number number)
The SINH
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
sinh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sinh(Field<? extends Number> number)
The SINH
function.
-
sqrt
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sqrt(Number value)
The SQRT
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
sqrt
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> sqrt(Field<? extends Number> value)
The SQRT
function.
-
square
The SQUARE
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
square
The SQUARE
function.
-
tan
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> tan(Number number)
The TAN
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
tan
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> tan(Field<? extends Number> number)
The TAN
function.
-
tanh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> tanh(Number number)
The TANH
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
tanh
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<BigDecimal> tanh(Field<? extends Number> number)
The TANH
function.
-
tau
The TAU
function.
The τ literal, or π, in a better world.
-
trunc
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> trunc(T value,
int decimals)
The TRUNC
function.
Truncate a number to a given number of decimals.
- Parameters:
value
- The number to be truncated
decimals
- The decimals to truncate to.
-
trunc
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> trunc(T value,
Field<Integer> decimals)
The TRUNC
function.
Truncate a number to a given number of decimals.
- Parameters:
value
- The number to be truncated
decimals
- The decimals to truncate to.
-
trunc
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> trunc(Field<T> value,
int decimals)
The TRUNC
function.
Truncate a number to a given number of decimals.
- Parameters:
value
- The number to be truncated
decimals
- The decimals to truncate to.
-
trunc
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> trunc(Field<T> value,
Field<Integer> decimals)
The TRUNC
function.
Truncate a number to a given number of decimals.
- Parameters:
value
- The number to be truncated
decimals
- The decimals to truncate to.
-
widthBucket
@NotNull
@Support
public static <T extends Number> @NotNull Field<T> widthBucket(Field<T> field,
T low,
T high,
int buckets)
The WIDTH_BUCKET
function.
Divide a range into buckets of equal size.
- Parameters:
field
- The value to divide into the range.
low
- The lower bound of the range.
high
- The upper bound of the range.
buckets
- The number of buckets to produce.
-
widthBucket
@NotNull
@Support
public static <T extends Number> @NotNull Field<T> widthBucket(Field<T> field,
Field<T> low,
Field<T> high,
Field<Integer> buckets)
The WIDTH_BUCKET
function.
Divide a range into buckets of equal size.
- Parameters:
field
- The value to divide into the range.
low
- The lower bound of the range.
high
- The upper bound of the range.
buckets
- The number of buckets to produce.
-
ascii
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> ascii(@Param
String string)
The ASCII
function.
The ASCII value of a character.
- Parameters:
string
- is wrapped as val(Object)
.
-
ascii
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> ascii(Field<String> string)
The ASCII
function.
The ASCII value of a character.
-
bitLength
The BIT_LENGTH
function.
The length of a string in bits.
- Parameters:
string
- is wrapped as val(Object)
.
-
bitLength
The BIT_LENGTH
function.
The length of a string in bits.
-
charLength
The CHAR_LENGTH
function.
The length of a string in characters.
- Parameters:
string
- is wrapped as val(Object)
.
-
charLength
The CHAR_LENGTH
function.
The length of a string in characters.
-
chr
@NotNull
@Support({ACCESS,ASE,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> chr(Number number)
The CHR
function.
- Parameters:
number
- is wrapped as val(Object)
.
-
chr
@NotNull
@Support({ACCESS,ASE,BIGQUERY,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> chr(Field<? extends Number> number)
The CHR
function.
-
digits
The DIGITS
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
digits
The DIGITS
function.
-
left
The LEFT
function.
Get the left outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
left
@NotNull
@Support
public static @NotNull Field<String> left(@Param
String string,
Field<? extends Number> length)
The LEFT
function.
Get the left outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
left
The LEFT
function.
Get the left outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
left
@NotNull
@Support
public static @NotNull Field<String> left(Field<String> string,
Field<? extends Number> length)
The LEFT
function.
Get the left outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
length
The LENGTH
function, an alias for the CHAR_LENGTH
function.
The length of a string in characters.
- Parameters:
string
- is wrapped as val(Object)
.
-
length
The LENGTH
function, an alias for the CHAR_LENGTH
function.
The length of a string in characters.
-
lower
The LOWER
function.
Turn a string into lower case.
- Parameters:
string
- is wrapped as val(Object)
.
-
lower
The LOWER
function.
Turn a string into lower case.
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
int length,
@Param
String character)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
int length,
Field<String> character)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
Field<? extends Number> length,
@Param
String character)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
Field<? extends Number> length,
Field<String> character)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
int length)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> string,
Field<? extends Number> length)
The LPAD
function.
Left-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
-
ltrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> ltrim(@Param
String string,
@Param
String characters)
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
ltrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> ltrim(@Param
String string,
Field<String> characters)
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
ltrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> ltrim(Field<String> string,
@Param
String characters)
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
ltrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> ltrim(Field<String> string,
Field<String> characters)
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
ltrim
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
ltrim
The LTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
md5
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,EXASOL,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<String> md5(@Param
String string)
The MD5
function.
Calculate an MD5 hash from a string.
- Parameters:
string
- is wrapped as val(Object)
.
-
md5
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,EXASOL,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<String> md5(Field<String> string)
The MD5
function.
Calculate an MD5 hash from a string.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
int startingPosition,
int length)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
int startingPosition,
Field<? extends Number> length)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
Field<? extends Number> startingPosition,
int length)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
Field<? extends Number> startingPosition,
Field<? extends Number> length)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
int startingPosition)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
-
mid
@NotNull
@Support
public static @NotNull Field<String> mid(Field<String> string,
Field<? extends Number> startingPosition)
The MID
function, an alias for the SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
-
octetLength
The OCTET_LENGTH
function.
The length of a string in octets.
- Parameters:
string
- is wrapped as val(Object)
.
-
octetLength
The OCTET_LENGTH
function.
The length of a string in octets.
-
overlay
@NotNull
@Support
public static @NotNull Field<String> overlay(Field<String> in,
@Param
String placing,
Number startIndex,
Number length)
The OVERLAY
function.
Place a string on top of another string, replacing the original contents.
- Parameters:
in
- The original string on top of which the overlay is placed.
placing
- The string that is being placed on top of the other string.
startIndex
- The start index (1-based) starting from where the overlay is placed.
length
- The length in the original string that will be replaced, if different from the overlay length.
-
overlay
@NotNull
@Support
public static @NotNull Field<String> overlay(Field<String> in,
Field<String> placing,
Field<? extends Number> startIndex,
Field<? extends Number> length)
The OVERLAY
function.
Place a string on top of another string, replacing the original contents.
- Parameters:
in
- The original string on top of which the overlay is placed.
placing
- The string that is being placed on top of the other string.
startIndex
- The start index (1-based) starting from where the overlay is placed.
length
- The length in the original string that will be replaced, if different from the overlay length.
-
overlay
@NotNull
@Support
public static @NotNull Field<String> overlay(Field<String> in,
@Param
String placing,
Number startIndex)
The OVERLAY
function.
Place a string on top of another string, replacing the original contents.
- Parameters:
in
- The original string on top of which the overlay is placed.
placing
- The string that is being placed on top of the other string.
startIndex
- The start index (1-based) starting from where the overlay is placed.
-
overlay
@NotNull
@Support
public static @NotNull Field<String> overlay(Field<String> in,
Field<String> placing,
Field<? extends Number> startIndex)
The OVERLAY
function.
Place a string on top of another string, replacing the original contents.
- Parameters:
in
- The original string on top of which the overlay is placed.
placing
- The string that is being placed on top of the other string.
startIndex
- The start index (1-based) starting from where the overlay is placed.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
@Param
String search,
int startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
@Param
String search,
Field<? extends Number> startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
Field<String> search,
int startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
Field<String> search,
Field<? extends Number> startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
@Param
String search,
int startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
@Param
String search,
Field<? extends Number> startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
Field<String> search,
int startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
Field<String> search,
Field<? extends Number> startIndex)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
startIndex
- The start index (1-based) from which to start looking for the substring.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
@Param
String search)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(@Param
String in,
Field<String> search)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
@Param
String search)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
-
position
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> position(Field<String> in,
Field<String> search)
The POSITION
function.
Search the position (1-based) of a substring in another string.
- Parameters:
in
- The string in which to search the substring.
search
- The substring to search for.
-
repeat
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> repeat(@Param
String string,
int count)
The REPEAT
function.
Repeat a string a number of times.
- Parameters:
string
- The string to be repeated.
count
- The number of times to repeat the string.
-
repeat
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> repeat(@Param
String string,
Field<? extends Number> count)
The REPEAT
function.
Repeat a string a number of times.
- Parameters:
string
- The string to be repeated.
count
- The number of times to repeat the string.
-
repeat
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> repeat(Field<String> string,
int count)
The REPEAT
function.
Repeat a string a number of times.
- Parameters:
string
- The string to be repeated.
count
- The number of times to repeat the string.
-
repeat
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> repeat(Field<String> string,
Field<? extends Number> count)
The REPEAT
function.
Repeat a string a number of times.
- Parameters:
string
- The string to be repeated.
count
- The number of times to repeat the string.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
@Param
String search,
@Param
String replace)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
replace
- The replacement for each substring, if not empty.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
@Param
String search,
Field<String> replace)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
replace
- The replacement for each substring, if not empty.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
Field<String> search,
@Param
String replace)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
replace
- The replacement for each substring, if not empty.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
Field<String> search,
Field<String> replace)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
replace
- The replacement for each substring, if not empty.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
@Param
String search)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
-
replace
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> replace(Field<String> string,
Field<String> search)
The REPLACE
function.
Replace all occurrences of a substring in another string.
- Parameters:
string
- The string in which to replace contents.
search
- The substring to search for.
-
reverse
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA})
public static @NotNull Field<String> reverse(@Param
String string)
The REVERSE
function.
Reverse a string.
- Parameters:
string
- is wrapped as val(Object)
.
-
reverse
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA})
public static @NotNull Field<String> reverse(Field<String> string)
The REVERSE
function.
Reverse a string.
-
right
The RIGHT
function.
Get the right outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
right
@NotNull
@Support
public static @NotNull Field<String> right(@Param
String string,
Field<? extends Number> length)
The RIGHT
function.
Get the right outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
right
The RIGHT
function.
Get the right outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
right
@NotNull
@Support
public static @NotNull Field<String> right(Field<String> string,
Field<? extends Number> length)
The RIGHT
function.
Get the right outermost characters from a string.
- Parameters:
string
- The string whose characters are extracted.
length
- The number of characters to extract from the string.
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
int length,
@Param
String character)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
int length,
Field<String> character)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
Field<? extends Number> length,
@Param
String character)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
Field<? extends Number> length,
Field<String> character)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
character
- The padding character, if different from whitespace
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
int length)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> string,
Field<? extends Number> length)
The RPAD
function.
Right-pad a string with a character (whitespace as default) for a number of times.
- Parameters:
string
- The string to be padded.
length
- The maximum length to pad the string to.
-
rtrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> rtrim(@Param
String string,
@Param
String characters)
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
rtrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> rtrim(@Param
String string,
Field<String> characters)
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
rtrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> rtrim(Field<String> string,
@Param
String characters)
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
rtrim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,TERADATA,VERTICA})
public static @NotNull Field<String> rtrim(Field<String> string,
Field<String> characters)
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
rtrim
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
rtrim
The RTRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
space
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> space(Number count)
The SPACE
function.
Get a string of spaces of a given length.
- Parameters:
count
- The number of spaces to produce.
-
space
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> space(Field<? extends Number> count)
The SPACE
function.
Get a string of spaces of a given length.
- Parameters:
count
- The number of spaces to produce.
-
splitPart
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull Field<String> splitPart(Field<String> string,
@Param
String delimiter,
Number n)
The SPLIT_PART
function.
Split a string into tokens, and retrieve the nth token.
- Parameters:
string
- The string to be split into parts.
delimiter
- The delimiter used for splitting.
n
- The token number (1-based).
-
splitPart
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull Field<String> splitPart(Field<String> string,
@Param
String delimiter,
Field<? extends Number> n)
The SPLIT_PART
function.
Split a string into tokens, and retrieve the nth token.
- Parameters:
string
- The string to be split into parts.
delimiter
- The delimiter used for splitting.
n
- The token number (1-based).
-
splitPart
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull Field<String> splitPart(Field<String> string,
Field<String> delimiter,
Number n)
The SPLIT_PART
function.
Split a string into tokens, and retrieve the nth token.
- Parameters:
string
- The string to be split into parts.
delimiter
- The delimiter used for splitting.
n
- The token number (1-based).
-
splitPart
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,VERTICA})
public static @NotNull Field<String> splitPart(Field<String> string,
Field<String> delimiter,
Field<? extends Number> n)
The SPLIT_PART
function.
Split a string into tokens, and retrieve the nth token.
- Parameters:
string
- The string to be split into parts.
delimiter
- The delimiter used for splitting.
n
- The token number (1-based).
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
int startingPosition,
int length)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
int startingPosition,
Field<? extends Number> length)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
Field<? extends Number> startingPosition,
int length)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
Field<? extends Number> startingPosition,
Field<? extends Number> length)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
length
- The maximum length of the substring.
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
int startingPosition)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
-
substring
@NotNull
@Support
public static @NotNull Field<String> substring(Field<String> string,
Field<? extends Number> startingPosition)
The SUBSTRING
function.
Get a substring of a string, from a given position.
- Parameters:
string
- The string from which to get the substring.
startingPosition
- The position (1-based) from which to get the substring.
-
substringIndex
@NotNull
@Support({AURORA_MYSQL,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,VERTICA})
public static @NotNull Field<String> substringIndex(Field<String> string,
@Param
String delimiter,
int n)
The SUBSTRING_INDEX
function.
Get a substring of a string, from the beginning until the nth occurrence of a substring.
- Parameters:
string
- The string from which to get the substring.
delimiter
- The delimiter.
n
- The number of occurrences of the delimiter.
-
substringIndex
@NotNull
@Support({AURORA_MYSQL,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,VERTICA})
public static @NotNull Field<String> substringIndex(Field<String> string,
@Param
String delimiter,
Field<? extends Number> n)
The SUBSTRING_INDEX
function.
Get a substring of a string, from the beginning until the nth occurrence of a substring.
- Parameters:
string
- The string from which to get the substring.
delimiter
- The delimiter.
n
- The number of occurrences of the delimiter.
-
substringIndex
@NotNull
@Support({AURORA_MYSQL,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,VERTICA})
public static @NotNull Field<String> substringIndex(Field<String> string,
Field<String> delimiter,
int n)
The SUBSTRING_INDEX
function.
Get a substring of a string, from the beginning until the nth occurrence of a substring.
- Parameters:
string
- The string from which to get the substring.
delimiter
- The delimiter.
n
- The number of occurrences of the delimiter.
-
substringIndex
@NotNull
@Support({AURORA_MYSQL,DB2,MARIADB,MEMSQL,MYSQL,ORACLE,VERTICA})
public static @NotNull Field<String> substringIndex(Field<String> string,
Field<String> delimiter,
Field<? extends Number> n)
The SUBSTRING_INDEX
function.
Get a substring of a string, from the beginning until the nth occurrence of a substring.
- Parameters:
string
- The string from which to get the substring.
delimiter
- The delimiter.
n
- The number of occurrences of the delimiter.
-
toChar
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT})
public static @NotNull Field<String> toChar(Object value,
@Param
String formatMask)
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
formatMask
- The vendor-specific formatting string.
-
toChar
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT})
public static @NotNull Field<String> toChar(Object value,
Field<String> formatMask)
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
formatMask
- The vendor-specific formatting string.
-
toChar
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT})
public static @NotNull Field<String> toChar(Field<?> value,
@Param
String formatMask)
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
formatMask
- The vendor-specific formatting string.
-
toChar
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT})
public static @NotNull Field<String> toChar(Field<?> value,
Field<String> formatMask)
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
formatMask
- The vendor-specific formatting string.
-
toChar
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
-
toChar
The TO_CHAR
function.
Format an arbitrary value as a string.
- Parameters:
value
- The value to be formatted.
-
toDate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Date> toDate(@Param
String value,
@Param
String formatMask)
The TO_DATE
function.
Parse a string-formatted date value to a date.
- Parameters:
value
- The formatted DATE value.
formatMask
- The vendor-specific formatting string.
-
toDate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Date> toDate(@Param
String value,
Field<String> formatMask)
The TO_DATE
function.
Parse a string-formatted date value to a date.
- Parameters:
value
- The formatted DATE value.
formatMask
- The vendor-specific formatting string.
-
toDate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Date> toDate(Field<String> value,
@Param
String formatMask)
The TO_DATE
function.
Parse a string-formatted date value to a date.
- Parameters:
value
- The formatted DATE value.
formatMask
- The vendor-specific formatting string.
-
toDate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Date> toDate(Field<String> value,
Field<String> formatMask)
The TO_DATE
function.
Parse a string-formatted date value to a date.
- Parameters:
value
- The formatted DATE value.
formatMask
- The vendor-specific formatting string.
-
toHex
@NotNull
@Support({COCKROACHDB,DB2,H2,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER,VERTICA})
public static @NotNull Field<String> toHex(Number value)
The TO_HEX
function.
Format a number to its hex value.
- Parameters:
value
- is wrapped as val(Object)
.
-
toHex
@NotNull
@Support({COCKROACHDB,DB2,H2,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER,VERTICA})
public static @NotNull Field<String> toHex(Field<? extends Number> value)
The TO_HEX
function.
Format a number to its hex value.
-
toTimestamp
@NotNull
@Support({AURORA_POSTGRES,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Timestamp> toTimestamp(@Param
String value,
@Param
String formatMask)
The TO_TIMESTAMP
function.
Parse a string-formatted timestamp value to a timestamp.
- Parameters:
value
- The formatted TIMESTAMP value.
formatMask
- The vendor-specific formatting string.
-
toTimestamp
@NotNull
@Support({AURORA_POSTGRES,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Timestamp> toTimestamp(@Param
String value,
Field<String> formatMask)
The TO_TIMESTAMP
function.
Parse a string-formatted timestamp value to a timestamp.
- Parameters:
value
- The formatted TIMESTAMP value.
formatMask
- The vendor-specific formatting string.
-
toTimestamp
@NotNull
@Support({AURORA_POSTGRES,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Timestamp> toTimestamp(Field<String> value,
@Param
String formatMask)
The TO_TIMESTAMP
function.
Parse a string-formatted timestamp value to a timestamp.
- Parameters:
value
- The formatted TIMESTAMP value.
formatMask
- The vendor-specific formatting string.
-
toTimestamp
@NotNull
@Support({AURORA_POSTGRES,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
public static @NotNull Field<Timestamp> toTimestamp(Field<String> value,
Field<String> formatMask)
The TO_TIMESTAMP
function.
Parse a string-formatted timestamp value to a timestamp.
- Parameters:
value
- The formatted TIMESTAMP value.
formatMask
- The vendor-specific formatting string.
-
translate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> translate(Field<String> string,
@Param
String from,
@Param
String to)
The TRANSLATE
function.
Translate a set of characters to another set of characters in a string.
- Parameters:
string
- The string to translate.
from
- The set of source characters.
to
- The set of target characters, matched with source characters by position.
-
translate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> translate(Field<String> string,
@Param
String from,
Field<String> to)
The TRANSLATE
function.
Translate a set of characters to another set of characters in a string.
- Parameters:
string
- The string to translate.
from
- The set of source characters.
to
- The set of target characters, matched with source characters by position.
-
translate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> translate(Field<String> string,
Field<String> from,
@Param
String to)
The TRANSLATE
function.
Translate a set of characters to another set of characters in a string.
- Parameters:
string
- The string to translate.
from
- The set of source characters.
to
- The set of target characters, matched with source characters by position.
-
translate
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,HSQLDB,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> translate(Field<String> string,
Field<String> from,
Field<String> to)
The TRANSLATE
function.
Translate a set of characters to another set of characters in a string.
- Parameters:
string
- The string to translate.
from
- The set of source characters.
to
- The set of target characters, matched with source characters by position.
-
trim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> trim(@Param
String string,
@Param
String characters)
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
trim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> trim(@Param
String string,
Field<String> characters)
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
trim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> trim(Field<String> string,
@Param
String characters)
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
trim
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLITE,SQLSERVER2017,TERADATA,VERTICA})
public static @NotNull Field<String> trim(Field<String> string,
Field<String> characters)
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
characters
- The characters to be trimmed.
-
trim
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
trim
The TRIM
function.
Trim characters (whitespace as default) from both sides of a string.
- Parameters:
string
- The string to be trimmed.
-
upper
The UPPER
function.
Turn a string into upper case.
- Parameters:
string
- is wrapped as val(Object)
.
-
upper
The UPPER
function.
Turn a string into upper case.
-
uuid
@NotNull
@Support({ACCESS,ASE,BIGQUERY,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,MARIADB,MYSQL,ORACLE,POSTGRES_13,SNOWFLAKE,SQLITE,SQLSERVER,VERTICA})
public static @NotNull Field<UUID> uuid()
The UUID
function.
Generate a random UUID.
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Date date,
Number interval,
DatePart datePart)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Date date,
Field<? extends Number> interval,
DatePart datePart)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Field<Date> date,
Number interval,
DatePart datePart)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Field<Date> date,
Field<? extends Number> interval,
DatePart datePart)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
dateAdd
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Date date,
Field<? extends Number> interval)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Field<Date> date,
Number interval)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
dateAdd
@NotNull
@Support
public static <T> @NotNull Field<Date> dateAdd(Field<Date> date,
Field<? extends Number> interval)
The DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(LocalDate date,
Number interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(LocalDate date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date,
Number interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
datePart
- The date part describing the interval
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(LocalDate date,
Number interval)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(LocalDate date,
Field<? extends Number> interval)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date,
Number interval)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
localDateAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date,
Field<? extends Number> interval)
The LOCAL_DATE_ADD
function.
Add an interval to a date.
- Parameters:
date
- The date to add an interval to
interval
- The interval to add to the date
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Timestamp date,
Number interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Timestamp date,
Field<? extends Number> interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date,
Number interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date,
Field<? extends Number> interval,
DatePart datePart)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Timestamp date,
Number interval)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Timestamp date,
Field<? extends Number> interval)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date,
Number interval)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
timestampAdd
@NotNull
@Support
public static <T> @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date,
Field<? extends Number> interval)
The TIMESTAMP_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date,
Number interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date,
Number interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date,
Field<? extends Number> interval,
DatePart datePart)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
datePart
- The date part describing the interval
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date,
Number interval)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date,
Field<? extends Number> interval)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date,
Number interval)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
localDateTimeAdd
@NotNull
@Support
public static <T> @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date,
Field<? extends Number> interval)
The LOCAL_DATE_TIME_ADD
function.
Add an interval to a timestamp.
- Parameters:
date
- The timestamp to add an interval to
interval
- The interval to add to the timestamp
-
currentCatalog
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,FIREBIRD,INFORMIX,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER})
public static @NotNull Field<String> currentCatalog()
The CURRENT_CATALOG
function.
-
currentSchema
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA})
public static @NotNull Field<String> currentSchema()
The CURRENT_SCHEMA
function.
-
currentUser
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
public static @NotNull Field<String> currentUser()
The CURRENT_USER
function.
-
connectByIsCycle
@NotNull
@Support({CUBRID,EXASOL,INFORMIX,ORACLE})
@Pro
public static @NotNull Field<Boolean> connectByIsCycle()
The CONNECT_BY_IS_CYCLE
function.
The CONNECT_BY_IS_CYCLE pseudo column is used with the Oracle style CONNECT BY clause.
-
connectByIsLeaf
@NotNull
@Support({CUBRID,EXASOL,INFORMIX,ORACLE})
@Pro
public static @NotNull Field<Boolean> connectByIsLeaf()
The CONNECT_BY_IS_LEAF
function.
The CONNECT_BY_IS_LEAF pseudo column is used with the Oracle style CONNECT BY clause.
-
connectByRoot
@NotNull
@Support({CUBRID,EXASOL,INFORMIX,ORACLE,SNOWFLAKE})
@Pro
public static <T> @NotNull Field<T> connectByRoot(Field<T> field)
The CONNECT_BY_ROOT
function.
The CONNECT_BY_ROOT operator is used with the Oracle style CONNECT BY clause.
-
level
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA})
@Pro
public static @NotNull Field<Integer> level()
The LEVEL
function.
The LEVEL pseudo column is used with the Oracle style CONNECT BY clause.
-
prior
@NotNull
@Support({CUBRID,EXASOL,INFORMIX,ORACLE,SNOWFLAKE})
@Pro
public static <T> @NotNull Field<T> prior(Field<T> field)
The PRIOR
function.
The PRIOR operator is used with the Oracle style CONNECT BY clause.
-
sysConnectByPath
@NotNull
@Support({CUBRID,EXASOL,INFORMIX,ORACLE,SNOWFLAKE})
@Pro
public static @NotNull Field<String> sysConnectByPath(Field<?> field,
String separator)
The SYS_CONNECT_BY_PATH
function.
The SYS_CONNECT_BY_PATH function is used with the Oracle style CONNECT BY clause.
-
rownum
The ROWNUM
function.
Depending on its usage, the Oracle-specific ROWNUM
pseudo-field can
be emulated using LIMIT
or ROW_NUMBER()
.
-
xmlcomment
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlcomment(@Param
String comment)
The XMLCOMMENT
function.
- Parameters:
comment
- is wrapped as val(Object)
.
-
xmlcomment
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlcomment(Field<String> comment)
The XMLCOMMENT
function.
-
xmlforest
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlforest(Field<?>... fields)
The XMLFOREST
function.
-
xmlforest
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlforest(Collection<? extends Field<?>> fields)
The XMLFOREST
function.
-
xmlserializeDocument
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static <T> @NotNull Field<T> xmlserializeDocument(XML value,
DataType<T> type)
The XMLSERIALIZE_DOCUMENT
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
xmlserializeDocument
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static <T> @NotNull Field<T> xmlserializeDocument(Field<XML> value,
DataType<T> type)
The XMLSERIALIZE_DOCUMENT
function.
-
xmlserializeContent
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static <T> @NotNull Field<T> xmlserializeContent(XML value,
DataType<T> type)
The XMLSERIALIZE_CONTENT
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
xmlserializeContent
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static <T> @NotNull Field<T> xmlserializeContent(Field<XML> value,
DataType<T> type)
The XMLSERIALIZE_CONTENT
function.
-
jsonArray
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayNullStep<JSON> jsonArray(Field<?>... fields)
The JSON_ARRAY
function.
-
jsonArray
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayNullStep<JSON> jsonArray(Collection<? extends Field<?>> fields)
The JSON_ARRAY
function.
-
jsonbArray
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayNullStep<JSONB> jsonbArray(Field<?>... fields)
The JSONB_ARRAY
function.
-
jsonbArray
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayNullStep<JSONB> jsonbArray(Collection<? extends Field<?>> fields)
The JSONB_ARRAY
function.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(Field<?>... entries)
The JSON_OBJECT
function.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(JSONEntry<?>... entries)
The JSON_OBJECT
function.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(Collection<? extends JSONEntry<?>> entries)
The JSON_OBJECT
function.
-
jsonbObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSONB> jsonbObject(Field<?>... entries)
The JSONB_OBJECT
function.
-
jsonbObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSONB> jsonbObject(JSONEntry<?>... entries)
The JSONB_OBJECT
function.
-
jsonbObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSONB> jsonbObject(Collection<? extends JSONEntry<?>> entries)
The JSONB_OBJECT
function.
-
deleting
The DELETING
function.
-
inserting
The INSERTING
function.
-
updating
The UPDATING
function.
-
bitAndAgg
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number>
@NotNull AggregateFunction<T> bitAndAgg(Field<T> value)
The BIT_AND_AGG
function.
Calculate the bitwise AND
aggregate value.
-
bitOrAgg
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number>
@NotNull AggregateFunction<T> bitOrAgg(Field<T> value)
The BIT_OR_AGG
function.
Calculate the bitwise OR
aggregate value.
-
bitXorAgg
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number>
@NotNull AggregateFunction<T> bitXorAgg(Field<T> value)
The BIT_XOR_AGG
function.
Calculate the bitwise XOR
aggregate value.
-
corr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> corr(Field<? extends Number> y,
Field<? extends Number> x)
The CORR
function.
Calculate the correlation coefficient. This standard SQL function may be supported
natively, or emulated using covarPop(Field, Field)
and stddevPop(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
covarSamp
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> covarSamp(Field<? extends Number> y,
Field<? extends Number> x)
The COVAR_SAMP
function.
Calculate the sample covariance. This standard SQL function may be supported natively,
or emulated using sum(Field)
and count(Field)
. If an emulation
is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
covarPop
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> covarPop(Field<? extends Number> y,
Field<? extends Number> x)
The COVAR_POP
function.
Calculate the population covariance. This standard SQL function may be supported
natively, or emulated using sum(Field)
and count(Field)
. If an
emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
median
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,CUBRID,DB2_11,EXASOL,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES_9_4,REDSHIFT,SNOWFLAKE,SYBASE,TERADATA})
public static @NotNull AggregateFunction<BigDecimal> median(Field<? extends Number> field)
The MEDIAN
function.
-
regrAvgX
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrAvgX(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_AVG_X
function.
Calculate the average of the independent values (x). This standard SQL function may
be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrAvgY
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrAvgY(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_AVG_Y
function.
Calculate the average of the dependent values (y). This standard SQL function may
be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrCount
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrCount(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_COUNT
function.
Calculate the number of non-NULL
pairs. This standard SQL function may
be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrIntercept
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrIntercept(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_INTERCEPT
function.
Calculate the y intercept of the regression line. This standard SQL function may
be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrR2
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> regrR2(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_R2
function.
Calculate the coefficient of determination. This standard SQL function may be supported
natively, or emulated using sum(Field)
and count(Field)
. If an
emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrSlope
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrSlope(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_SLOPE
function.
Calculate the slope of the regression line. This standard SQL function may be supported
natively, or emulated using sum(Field)
and count(Field)
. If an
emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrSXX
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrSXX(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_SXX
function.
Calculate the REGR_SXX
auxiliary function. This standard SQL function
may be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrSXY
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrSXY(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_SXY
function.
Calculate the REGR_SXY
auxiliary function. This standard SQL function
may be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
regrSYY
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> regrSYY(Field<? extends Number> y,
Field<? extends Number> x)
The REGR_SYY
function.
Calculate the REGR_SYY
auxiliary function. This standard SQL function
may be supported natively, or emulated using sum(Field)
and count(Field)
.
If an emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
stddevPop
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,EXASOL,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> stddevPop(Field<? extends Number> field)
The STDDEV_POP
function.
Calculate the population standard deviation. This standard SQL function may be supported
natively, or emulated using sum(Field)
and count(Field)
. If an
emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
stddevSamp
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2_11,EXASOL,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> stddevSamp(Field<? extends Number> field)
The STDDEV_SAMP
function.
Calculate the sample standard deviation. This standard SQL function may be supported
natively, or emulated using sum(Field)
and count(Field)
. If an
emulation is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
varPop
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> varPop(Field<? extends Number> field)
The VAR_POP
function.
Calculate the population variance. This standard SQL function may be supported natively,
or emulated using sum(Field)
and count(Field)
. If an emulation
is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
varSamp
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2_11,EXASOL,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> varSamp(Field<? extends Number> field)
The VAR_SAMP
function.
Calculate the sample variance. This standard SQL function may be supported natively,
or emulated using sum(Field)
and count(Field)
. If an emulation
is applied, beware of the risk of "Catastrophic
cancellation" in case the calculations are performed using floating point arithmetic.
-
return_
@NotNull
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static @NotNull Statement return_(Object value)
The RETURN_
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
return_
@NotNull
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static @NotNull Statement return_(Field<?> value)
The RETURN_
function.
-
return_
@NotNull
@Support({BIGQUERY,DB2,EXASOL,FIREBIRD,HANA,HSQLDB,INFORMIX,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA})
@Pro
public static @NotNull Statement return_()
The RETURN_
function.
-
signalSQLState
@NotNull
@Support({DB2,HANA,HSQLDB,MARIADB,MYSQL,POSTGRES})
@Pro
public static SignalSetStep signalSQLState(Object value)
The SIGNAL_SQL_STATE
function.
- Parameters:
value
- is wrapped as val(Object)
.
-
signalSQLState
@NotNull
@Support({DB2,HANA,HSQLDB,MARIADB,MYSQL,POSTGRES})
@Pro
public static SignalSetStep signalSQLState(Field<?> value)
The SIGNAL_SQL_STATE
function.
-
rpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> rpad(Field<String> field,
int length,
char character)
Get the rpad(field, length, character) function.
- See Also:
rpad(Field, Field, Field)
-
lpad
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<String> lpad(Field<String> field,
int length,
char character)
Get the lpad(field, length, character) function.
- See Also:
lpad(Field, Field, Field)
-
escape
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static @NotNull String escape(String value,
char escape)
Convenience method for replace(Field, String, String)
to escape
data for use with Field.like(Field, char)
.
Essentially, this escapes %
and _
characters
-
escape
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA})
public static @NotNull Field<String> escape(Field<String> field,
char escape)
Convenience method for replace(Field, String, String)
to escape
data for use with Field.like(Field, char)
.
Essentially, this escapes %
and _
characters
-
regexpReplaceAll
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<String> regexpReplaceAll(Field<String> field,
String pattern,
String replacement)
Get the REGEXP_REPLACE_ALL
function.
-
regexpReplaceAll
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<String> regexpReplaceAll(Field<String> field,
Field<String> pattern,
Field<String> replacement)
Get the REGEXP_REPLACE_ALL
function.
-
regexpReplaceFirst
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,HANA,INFORMIX,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<String> regexpReplaceFirst(Field<String> field,
String pattern,
String replacement)
Get the REGEXP_REPLACE_ALL
function.
-
regexpReplaceFirst
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,HANA,INFORMIX,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<String> regexpReplaceFirst(Field<String> field,
Field<String> pattern,
Field<String> replacement)
Get the REGEXP_REPLACE_ALL
function.
-
insert
@NotNull
@Support
public static @NotNull Field<String> insert(Field<String> in,
Number startIndex,
Number length,
String placing)
Get the insert(in, startIndex, length, placing) function.
-
insert
@NotNull
@Support
public static @NotNull Field<String> insert(Field<String> in,
Field<? extends Number> startIndex,
Field<? extends Number> length,
Field<String> placing)
Get the insert(in, startIndex, length, placing) function.
-
concat
Get the concat(field, value)
function.
- See Also:
concat(Field...)
-
concat
Get the concat(value, field)
function.
- See Also:
concat(Field...)
-
concat
Get the concat(value[, value, ...]) function.
- See Also:
concat(Field...)
-
concat
Get the concat(field[, field, ...]) function.
This creates fields[0] || fields[1] || ...
as an
expression, or concat(fields[0], fields[1], ...)
,
depending on the dialect.
If any of the given fields is not a String
field, they are cast
to Field<String>
first using cast(Object, Class)
-
currentDate
Get the current_date() function returning a SQL standard
SQLDataType.DATE
type.
Note, while there is a CURRENT_DATE
function in
SQLDialect.ORACLE
, that function returns a seconds-precision
SQLDataType.TIMESTAMP
, which is undesired from a vendor
agnosticity perspective. This function thus produces an expression that
conforms to the SQL standard idea of a SQLDataType.DATE
type.
This translates into any dialect
-
currentTime
Get the current_time() function returning a SQL standard
SQLDataType.TIME
type.
This translates into any dialect
-
currentTimestamp
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type.
This translates into any dialect
-
currentTimestamp
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> currentTimestamp(int precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
-
currentTimestamp
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> currentTimestamp(Field<Integer> precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
-
now
Synonym for currentTimestamp()
.
-
now
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> now(Field<Integer> precision)
Synonym for currentTimestamp(Field)
.
-
currentLocalDate
Get the current_date() function returning a SQL standard
SQLDataType.DATE
type.
Note, while there is a CURRENT_DATE
function in
SQLDialect.ORACLE
, that function returns a seconds-precision
SQLDataType.TIMESTAMP
, which is undesired from a vendor
agnosticity perspective. This function thus produces an expression that
conforms to the SQL standard idea of a SQLDataType.DATE
type.
This translates into any dialect
-
currentLocalTime
Get the current_time() function returning a SQL standard
SQLDataType.TIME
type.
This translates into any dialect
-
currentLocalDateTime
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type.
This translates into any dialect
-
currentLocalDateTime
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<LocalDateTime> currentLocalDateTime(int precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
-
currentLocalDateTime
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA})
public static @NotNull Field<LocalDateTime> currentLocalDateTime(Field<Integer> precision)
Get the current_timestamp() function returning a SQL standard
SQLDataType.TIMESTAMP
type with the specified fractional
seconds precision.
-
currentOffsetTime
Get the current_time() function.
This translates into any dialect
-
currentOffsetDateTime
Get the current_timestamp() function.
This translates into any dialect
-
currentInstant
Get the current_timestamp() function.
This translates into any dialect
-
dateDiff
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
dateDiff
@NotNull
@Support
public static @NotNull Field<Integer> dateDiff(Field<Date> endDate,
Date startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
dateDiff
@NotNull
@Support
public static @NotNull Field<Integer> dateDiff(Date endDate,
Field<Date> startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
dateDiff
@NotNull
@Support
public static @NotNull Field<Integer> dateDiff(Field<Date> endDate,
Field<Date> startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
dateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> dateDiff(DatePart part,
Date startDate,
Date endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
dateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> dateDiff(DatePart part,
Field<Date> startDate,
Date endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
dateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> dateDiff(DatePart part,
Date startDate,
Field<Date> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
dateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> dateDiff(DatePart part,
Field<Date> startDate,
Field<Date> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
dateSub
Subtract an interval from a date.
This translates into any dialect
- See Also:
Field.add(Number)
-
dateSub
@NotNull
@Support
public static @NotNull Field<Date> dateSub(Field<Date> date,
Field<? extends Number> interval)
Subtract an interval from a date.
This translates into any dialect
- See Also:
Field.add(Field)
-
dateSub
@NotNull
@Support
public static @NotNull Field<Date> dateSub(Date date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
dateSub
@NotNull
@Support
public static @NotNull Field<Date> dateSub(Date date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
dateSub
@NotNull
@Support
public static @NotNull Field<Date> dateSub(Field<Date> date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
dateSub
@NotNull
@Support
public static @NotNull Field<Date> dateSub(Field<Date> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Timestamp timestamp,
Number interval)
Subtract an interval from a timestamp.
This translates into any dialect
- See Also:
Field.sub(Number)
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Field<Timestamp> timestamp,
Field<? extends Number> interval)
Subtract an interval from a timestamp.
This translates into any dialect
- See Also:
Field.sub(Field)
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Timestamp date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Timestamp date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Field<Timestamp> date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
timestampSub
@NotNull
@Support
public static @NotNull Field<Timestamp> timestampSub(Field<Timestamp> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
timestampDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> timestampDiff(Timestamp timestamp1,
Timestamp timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
timestampDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> timestampDiff(Field<Timestamp> timestamp1,
Timestamp timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
timestampDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> timestampDiff(Timestamp timestamp1,
Field<Timestamp> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
timestampDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> timestampDiff(Field<Timestamp> timestamp1,
Field<Timestamp> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
timestampDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> timestampDiff(DatePart part,
Timestamp startDate,
Timestamp endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
timestampDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> timestampDiff(DatePart part,
Field<Timestamp> startDate,
Timestamp endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
timestampDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> timestampDiff(DatePart part,
Timestamp startDate,
Field<Timestamp> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
timestampDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> timestampDiff(DatePart part,
Field<Timestamp> startDate,
Field<Timestamp> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateDiff
@NotNull
@Support
public static @NotNull Field<Integer> localDateDiff(LocalDate endDate,
LocalDate startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull
@Support
public static @NotNull Field<Integer> localDateDiff(Field<LocalDate> endDate,
LocalDate startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull
@Support
public static @NotNull Field<Integer> localDateDiff(LocalDate endDate,
Field<LocalDate> startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull
@Support
public static @NotNull Field<Integer> localDateDiff(Field<LocalDate> endDate,
Field<LocalDate> startDate)
Get the date difference between endDate - startDate
in
number of days.
- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateDiff(DatePart part,
LocalDate startDate,
LocalDate endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateDiff(DatePart part,
Field<LocalDate> startDate,
LocalDate endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateDiff(DatePart part,
LocalDate startDate,
Field<LocalDate> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateDiff(DatePart part,
Field<LocalDate> startDate,
Field<LocalDate> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example, DATEDIFF(YEAR, '2000-03-01', '2002-01-01') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(LocalDate date,
Number interval)
Subtract an interval from a date.
This translates into any dialect
- See Also:
Field.add(Number)
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(Field<LocalDate> date,
Field<? extends Number> interval)
Subtract an interval from a date.
This translates into any dialect
- See Also:
Field.add(Field)
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(LocalDate date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(LocalDate date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(Field<LocalDate> date,
Number interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
localDateSub
@NotNull
@Support
public static @NotNull Field<LocalDate> localDateSub(Field<LocalDate> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a date, given a date part.
This translates into any dialect
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(LocalDateTime timestamp,
Number interval)
Subtract an interval from a timestamp.
This translates into any dialect
- See Also:
Field.sub(Number)
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(Field<LocalDateTime> timestamp,
Field<? extends Number> interval)
Subtract an interval from a timestamp.
This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(LocalDateTime date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(LocalDateTime date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(Field<LocalDateTime> date,
Number interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
localDateTimeSub
@NotNull
@Support
public static @NotNull Field<LocalDateTime> localDateTimeSub(Field<LocalDateTime> date,
Field<? extends Number> interval,
DatePart datePart)
Subtract an interval from a timestamp, given a date part.
This translates into any dialect
-
localDateTimeDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> localDateTimeDiff(LocalDateTime timestamp1,
LocalDateTime timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateTimeDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> localDateTimeDiff(Field<LocalDateTime> timestamp1,
LocalDateTime timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateTimeDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> localDateTimeDiff(LocalDateTime timestamp1,
Field<LocalDateTime> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateTimeDiff
@NotNull
@Support
public static @NotNull Field<DayToSecond> localDateTimeDiff(Field<LocalDateTime> timestamp1,
Field<LocalDateTime> timestamp2)
Get the timestamp difference as a INTERVAL DAY TO SECOND
type.
This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateTimeDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateTimeDiff(DatePart part,
LocalDateTime startDate,
LocalDateTime endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateTimeDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateTimeDiff(DatePart part,
Field<LocalDateTime> startDate,
LocalDateTime endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateTimeDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateTimeDiff(DatePart part,
LocalDateTime startDate,
Field<LocalDateTime> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
localDateTimeDiff
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER})
public static @NotNull Field<Integer> localDateTimeDiff(DatePart part,
Field<LocalDateTime> startDate,
Field<LocalDateTime> endDate)
Get the date difference between endDate - startDate
in terms
of part
.
For example,
TIMESTAMPDIFF(YEAR, '2000-03-01 00:00:00', '2002-01-01 00:00:00') = 2
,
despite there being less than 2 years between the two days. The behaviour
replicates that of SQL Server.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<Date> trunc(Date date)
Truncate a date to the beginning of the day.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<Date> trunc(Date date,
DatePart part)
Truncate a date to a given datepart.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> trunc(LocalDate date)
Truncate a date to the beginning of the day.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> trunc(LocalDate date,
DatePart part)
Truncate a date to a given datepart.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<Timestamp> trunc(Timestamp timestamp)
Truncate a timestamp to the beginning of the day.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<Timestamp> trunc(Timestamp timestamp,
DatePart part)
Truncate a timestamp to a given datepart.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> trunc(LocalDateTime timestamp)
Truncate a timestamp to the beginning of the day.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> trunc(LocalDateTime timestamp,
DatePart part)
Truncate a timestamp to a given datepart.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static <T> @NotNull Field<T> trunc(Field<T> date)
Truncate a date or a timestamp to the beginning of the day.
-
trunc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,VERTICA})
public static <T> @NotNull Field<T> trunc(Field<T> date,
DatePart part)
Truncate a date or a timestamp to a given datepart.
-
extract
Get the extract(field, datePart) function.
This translates into any dialect
-
extract
Get the extract(field, datePart) function.
This translates into any dialect
-
extract
Get the extract(field, datePart) function.
This translates into any dialect
-
epoch
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> epoch(Date value)
Get the epoch of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.EPOCH
-
epoch
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> epoch(Temporal value)
Get the epoch of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.EPOCH
-
epoch
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> epoch(Field<?> field)
Get the epoch of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.EPOCH
-
millennium
Get the millennium of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MILLENNIUM
-
millennium
Get the millennium of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MILLENNIUM
-
millennium
Get the millennium of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MILLENNIUM
-
century
Get the century of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.CENTURY
-
century
Get the century of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.CENTURY
-
century
Get the century of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.CENTURY
-
decade
Get the decade of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DECADE
-
decade
Get the decade of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DECADE
-
decade
Get the decade of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DECADE
-
quarter
Get the quarter of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.QUARTER
-
quarter
Get the quarter of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.QUARTER
-
quarter
Get the quarter of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.QUARTER
-
year
Get the year part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.YEAR
-
year
Get the year part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.YEAR
-
year
Get the year part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.YEAR
-
month
Get the month part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.MONTH
-
month
Get the month part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.MONTH
-
month
Get the month part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MONTH
-
week
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES})
public static @NotNull Field<Integer> week(Date value)
Get the week part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.WEEK
-
week
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES})
public static @NotNull Field<Integer> week(Temporal value)
Get the week part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.WEEK
-
week
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES})
public static @NotNull Field<Integer> week(Field<?> field)
Get the week part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.WEEK
-
day
Get the day part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.DAY
-
day
Get the day part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.DAY
-
day
Get the day part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DAY
-
dayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfWeek(Date value)
Get the day of week part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.DAY_OF_WEEK
-
dayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfWeek(Temporal value)
Get the day of week part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.DAY_OF_WEEK
-
dayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfWeek(Field<?> field)
Get the day of week part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DAY_OF_WEEK
-
isoDayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> isoDayOfWeek(Date value)
Get the ISO day of week part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.ISO_DAY_OF_WEEK
-
isoDayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> isoDayOfWeek(Temporal value)
Get the ISO day of week part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.ISO_DAY_OF_WEEK
-
isoDayOfWeek
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> isoDayOfWeek(Field<?> field)
Get the ISO day of week part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.ISO_DAY_OF_WEEK
-
dayOfYear
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfYear(Date value)
Get the day of week part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.DAY_OF_YEAR
-
dayOfYear
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfYear(Temporal value)
Get the day of week part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.DAY_OF_YEAR
-
dayOfYear
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE})
public static @NotNull Field<Integer> dayOfYear(Field<?> field)
Get the day of week part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.DAY_OF_YEAR
-
hour
Get the hour part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.HOUR
-
hour
Get the hour part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.HOUR
-
hour
Get the hour part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.HOUR
-
minute
Get the minute part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.MINUTE
-
minute
Get the minute part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.MINUTE
-
minute
Get the minute part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MINUTE
-
second
Get the second part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.SECOND
-
second
Get the second part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.SECOND
-
second
Get the second part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.SECOND
-
millisecond
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> millisecond(Date value)
Get the millisecond part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.MILLISECOND
-
millisecond
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> millisecond(Temporal value)
Get the millisecond part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.MILLISECOND
-
millisecond
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> millisecond(Field<?> field)
Get the millisecond part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MILLISECOND
-
microsecond
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> microsecond(Date value)
Get the microsecond part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.MICROSECOND
-
microsecond
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> microsecond(Temporal value)
Get the microsecond part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.MICROSECOND
-
microsecond
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLSERVER})
public static @NotNull Field<Integer> microsecond(Field<?> field)
Get the microsecond part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.MICROSECOND
-
timezone
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezone(Date value)
Get the timezone part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.TIMEZONE
-
timezone
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezone(Temporal value)
Get the timezone part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.TIMEZONE
-
timezone
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezone(Field<?> field)
Get the timezone part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.TIMEZONE
-
timezoneHour
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneHour(Date value)
Get the timezoneHour part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.TIMEZONE_HOUR
-
timezoneHour
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneHour(Temporal value)
Get the timezoneHour part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.TIMEZONE_HOUR
-
timezoneHour
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneHour(Field<?> field)
Get the timezoneHour part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.TIMEZONE_HOUR
-
timezoneMinute
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneMinute(Date value)
Get the timezoneMinute part of a date.
This is the same as calling extract(java.util.Date, DatePart)
with DatePart.TIMEZONE_MINUTE
-
timezoneMinute
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneMinute(Temporal value)
Get the timezoneMinute part of a date.
This is the same as calling extract(Temporal, DatePart)
with DatePart.TIMEZONE_MINUTE
-
timezoneMinute
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> timezoneMinute(Field<?> field)
Get the timezoneMinute part of a date.
This is the same as calling extract(Field, DatePart)
with DatePart.TIMEZONE_MINUTE
-
date
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Date> date(String value)
Convert a string value to a DATE
.
-
date
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Date> date(Date value)
Convert a temporal value to a DATE
.
-
date
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Date> date(Field<? extends Date> field)
Convert a temporal value to a DATE
.
-
time
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Time> time(String value)
Convert a string value to a TIME
.
-
time
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Time> time(Date value)
Convert a temporal value to a TIME
.
-
time
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Time> time(Field<? extends Date> field)
Convert a temporal value to a TIME
.
-
timestamp
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> timestamp(String value)
Convert a string value to a TIMESTAMP
.
-
timestamp
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> timestamp(Date value)
Convert a temporal value to a TIMESTAMP
.
-
timestamp
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Timestamp> timestamp(Field<? extends Date> field)
Convert a temporal value to a TIMESTAMP
.
-
localDate
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDate> localDate(String value)
Convert a string value to a DATE
.
-
localDate
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDate> localDate(LocalDate value)
Convert a temporal value to a DATE
.
-
localDate
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDate> localDate(Field<LocalDate> field)
Convert a temporal value to a DATE
.
-
localTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalTime> localTime(String value)
Convert a string value to a TIME
.
-
localTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalTime> localTime(LocalTime value)
Convert a temporal value to a TIME
.
-
localTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalTime> localTime(Field<LocalTime> field)
Convert a temporal value to a TIME
.
-
localDateTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDateTime> localDateTime(String value)
Convert a string value to a TIMESTAMP
.
-
localDateTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDateTime> localDateTime(LocalDateTime value)
Convert a temporal value to a TIMESTAMP
.
-
localDateTime
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<LocalDateTime> localDateTime(Field<LocalDateTime> field)
Convert a temporal value to a TIMESTAMP
.
-
offsetTime
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetTime> offsetTime(String value)
Convert a string value to a TIME WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
offsetTime
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetTime> offsetTime(OffsetTime value)
Convert a temporal value to a TIME WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
offsetTime
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetTime> offsetTime(Field<OffsetTime> field)
Convert a temporal value to a TIME WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
offsetDateTime
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetDateTime> offsetDateTime(String value)
Convert a string value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
offsetDateTime
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetDateTime> offsetDateTime(OffsetDateTime value)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
offsetDateTime
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<OffsetDateTime> offsetDateTime(Field<OffsetDateTime> field)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
instant
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<Instant> instant(String value)
Convert a string value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
instant
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<Instant> instant(Instant value)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
instant
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES,SQLITE})
public static @NotNull Field<Instant> instant(Field<Instant> field)
Convert a temporal value to a TIMESTAMP WITH TIME ZONE
.
Depending on whether the database preserves the time zone information
(e.g. SQLDialect.ORACLE
) or not (e.g.
SQLDialect.POSTGRES
), the resulting value might be converted to
UTC. Regardless of this fact, the result should be the same
Instant
(in UTC) as the input.
-
toLocalDate
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> toLocalDate(String value,
String format)
Parse a value to a DATE
.
- Parameters:
value
- The formatted DATE
value.
format
- The vendor-specific formatting string.
-
toLocalDate
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> toLocalDate(String value,
Field<String> format)
Parse a value to a DATE
.
- Parameters:
value
- The formatted DATE
value.
format
- The vendor-specific formatting string.
-
toLocalDate
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> toLocalDate(Field<String> value,
String format)
Parse a value to a DATE
.
- Parameters:
value
- The formatted DATE
value.
format
- The vendor-specific formatting string.
-
toLocalDate
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDate> toLocalDate(Field<String> value,
Field<String> format)
Parse a value to a DATE
.
- Parameters:
value
- The formatted DATE
value.
format
- The vendor-specific formatting string.
-
toLocalDateTime
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> toLocalDateTime(String value,
String format)
Parse a value to a TIMESTAMP
.
- Parameters:
value
- The formatted TIMESTAMP
value.
format
- The vendor-specific formatting string.
-
toLocalDateTime
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> toLocalDateTime(String value,
Field<String> format)
Parse a value to a TIMESTAMP
.
- Parameters:
value
- The formatted TIMESTAMP
value.
format
- The vendor-specific formatting string.
-
toLocalDateTime
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> toLocalDateTime(Field<String> value,
String format)
Parse a value to a TIMESTAMP
.
- Parameters:
value
- The formatted TIMESTAMP
value.
format
- The vendor-specific formatting string.
-
toLocalDateTime
@NotNull
@Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA})
public static @NotNull Field<LocalDateTime> toLocalDateTime(Field<String> value,
Field<String> format)
Parse a value to a TIMESTAMP
.
- Parameters:
value
- The formatted TIMESTAMP
value.
format
- The vendor-specific formatting string.
-
rollup
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,CUBRID,DB2,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField rollup(Field<?>... fields)
Create a ROLLUP(field1, field2, .., fieldn) grouping field.
- See Also:
rollup(FieldOrRow...)
-
rollup
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField rollup(FieldOrRow... fields)
Create a ROLLUP(field1, field2, .., fieldn) grouping field.
This has been observed to work with the following databases:
- DB2
- MySQL (emulated using the GROUP BY .. WITH ROLLUP clause)
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
Please check the SQL Server documentation for a very nice explanation of
CUBE
, ROLLUP
, and GROUPING SETS
clauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx
- Parameters:
fields
- The fields that are part of the ROLLUP
function
- Returns:
- A field to be used in a
GROUP BY
clause
-
cube
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField cube(Field<?>... fields)
Create a CUBE(field1, field2, .., fieldn) grouping field.
- See Also:
cube(Field...)
-
cube
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField cube(FieldOrRow... fields)
Create a CUBE(field1, field2, .., fieldn) grouping field.
This has been observed to work with the following databases:
- DB2
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
Please check the SQL Server documentation for a very nice explanation of
CUBE
, ROLLUP
, and GROUPING SETS
clauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx
- Parameters:
fields
- The fields that are part of the CUBE
function
- Returns:
- A field to be used in a
GROUP BY
clause
-
groupingSets
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField groupingSets(Field<?>... fields)
Create a GROUPING SETS(field1, field2, .., fieldn) grouping field where
each grouping set only consists of a single field.
This has been observed to work with the following databases:
- DB2
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
Please check the SQL Server documentation for a very nice explanation of
CUBE
, ROLLUP
, and GROUPING SETS
clauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx
- Parameters:
fields
- The fields that are part of the GROUPING SETS
function
- Returns:
- A field to be used in a
GROUP BY
clause
-
groupingSets
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField groupingSets(Field<?>[]... fieldSets)
Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna,
fieldnb)) grouping field.
This has been observed to work with the following databases:
- DB2
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
Please check the SQL Server documentation for a very nice explanation of
CUBE
, ROLLUP
, and GROUPING SETS
clauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx
- Parameters:
fieldSets
- The fields that are part of the GROUPING SETS
function
- Returns:
- A field to be used in a
GROUP BY
clause
-
groupingSets
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull GroupField groupingSets(Collection<? extends Field<?>>... fieldSets)
Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna,
fieldnb)) grouping field.
This has been observed to work with the following databases:
- DB2
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
Please check the SQL Server documentation for a very nice explanation of
CUBE
, ROLLUP
, and GROUPING SETS
clauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx
- Parameters:
fieldSets
- The fields that are part of the GROUPING SETS
function
- Returns:
- A field to be used in a
GROUP BY
clause
-
groupId
Create a GROUP_ID()
aggregation function to be used along
with CUBE
, ROLLUP
, and
GROUPING SETS
groupings.
- Returns:
- The
GROUPING
aggregation field
- See Also:
cube(Field...)
,
rollup(Field...)
-
groupingId
@NotNull
@Support({HANA,ORACLE,SNOWFLAKE,SQLSERVER,VERTICA})
@Pro
public static @NotNull Field<Integer> groupingId(Field<?>... fields)
Create a GROUPING_ID(field1, field2, .., fieldn) aggregation field to be
used along with CUBE
, ROLLUP
, and
GROUPING SETS
groupings.
This has been observed to work with the following databases:
- Oracle
- SQL Server
- Parameters:
fields
- The function arguments
- Returns:
- The
GROUPING_ID
aggregation field
- See Also:
cube(Field...)
,
rollup(Field...)
-
grouping
@NotNull
@Support({AURORA_POSTGRES,DB2,HANA,MEMSQL,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> grouping(Field<?> field)
Create a GROUPING(field) aggregation field to be used along with
CUBE
, ROLLUP
, and GROUPING SETS
groupings.
This has been observed to work with the following databases:
- DB2
- Oracle
- PostgreSQL 9.5
- SQL Server
- Sybase SQL Anywhere
- Parameters:
field
- The function argument
- Returns:
- The
GROUPING
aggregation field
- See Also:
cube(Field...)
,
rollup(Field...)
-
bitCount
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> bitCount(Number value)
The MySQL BIT_COUNT(field)
function, counting the number of
bits that are set in this number.
- See Also:
bitCount(Field)
-
bitCount
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SYBASE,TERADATA,VERTICA})
public static @NotNull Field<Integer> bitCount(Field<? extends Number> field)
The MySQL BIT_COUNT(field)
function, counting the number of
bits that are set in this number.
This function is emulated in most other databases like this (for a
TINYINT field):
([field] & 1) +
([field] & 2) >> 1 +
([field] & 4) >> 2 +
([field] & 8) >> 3 +
([field] & 16) >> 4 +
...
([field] & 128) >> 7
More efficient algorithms are very welcome
-
bitNot
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNot(T value)
The bitwise not operator.
- See Also:
bitNot(Field)
-
bitNot
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNot(Field<T> field)
The bitwise not operator.
Most dialects natively support this using ~[field]
. jOOQ
emulates this operator in some dialects using -[field] - 1
-
bitAnd
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitAnd(T value1,
T value2)
The bitwise and operator.
- See Also:
bitAnd(Field, Field)
-
bitAnd
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitAnd(T value1,
Field<T> value2)
The bitwise and operator.
- See Also:
bitAnd(Field, Field)
-
bitAnd
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitAnd(Field<T> value1,
T value2)
The bitwise and operator.
- See Also:
bitAnd(Field, Field)
-
bitAnd
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitAnd(Field<T> field1,
Field<T> field2)
The bitwise and operator.
This is not supported by Derby, Ingres
This renders the and operation where available:
[field1] & [field2]
... or the and function elsewhere:
bitand([field1], [field2])
-
bitNand
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNand(T value1,
T value2)
The bitwise not and operator.
- See Also:
bitNand(Field, Field)
,
bitNot(Field)
-
bitNand
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNand(T value1,
Field<T> value2)
The bitwise not and operator.
- See Also:
bitNand(Field, Field)
,
bitNot(Field)
-
bitNand
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNand(Field<T> value1,
T value2)
The bitwise not and operator.
- See Also:
bitNand(Field, Field)
,
bitNot(Field)
-
bitNand
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNand(Field<T> field1,
Field<T> field2)
The bitwise not and operator.
This is not supported by Derby, Ingres
This renders the not and operation where available:
~([field1] & [field2])
... or the not and function elsewhere:
bitnot(bitand([field1], [field2]))
- See Also:
bitNot(Field)
-
bitOr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitOr(T value1,
T value2)
The bitwise or operator.
- See Also:
bitOr(Field, Field)
-
bitOr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitOr(T value1,
Field<T> value2)
The bitwise or operator.
- See Also:
bitOr(Field, Field)
-
bitOr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitOr(Field<T> value1,
T value2)
The bitwise or operator.
- See Also:
bitOr(Field, Field)
-
bitOr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitOr(Field<T> field1,
Field<T> field2)
The bitwise or operator.
This is not supported by Derby, Ingres
This renders the or operation where available:
[field1] | [field2]
... or the or function elsewhere:
bitor([field1], [field2])
-
bitNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNor(T value1,
T value2)
The bitwise not or operator.
- See Also:
bitNor(Field, Field)
,
bitNot(Field)
-
bitNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNor(T value1,
Field<T> value2)
The bitwise not or operator.
- See Also:
bitNor(Field, Field)
,
bitNot(Field)
-
bitNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNor(Field<T> value1,
T value2)
The bitwise not or operator.
- See Also:
bitNor(Field, Field)
,
bitNot(Field)
-
bitNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitNor(Field<T> field1,
Field<T> field2)
The bitwise not or operator.
This is not supported by Derby, Ingres
This renders the not or operation where available:
~([field1] | [field2])
... or the not or function elsewhere:
bitnot(bitor([field1], [field2]))
- See Also:
bitNot(Field)
-
bitXor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXor(T value1,
T value2)
The bitwise xor operator.
- See Also:
bitXor(Field, Field)
-
bitXor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXor(T value1,
Field<T> value2)
The bitwise xor operator.
- See Also:
bitXor(Field, Field)
-
bitXor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXor(Field<T> value1,
T value2)
The bitwise xor operator.
- See Also:
bitXor(Field, Field)
-
bitXor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXor(Field<T> field1,
Field<T> field2)
The bitwise xor operator.
This is not supported by Derby, Ingres
This renders the or operation where available:
[field1] ^ [field2]
... or the xor function elsewhere:
bitxor([field1], [field2])
-
bitXNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXNor(T value1,
T value2)
The bitwise not xor operator.
- See Also:
bitXNor(Field, Field)
,
bitNot(Field)
-
bitXNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXNor(T value1,
Field<T> value2)
The bitwise not xor operator.
- See Also:
bitXNor(Field, Field)
,
bitNot(Field)
-
bitXNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXNor(Field<T> value1,
T value2)
The bitwise not xor operator.
- See Also:
bitXNor(Field, Field)
,
bitNot(Field)
-
bitXNor
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> bitXNor(Field<T> field1,
Field<T> field2)
The bitwise not xor operator.
This is not supported by Derby, Ingres
This renders the or operation where available:
~([field1] ^ [field2])
... or the not xor function elsewhere:
bitnot(bitxor([field1], [field2]))
-
shl
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shl(T value1,
Number value2)
The bitwise left shift operator.
- See Also:
shl(Field, Field)
,
power(Field, Number)
-
shl
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shl(T value1,
Field<? extends Number> value2)
The bitwise left shift operator.
- See Also:
shl(Field, Field)
,
power(Field, Number)
-
shl
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shl(Field<T> value1,
Number value2)
The bitwise left shift operator.
- See Also:
shl(Field, Field)
,
power(Field, Number)
-
shl
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shl(Field<T> field1,
Field<? extends Number> field2)
The bitwise left shift operator.
Some dialects natively support this using [field1] << [field2]
.
jOOQ emulates this operator in some dialects using
[field1] * power(2, [field2])
, where power might also be emulated.
- See Also:
power(Field, Field)
-
shr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shr(T value1,
Number value2)
The bitwise right shift operator.
- See Also:
shr(Field, Field)
,
power(Field, Number)
-
shr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shr(T value1,
Field<? extends Number> value2)
The bitwise right shift operator.
- See Also:
shr(Field, Field)
,
power(Field, Number)
-
shr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shr(Field<T> value1,
Number value2)
The bitwise right shift operator.
- See Also:
shr(Field, Field)
,
power(Field, Number)
-
shr
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> shr(Field<T> field1,
Field<? extends Number> field2)
The bitwise right shift operator.
Some dialects natively support this using [field1] >> [field2]
.
jOOQ emulates this operator in some dialects using
[field1] / power(2, [field2])
, where power might also be emulated.
- See Also:
power(Field, Field)
-
greatest
Find the greatest among all values.
This function has no equivalent in Adaptive Server, Derby, SQL Server and
Sybase SQL Anywhere. Its current simulation implementation has
O(2^n)
complexity and should be avoided for
n > 5
! Better implementation suggestions are very
welcome.
- See Also:
greatest(Field, Field...)
-
greatest
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<T> greatest(Field<T> field,
Field<?>... others)
Find the greatest among all values.
This function has no equivalent in Adaptive Server, Derby, SQL Server and
Sybase SQL Anywhere. Its current simulation implementation has
O(2^n)
complexity and should be avoided for
n > 5
! Better implementation suggestions are very
welcome.
-
least
Find the least among all values.
This function has no equivalent in Adaptive Server, Derby, SQL Server and
Sybase SQL Anywhere. Its current simulation implementation has
O(2^n)
complexity and should be avoided for
n > 5
! Better implementation suggestions are very
welcome.
- See Also:
least(Field, Field...)
-
least
@NotNull
@Support
@SafeVarargs
public static <T> @NotNull Field<T> least(Field<T> field,
Field<?>... others)
Find the least among all values.
This function has no equivalent in Adaptive Server, Derby, SQL Server and
Sybase SQL Anywhere. Its current simulation implementation has
O(2^n)
complexity and should be avoided for
n > 5
! Better implementation suggestions are very
welcome.
-
neg
Negate a field to get its negative value.
- See Also:
Field.neg()
-
minus
Negate a field to get its negative value.
- See Also:
Field.neg()
-
trunc
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static <T extends Number> @NotNull Field<T> trunc(T number)
Truncate a number to a given number of decimals.
- See Also:
trunc(Field, Field)
-
xmlparseDocument
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlparseDocument(String content)
The XML parse function.
-
xmlparseDocument
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlparseDocument(Field<String> content)
The XML parse function.
-
xmlparseContent
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlparseContent(String content)
The XML parse function.
-
xmlparseContent
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlparseContent(Field<String> content)
The XML parse function.
-
xmlconcat
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
@SafeVarargs
public static @NotNull Field<XML> xmlconcat(Field<?>... fields)
The XML concat function.
-
xmlconcat
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlconcat(Collection<? extends Field<?>> fields)
The XML concat function.
-
xmldocument
@NotNull
@Support({DB2,TERADATA})
@Pro
public static @NotNull Field<XML> xmldocument(Field<XML> content)
The XML document constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(String name,
Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(String name,
Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(Name name,
Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(Name name,
Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(String name,
XMLAttributes attributes,
Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(String name,
XMLAttributes attributes,
Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(Name name,
XMLAttributes attributes,
Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlelement(Name name,
XMLAttributes attributes,
Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlattributes
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLAttributes xmlattributes(Field<?>... attributes)
The XML attributes constructor.
-
xmlattributes
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLAttributes xmlattributes(Collection<? extends Field<?>> attributes)
The XML attributes constructor.
-
xmlpi
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlpi(String target)
The XML processing instruction constructor.
-
xmlpi
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlpi(Name target)
The XML processing instruction constructor.
-
xmlpi
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlpi(String target,
Field<?> content)
The XML processing instruction constructor.
-
xmlpi
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull Field<XML> xmlpi(Name target,
Field<?> content)
The XML processing instruction constructor.
-
xmlagg
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLAggOrderByStep<XML> xmlagg(Field<XML> field)
The XML aggregate function.
-
xmlquery
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLQueryPassingStep xmlquery(String xpath)
The XML query function.
-
xmlquery
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLQueryPassingStep xmlquery(Field<String> xpath)
The XML query function.
-
xmlexists
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLExistsPassingStep xmlexists(String xpath)
The XML exists function.
-
xmlexists
@NotNull
@Support({DB2,ORACLE,POSTGRES,TERADATA})
public static @NotNull XMLExistsPassingStep xmlexists(Field<String> xpath)
The XML exists function.
-
xmltable
@NotNull
@Support({DB2,HANA,ORACLE,POSTGRES_10,SQLSERVER,TERADATA})
public static @NotNull XMLTablePassingStep xmltable(String xpath)
The XML table function.
-
xmltable
@NotNull
@Support({DB2,HANA,ORACLE,POSTGRES_10,SQLSERVER,TERADATA})
public static @NotNull XMLTablePassingStep xmltable(Field<String> xpath)
The XML table function.
-
jsonValue
@NotNull
@Support({DB2_11,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONValueOnStep<JSON> jsonValue(Field<JSON> json,
String path)
The JSON value extractor function.
-
jsonValue
@NotNull
@Support({DB2_11,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONValueOnStep<JSON> jsonValue(Field<JSON> json,
Field<String> path)
The JSON value extractor function.
-
jsonbValue
@NotNull
@Support({DB2_11,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONValueOnStep<JSONB> jsonbValue(Field<JSONB> json,
String path)
The JSON value extractor function.
-
jsonbValue
@NotNull
@Support({DB2_11,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONValueOnStep<JSONB> jsonbValue(Field<JSONB> json,
Field<String> path)
The JSON value extractor function.
-
key
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static @NotNull JSONEntryValueStep key(String key)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
This is the same as calling jsonEntry(String, Field)
.
-
key
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static @NotNull JSONEntryValueStep key(Field<String> key)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
This is the same as calling jsonEntry(Field, Field)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(Field<T> value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
This is the same as calling jsonEntry(String, Field)
with
Field.getName()
as a key.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(String key,
T value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(String key,
Field<T> value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(String key,
Select<? extends Record1<T>> value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(Field<String> key,
T value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(Field<String> key,
Field<T> value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonEntry
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER})
public static <T> @NotNull JSONEntry<T> jsonEntry(Field<String> key,
Select<? extends Record1<T>> value)
A constructor for JSON entries to be used with
jsonObject(JSONEntry...)
.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(String key,
Field<?> value)
The JSON object constructor.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(Field<String> key,
Field<?> value)
The JSON object constructor.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject(Field<String> key,
Select<? extends Record1<?>> value)
The JSON object constructor.
-
jsonObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSON> jsonObject()
The JSON object constructor.
-
jsonbObject
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016})
public static @NotNull JSONObjectNullStep<JSONB> jsonbObject()
The JSON object constructor.
-
jsonArrayAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayAggOrderByStep<JSON> jsonArrayAgg(Field<?> value)
The JSON array aggregate function.
-
jsonbArrayAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONArrayAggOrderByStep<JSONB> jsonbArrayAgg(Field<?> value)
The JSON array aggregate function.
-
jsonObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSON> jsonObjectAgg(Field<?> value)
The JSON object aggregate function.
This is the same as calling jsonEntry(String, Field)
with
Field.getName()
as a key.
-
jsonObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSON> jsonObjectAgg(String key,
Field<?> value)
The JSON object aggregate function.
-
jsonObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSON> jsonObjectAgg(Field<String> key,
Field<?> value)
The JSON object aggregate function.
-
jsonObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSON> jsonObjectAgg(JSONEntry<?> entry)
The JSON object aggregate function.
-
jsonbObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSONB> jsonbObjectAgg(Field<?> field)
The JSONB object aggregate function.
This is the same as calling jsonEntry(String, Field)
with
Field.getName()
as a key.
-
jsonbObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSONB> jsonbObjectAgg(String key,
Field<?> value)
The JSONB object aggregate function.
-
jsonbObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSONB> jsonbObjectAgg(Field<String> key,
Field<?> value)
The JSONB object aggregate function.
-
jsonbObjectAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES})
public static @NotNull JSONObjectAggNullStep<JSONB> jsonbObjectAgg(JSONEntry<?> entry)
The JSONB object aggregate function.
-
jsonExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,MARIADB_10_5,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONExistsOnStep jsonExists(Field<JSON> field,
String path)
The JSON exists predicate.
-
jsonExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,MARIADB_10_5,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONExistsOnStep jsonExists(Field<JSON> field,
Field<String> path)
The JSON exists predicate.
-
jsonbExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,MARIADB_10_5,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONExistsOnStep jsonbExists(Field<JSONB> field,
String path)
The JSONB exists predicate.
-
jsonbExists
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,MARIADB_10_5,MYSQL_5_7,ORACLE12C,POSTGRES_12})
public static @NotNull JSONExistsOnStep jsonbExists(Field<JSONB> field,
Field<String> path)
The JSONB exists predicate.
-
jsonTable
@NotNull
@Support({DB2_11,HANA,MYSQL_8_0_19,ORACLE12C,POSTGRES_12,SQLSERVER2016})
public static @NotNull JSONTableColumnsFirstStep jsonTable(JSON json,
String path)
The JSON table function.
-
jsonTable
@NotNull
@Support({DB2_11,HANA,MYSQL_8_0_19,ORACLE12C,POSTGRES_12,SQLSERVER2016})
public static @NotNull JSONTableColumnsFirstStep jsonTable(Field<JSON> json,
Field<String> path)
The JSON table function.
-
jsonbTable
@NotNull
@Support({DB2_11,HANA,MYSQL_8_0_19,ORACLE12C,POSTGRES_12,SQLSERVER2016})
public static @NotNull JSONTableColumnsFirstStep jsonbTable(JSONB json,
String path)
The JSON table function.
-
jsonbTable
@NotNull
@Support({DB2_11,HANA,MYSQL_8_0_19,ORACLE12C,POSTGRES_12,SQLSERVER2016})
public static @NotNull JSONTableColumnsFirstStep jsonbTable(Field<JSONB> json,
Field<String> path)
The JSON table function.
-
array
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T[]> array(T... values)
Create an array literal.
This translates to the following databases and syntaxes:
SQLDialect
Java
SQL
SQLDialect.H2
array(1, 2)
(1, 2)
SQLDialect.HSQLDB
, SQLDialect.POSTGRES
array(1, 2)
array[1, 2]
-
array
@SafeVarargs
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T[]> array(Field<T>... fields)
Create an array literal.
This translates to the following databases and syntaxes:
SQLDialect
Java
SQL
SQLDialect.H2
array(1, 2)
(1, 2)
SQLDialect.HSQLDB
, SQLDialect.POSTGRES
array(1, 2)
array[1, 2]
-
array
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T[]> array(Collection<? extends Field<T>> fields)
Create an array literal.
This translates to the following databases and syntaxes:
SQLDialect
Java
SQL
SQLDialect.H2
array(1, 2)
(1, 2)
SQLDialect.HSQLDB
, SQLDialect.POSTGRES
array(1, 2)
array[1, 2]
-
array
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T[]> array(Select<? extends Record1<T>> select)
The PostgreSQL array(select)
function.
Example:
{1, 2, 3} = array(select 1 union select 2 union select 3)
-
cardinality
@NotNull
@Support({AURORA_POSTGRES,H2,HSQLDB,POSTGRES})
public static @NotNull Field<Integer> cardinality(Field<? extends Object[]> field)
Calculate the cardinality of an array field.
-
arrayGet
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T> arrayGet(Field<T[]> field,
int index)
Get an array element at a given index (1 based)
-
arrayGet
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull Field<T> arrayGet(Field<T[]> field,
Field<Integer> index)
Get an array element at a given index (1 based)
-
multiset
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,SQLSERVER,TERADATA})
public static <R extends Record>
@NotNull Field<Result<R>> multiset(Select<R> select)
Get the MULTISET
operator to nest subqueries.
EXPERIMENTAL: The standard SQL MULTISET
operator is poorly
supported by most dialects. As such, it needs to be emulated using
elaborate mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
An important limitation is that correlating MULTISET
subqueries currently only works on dialects that support correlating
derived tables. This excludes:
See also https://github.com/jOOQ/jOOQ/issues/12045.
The various multisetAgg(Field...)
overloads are not affected
from this limitation.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
anyValue
The ANY_VALUE
function.
Get any arbitrary value from the group.
-
count
Get the count(*) function.
-
count
Get the count(field) function.
-
count
@NotNull
@Support
public static @NotNull AggregateFunction<Integer> count(SelectFieldOrAsterisk field)
Get the count(field) function.
-
count
Get the count(table) function.
If this is not supported by a given database (i.e. non
SQLDialect.POSTGRES
, then the primary key is used with
count(Field)
, instead.
-
countDistinct
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<Integer> countDistinct(Field<?> field)
Get the count(distinct field) function.
-
countDistinct
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<Integer> countDistinct(SelectFieldOrAsterisk field)
Get the count(distinct field) function.
-
countDistinct
@NotNull
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<Integer> countDistinct(Table<?> table)
Get the count(distinct table) function.
If this is not supported by a given database (i.e. non
SQLDialect.POSTGRES
, then the primary key is used with
count(Field)
, instead.
-
countDistinct
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SNOWFLAKE})
public static @NotNull AggregateFunction<Integer> countDistinct(Field<?>... fields)
Get the count(distinct field1, field2) function.
Some dialects support several expressions in the
COUNT(DISTINCT expr1, expr2)
aggregate function.
SQLDialect.POSTGRES
supports this as
COUNT(DISTINCT(expr1, expr2))
.
-
every
Get the every value over a field: every(field).
This is a synonym for boolAnd(Field)
.
-
every
Get the every value over a condition: every(condition).
This is a synonym for boolAnd(Condition)
.
-
boolAnd
Get the every value over a field: bool_and(field).
-
boolAnd
Get the every value over a condition: bool_and(condition).
-
boolOr
Get the every value over a field: bool_and(field).
-
boolOr
Get the every value over a condition: bool_and(condition).
-
arrayAgg
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull ArrayAggOrderByStep<T[]> arrayAgg(Field<T> field)
Get the array_agg()
aggregate function.
-
arrayAggDistinct
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,H2,HSQLDB,POSTGRES})
public static <T> @NotNull ArrayAggOrderByStep<T[]> arrayAggDistinct(Field<T> field)
Get the array_agg()
aggregate function.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static @NotNull ArrayAggOrderByStep<Result<Record>> multisetAgg(Collection<? extends Field<?>> fields)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static @NotNull ArrayAggOrderByStep<Result<Record>> multisetAgg(Field<?>... fields)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1>
@NotNull ArrayAggOrderByStep<Result<Record1<T1>>> multisetAgg(SelectField<T1> field1)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2>
@NotNull ArrayAggOrderByStep<Result<Record2<T1,T2>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3>
@NotNull ArrayAggOrderByStep<Result<Record3<T1,T2,T3>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4>
@NotNull ArrayAggOrderByStep<Result<Record4<T1,T2,T3,T4>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5>
@NotNull ArrayAggOrderByStep<Result<Record5<T1,T2,T3,T4,T5>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull ArrayAggOrderByStep<Result<Record6<T1,T2,T3,T4,T5,T6>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull ArrayAggOrderByStep<Result<Record7<T1,T2,T3,T4,T5,T6,T7>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull ArrayAggOrderByStep<Result<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>> multisetAgg(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7,
SelectField<T8> field8)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull ArrayAggOrderByStep<Result<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull ArrayAggOrderByStep<Result<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull ArrayAggOrderByStep<Result<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull ArrayAggOrderByStep<Result<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull ArrayAggOrderByStep<Result<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull ArrayAggOrderByStep<Result<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull ArrayAggOrderByStep<Result<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull ArrayAggOrderByStep<Result<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull ArrayAggOrderByStep<Result<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull ArrayAggOrderByStep<Result<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull ArrayAggOrderByStep<Result<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull ArrayAggOrderByStep<Result<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull ArrayAggOrderByStep<Result<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
multisetAgg
@NotNull
@Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE,POSTGRES,TERADATA})
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull ArrayAggOrderByStep<Result<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>> multisetAgg(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)
Get the MULTISET_AGG
aggregate function to nest group
contents.
EXPERIMENTAL: This synthetic, non-standard aggregate function works in a
similar way as the standard SQL ARRAY_AGG
aggregate
function. It is emulated using mappings to any of:
NestedCollectionEmulation.JSON
: A MULTISET of ROW types works
just like a jsonArrayAgg(Field)
of
jsonObject(Field...)
, or an application of
SelectForStep.forJSON()
. jOOQ produces a JSON encoding that is
compatible with DSLContext.fetchFromJSON(String)
. Future jOOQ
versions will make this format configurable according to
JSONFormat.RecordFormat
.
NestedCollectionEmulation.JSONB
: Just like JSON
,
but we're using jsonbArrayAgg(Field)
and
jsonbObject(Field...)
, or SelectForStep.forJSONB()
.
NestedCollectionEmulation.XML
: A MULTISET of ROW types works
just like a xmlagg(Field)
of
xmlelement(Name, Field...)
, or an application of
SelectForStep.forXML()
. jOOQ produces an XML encoding that is
compatible with DSLContext.fetchFromXML(String)
. Future jOOQ
versions will make this format configurable according to
XMLFormat.RecordFormat
.
NestedCollectionEmulation.NATIVE
: A few dialects have native
support for MULTISET.
NestedCollectionEmulation.DEFAULT
: By default, jOOQ chooses
the optimal encoding among the above depending on your dialect,
transparently.
The emulation to be chosen is governed by
Settings.getEmulateMultiset()
.
A set of known limitations can be found here: https://github.com/jOOQ/jOOQ/issues/12021.
Please report any issues you may encounter on the above issue, or in a
new issue on github.
-
collect
@NotNull
@Support(ORACLE)
@Pro
public static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A> collect(Field<T> field,
Class<A> type)
Get the collect()
aggregate function.
In Oracle, a standalone collect()
expression generates an
anonymous collection type, which can be used by clients only if cast
explicitly to a user-defined collection type. The latter can be supplied
here for convenience as the second argument.
-
collect
@NotNull
@Support(ORACLE)
@Pro
public static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A> collect(Field<T> field,
DataType<A> type)
Get the collect()
aggregate function.
In Oracle, a standalone collect()
expression generates an
anonymous collection type, which can be used by clients only if cast
explicitly to a user-defined collection type. The latter can be supplied
here for convenience as the second argument.
-
collectDistinct
@NotNull
@Support(ORACLE)
@Pro
public static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A> collectDistinct(Field<T> field,
Class<A> type)
Get the collect()
aggregate function.
In Oracle, a standalone collect()
expression generates an
anonymous collection type, which can be used by clients only if cast
explicitly to a user-defined collection type. The latter can be supplied
here for convenience as the second argument.
-
collectDistinct
@NotNull
@Support(ORACLE)
@Pro
public static <T,
A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A> collectDistinct(Field<T> field,
DataType<A> type)
Get the collect()
aggregate function.
In Oracle, a standalone collect()
expression generates an
anonymous collection type, which can be used by clients only if cast
explicitly to a user-defined collection type. The latter can be supplied
here for convenience as the second argument.
-
max
Get the max value over a field: max(field).
-
maxDistinct
Get the max value over a field: max(distinct field).
-
min
Get the min value over a field: min(field).
-
minDistinct
Get the min value over a field: min(distinct field).
-
sum
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> sum(Field<? extends Number> field)
Get the sum over a numeric field: sum(field).
-
sumDistinct
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> sumDistinct(Field<? extends Number> field)
Get the sum over a numeric field: sum(distinct field).
-
product
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> product(Field<? extends Number> field)
Get the product over a numeric field: product(field).
No database currently supports multiplicative aggregation natively. jOOQ
emulates this using exp(sum(log(arg)))
for strictly positive
numbers, and does some additional handling for zero and negative numbers.
Note that this implementation may introduce rounding errors, even for
integer multiplication.
More information here: https://blog.jooq.org/2018/09/21/how-to-write-a-multiplication-aggregate-function-in-sql.
-
productDistinct
@NotNull
@Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull AggregateFunction<BigDecimal> productDistinct(Field<? extends Number> field)
Get the sum over a numeric field: product(distinct field).
No database currently supports multiplicative aggregation natively. jOOQ
emulates this using exp(sum(log(arg)))
for strictly positive
numbers, and does some additional handling for zero and negative numbers.
Note that this implementation may introduce rounding errors, even for
integer multiplication.
More information here: https://blog.jooq.org/2018/09/21/how-to-write-a-multiplication-aggregate-function-in-sql.
-
avg
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> avg(Field<? extends Number> field)
Get the average over a numeric field: avg(field).
-
avgDistinct
@NotNull
@Support
public static @NotNull AggregateFunction<BigDecimal> avgDistinct(Field<? extends Number> field)
Get the average over a numeric field: avg(distinct field).
-
mode
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4,SNOWFLAKE})
public static <T> @NotNull AggregateFunction<T> mode(Field<T> field)
The mode(field)
aggregate function.
-
listAgg
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE11G,POSTGRES,REDSHIFT,SQLSERVER2017,SYBASE,TERADATA})
public static @NotNull OrderedAggregateFunction<String> listAgg(Field<?> field)
Get the aggregated concatenation for a field.
This is natively supported by SQLDialect.ORACLE11G
upwards. It is
emulated by the following dialects:
-
SQLDialect.AURORA_MYSQL
: Using GROUP_CONCAT
-
SQLDialect.DB2
: Using XMLAGG()
-
SQLDialect.H2
: Using GROUP_CONCAT()
-
SQLDialect.HSQLDB
: Using GROUP_CONCAT()
-
SQLDialect.MYSQL
: Using GROUP_CONCAT()
-
SQLDialect.POSTGRES
: Using STRING_AGG()
-
SQLDialect.SYBASE
: Using LIST()
- See Also:
groupConcat(Field)
-
listAgg
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE11G,POSTGRES,REDSHIFT,SQLSERVER2017,SYBASE,TERADATA})
public static @NotNull OrderedAggregateFunction<String> listAgg(Field<?> field,
String separator)
Get the aggregated concatenation for a field.
This is natively supported by SQLDialect.ORACLE11G
upwards. It is
emulated by the following dialects:
-
SQLDialect.AURORA_MYSQL
: Using GROUP_CONCAT
-
SQLDialect.DB2
: Using XMLAGG()
-
SQLDialect.H2
: Using GROUP_CONCAT
-
SQLDialect.HSQLDB
: Using GROUP_CONCAT
-
SQLDialect.MYSQL
: Using GROUP_CONCAT
-
SQLDialect.POSTGRES
: Using STRING_AGG()
-
SQLDialect.SYBASE
: Using LIST()
- See Also:
groupConcat(Field)
-
groupConcat
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER2017,SYBASE,TERADATA})
public static @NotNull GroupConcatOrderByStep groupConcat(Field<?> field)
Get the aggregated concatenation for a field.
This is natively supported by
-
SQLDialect.AURORA_MYSQL
-
SQLDialect.H2
-
SQLDialect.HSQLDB
-
SQLDialect.MEMSQL
(but without ORDER BY
)
-
SQLDialect.MYSQL
-
SQLDialect.SQLITE
(but without ORDER BY
)
It is emulated by the following dialects:
-
SQLDialect.DB2
: Using XMLAGG()
-
SQLDialect.ORACLE
: Using LISTAGG()
-
SQLDialect.POSTGRES
: Using STRING_AGG()
-
SQLDialect.SYBASE
: Using LIST()
- See Also:
listAgg(Field)
-
groupConcat
@Deprecated(forRemoval=true,
since="3.12")
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER2017,SYBASE,TERADATA})
public static @NotNull AggregateFunction<String> groupConcat(Field<?> field,
String separator)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#7956] - 3.12.0 - Use groupConcat(Field)
and
GroupConcatSeparatorStep.separator(String)
instead.
Get the aggregated concatenation for a field.
This is natively supported by
SQLDialect.AURORA_MYSQL
SQLDialect.H2
SQLDialect.HSQLDB
SQLDialect.MEMSQL
SQLDialect.MYSQL
SQLDialect.SQLITE
It is emulated by the following dialects:
SQLDialect.DB2
: Using XMLAGG()
SQLDialect.ORACLE
: Using LISTAGG()
SQLDialect.POSTGRES
: Using STRING_AGG()
SQLDialect.SYBASE
: Using LIST()
- See Also:
listAgg(Field)
-
groupConcatDistinct
@NotNull
@Support({AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,REDSHIFT,SYBASE})
public static @NotNull GroupConcatOrderByStep groupConcatDistinct(Field<?> field)
Get the aggregated concatenation for a field.
This is natively supported by
It is emulated by the following dialects:
-
SQLDialect.SYBASE
: Using LIST()
-
SQLDialect.POSTGRES
: Using STRING_AGG()
- See Also:
listAgg(Field)
-
mode
@NotNull
@Support({AURORA_POSTGRES,H2,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunctionOfDeferredType mode()
The mode() within group (oder by [order clause])
ordered
aggregate function.
-
rank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> rank(Field<?>... fields)
The rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
rank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> rank(Collection<? extends Field<?>> fields)
The rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
denseRank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> denseRank(Field<?>... fields)
The dense_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
denseRank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> denseRank(Collection<? extends Field<?>> fields)
The dense_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
percentRank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> percentRank(Field<?>... fields)
The percent_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
percentRank
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<Integer> percentRank(Collection<? extends Field<?>> fields)
The percent_rank(expr) within group (order by [order clause])
ordered-set aggregate function.
-
cumeDist
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<BigDecimal> cumeDist(Field<?>... fields)
The cume_dist(expr) within group (order by [order clause])
ordered-set aggregate function.
-
cumeDist
@NotNull
@Support({AURORA_POSTGRES,H2,ORACLE,POSTGRES_9_4})
public static @NotNull OrderedAggregateFunction<BigDecimal> cumeDist(Collection<? extends Field<?>> fields)
The cume_dist(expr) within group (order by [order clause])
ordered-set aggregate function.
-
percentileCont
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2_11,EXASOL,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA})
public static @NotNull OrderedAggregateFunction<BigDecimal> percentileCont(Number number)
The
percentile_cont([number]) within group (order by [column])
function.
While most dialects support this as an aggregate function,
SQLDialect.BIGQUERY
, SQLDialect.SQLSERVER
, and
SQLDialect.REDSHIFT
support only its window function variant.
-
percentileCont
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2_11,EXASOL,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA})
public static @NotNull OrderedAggregateFunction<BigDecimal> percentileCont(Field<? extends Number> field)
The
percentile_cont([number]) within group (order by [column])
function.
While most dialects support this as an aggregate function,
SQLDialect.BIGQUERY
, SQLDialect.SQLSERVER
, and
SQLDialect.REDSHIFT
support only its window function variant.
-
percentileDisc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2_11,EXASOL,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA})
public static @NotNull OrderedAggregateFunction<BigDecimal> percentileDisc(Number number)
The
percentile_disc([number]) within group (order by [column])
function.
While most dialects support this as an aggregate function,
SQLDialect.BIGQUERY
, SQLDialect.SQLSERVER
, and
SQLDialect.REDSHIFT
support only its window function variant.
-
percentileDisc
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,DB2_11,EXASOL,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA})
public static @NotNull OrderedAggregateFunction<BigDecimal> percentileDisc(Field<? extends Number> field)
The
percentile_disc([number]) within group (order by [column])
function.
While most dialects support this as an aggregate function,
SQLDialect.BIGQUERY
, SQLDialect.SQLSERVER
, and
SQLDialect.REDSHIFT
support only its window function variant.
-
partitionBy
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationOrderByStep partitionBy(Field<?>... fields)
Create a WindowSpecification
with a PARTITION BY
clause.
-
partitionBy
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationOrderByStep partitionBy(Collection<? extends Field<?>> fields)
Create a WindowSpecification
with a PARTITION BY
clause.
-
orderBy
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsStep orderBy(Field<?>... fields)
Create a WindowSpecification
with an ORDER BY
clause.
-
orderBy
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsStep orderBy(OrderField<?>... fields)
Create a WindowSpecification
with an ORDER BY
clause.
-
orderBy
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsStep orderBy(Collection<? extends OrderField<?>> fields)
Create a WindowSpecification
with an ORDER BY
clause.
-
rowsUnboundedPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rowsUnboundedPreceding()
Create a WindowSpecification
with a ROWS
clause.
-
rowsPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rowsPreceding(int number)
Create a WindowSpecification
with a ROWS
clause.
-
rowsCurrentRow
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rowsCurrentRow()
Create a WindowSpecification
with a ROWS
clause.
-
rowsUnboundedFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rowsUnboundedFollowing()
Create a WindowSpecification
with a ROWS
clause.
-
rowsFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rowsFollowing(int number)
Create a WindowSpecification
with a ROWS
clause.
-
rowsBetweenUnboundedPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedPreceding()
Create a WindowSpecification
with a ROWS
clause.
-
rowsBetweenPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rowsBetweenPreceding(int number)
Create a WindowSpecification
with a ROWS
clause.
-
rowsBetweenCurrentRow
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rowsBetweenCurrentRow()
Create a WindowSpecification
with a ROWS
clause.
-
rowsBetweenUnboundedFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedFollowing()
Create a WindowSpecification
with a ROWS
clause.
-
rowsBetweenFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rowsBetweenFollowing(int number)
Create a WindowSpecification
with a ROWS
clause.
-
rangeUnboundedPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rangeUnboundedPreceding()
Create a WindowSpecification
with a RANGE
clause.
-
rangePreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rangePreceding(int number)
Create a WindowSpecification
with a RANGE
clause.
-
rangeCurrentRow
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rangeCurrentRow()
Create a WindowSpecification
with a RANGE
clause.
-
rangeUnboundedFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rangeUnboundedFollowing()
Create a WindowSpecification
with a RANGE
clause.
-
rangeFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationExcludeStep rangeFollowing(int number)
Create a WindowSpecification
with a RANGE
clause.
-
rangeBetweenUnboundedPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedPreceding()
Create a WindowSpecification
with a RANGE
clause.
-
rangeBetweenPreceding
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rangeBetweenPreceding(int number)
Create a WindowSpecification
with a RANGE
clause.
-
rangeBetweenCurrentRow
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rangeBetweenCurrentRow()
Create a WindowSpecification
with a RANGE
clause.
-
rangeBetweenUnboundedFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedFollowing()
Create a WindowSpecification
with a RANGE
clause.
-
rangeBetweenFollowing
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2,EXASOL,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowSpecificationRowsAndStep rangeBetweenFollowing(int number)
Create a WindowSpecification
with a RANGE
clause.
-
groupsUnboundedPreceding
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationExcludeStep groupsUnboundedPreceding()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsPreceding
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationExcludeStep groupsPreceding(int number)
Create a WindowSpecification
with a GROUPS
clause.
-
groupsCurrentRow
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationExcludeStep groupsCurrentRow()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsUnboundedFollowing
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationExcludeStep groupsUnboundedFollowing()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsFollowing
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationExcludeStep groupsFollowing(int number)
Create a WindowSpecification
with a GROUPS
clause.
-
groupsBetweenUnboundedPreceding
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedPreceding()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsBetweenPreceding
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationRowsAndStep groupsBetweenPreceding(int number)
Create a WindowSpecification
with a GROUPS
clause.
-
groupsBetweenCurrentRow
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationRowsAndStep groupsBetweenCurrentRow()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsBetweenUnboundedFollowing
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedFollowing()
Create a WindowSpecification
with a GROUPS
clause.
-
groupsBetweenFollowing
@NotNull
@Support({COCKROACHDB,EXASOL,H2,POSTGRES_11,SQLITE_3_28})
public static @NotNull WindowSpecificationRowsAndStep groupsBetweenFollowing(int number)
Create a WindowSpecification
with a GROUPS
clause.
-
rowNumber
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowOverStep<Integer> rowNumber()
The row_number() over ([analytic clause])
function.
Newer versions of SQLDialect.DERBY
and SQLDialect.H2
also
support the ROW_NUMBER() OVER()
window function without any
window clause. See the respective docs for details.
SQLDialect.HSQLDB
can emulate this function using
ROWNUM()
-
rank
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowOverStep<Integer> rank()
The rank() over ([analytic clause])
function.
-
denseRank
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowOverStep<Integer> denseRank()
The dense_rank() over ([analytic clause])
function.
-
percentRank
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowOverStep<BigDecimal> percentRank()
The precent_rank() over ([analytic clause])
function.
-
cumeDist
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA})
public static @NotNull WindowOverStep<BigDecimal> cumeDist()
The cume_dist() over ([analytic clause])
function.
-
ntile
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2_11,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,VERTICA})
public static @NotNull WindowOverStep<Integer> ntile(int number)
The ntile([number]) over ([analytic clause])
function.
-
ntile
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2_11,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,VERTICA})
public static @NotNull WindowOverStep<Integer> ntile(Field<Integer> number)
The ntile([number]) over ([analytic clause])
function.
-
ratioToReport
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2_11,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA})
public static @NotNull WindowOverStep<BigDecimal> ratioToReport(Number number)
The ratio_to_report([expression]) over ([analytic clause])
function.
-
ratioToReport
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2_11,EXASOL,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA})
public static @NotNull WindowOverStep<BigDecimal> ratioToReport(Field<? extends Number> field)
The ratio_to_report([expression]) over ([analytic clause])
function.
-
firstValue
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> firstValue(Field<T> field)
The first_value(field) over ([analytic clause])
function.
-
lastValue
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lastValue(Field<T> field)
The last_value(field) over ([analytic clause])
function.
-
nthValue
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2_11,EXASOL,FIREBIRD_3_0,H2,HANA,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLITE,VERTICA})
public static <T>
@NotNull WindowFromFirstLastStep<T> nthValue(Field<T> field,
int nth)
The nth_value(field) over ([analytic clause])
function.
-
nthValue
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,DB2_11,EXASOL,FIREBIRD_3_0,H2,HANA,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SNOWFLAKE,SQLITE,VERTICA})
public static <T>
@NotNull WindowFromFirstLastStep<T> nthValue(Field<T> field,
Field<Integer> nth)
The nth_value(field) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field)
The lead(field) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
int offset)
The lead(field, offset) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
Field<Integer> offset)
The lead(field, offset) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
int offset,
T defaultValue)
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
int offset,
Field<T> defaultValue)
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
Field<Integer> offset,
T defaultValue)
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
-
lead
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field,
Field<Integer> offset,
Field<T> defaultValue)
The
lead(field, offset, defaultValue) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field)
The lag(field) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
int offset)
The lag(field, offset) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
Field<Integer> offset)
The lag(field, offset) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
int offset,
T defaultValue)
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
int offset,
Field<T> defaultValue)
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
Field<Integer> offset,
T defaultValue)
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
-
lag
@NotNull
@Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA})
public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field,
Field<Integer> offset,
Field<T> defaultValue)
The
lag(field, offset, defaultValue) over ([analytic clause])
function.
-
param
Create an unnamed parameter with a generic type (Object
/
SQLDataType.OTHER
) and no initial value.
Try to avoid this method when using any of these databases, as these
databases may have trouble inferring the type of the bind value. Use
typed named parameters instead, using param(Class)
or
param(DataType)
- See Also:
param(String, Object)
-
param
Create an unnamed parameter with a defined type and no initial value.
- See Also:
param(String, Object)
-
param
Create an unnamed parameter with a defined type and no initial value.
- See Also:
param(String, Object)
-
param
Create an unnamed parameter with the defined type of another field and no
initial value.
- See Also:
param(String, Object)
-
param
Create a named parameter with a generic type (Object
/
SQLDataType.OTHER
) and no initial value.
Try to avoid this method when using any of these databases, as these
databases may have trouble inferring the type of the bind value. Use
typed named parameters instead, using param(String, Class)
or
param(String, DataType)
- See Also:
param(String, Object)
-
param
Create a named parameter with a defined type and no initial value.
- Parameters:
name
- The parameter name
type
- The type that is used for the parameter (a type that is
supported by SQLDataType
)
- See Also:
param(String, Object)
-
param
Create a named parameter with a defined type and no initial value.
- See Also:
param(String, Object)
-
param
Create a named parameter with a defined type of another field and no
initial value.
- See Also:
param(String, Object)
-
param
Create a named parameter with an initial value.
Named parameters are useful for several use-cases:
- They can be used with Spring's
JdbcTemplate
, which
supports named parameters. Use
DSLContext.renderNamedParams(QueryPart)
to render
parameter names in SQL
- Named parameters can be retrieved using a well-known name from
AttachableQueryPart.getParam(String)
and AttachableQueryPart.getParams()
.
-
value
A synonym for val(Object)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Object)
-
value
A synonym for val(byte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(byte)
-
value
A synonym for val(Byte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Byte)
-
value
A synonym for val(UByte)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(UByte)
-
value
A synonym for val(short)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(short)
-
value
A synonym for val(Short)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Short)
-
value
A synonym for val(UShort)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(UShort)
-
value
A synonym for val(int)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(int)
-
value
A synonym for val(Integer)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Integer)
-
value
A synonym for val(UInteger)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(UInteger)
-
value
A synonym for val(long)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(long)
-
value
A synonym for val(Long)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Long)
-
value
A synonym for val(ULong)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(ULong)
-
value
A synonym for val(float)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(float)
-
value
A synonym for val(Float)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Float)
-
value
A synonym for val(double)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(double)
-
value
A synonym for val(Double)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Double)
-
value
A synonym for val(boolean)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(boolean)
-
value
A synonym for val(Boolean)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Boolean)
-
value
A synonym for val(BigDecimal)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(BigDecimal)
-
value
A synonym for val(BigInteger)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(BigInteger)
-
value
A synonym for val(byte[])
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(byte[])
-
value
A synonym for val(String)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(String)
-
value
A synonym for val(Date)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Date)
-
value
A synonym for val(Time)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Time)
-
value
A synonym for val(Timestamp)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Timestamp)
-
value
A synonym for val(LocalDate)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(LocalDate)
-
value
A synonym for val(LocalTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(LocalTime)
-
value
A synonym for val(LocalDateTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(LocalDateTime)
-
value
A synonym for val(OffsetTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(OffsetTime)
-
value
A synonym for val(OffsetDateTime)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(OffsetDateTime)
-
value
A synonym for val(Instant)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Instant)
-
value
A synonym for val(UUID)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(UUID)
-
value
A synonym for val(JSON)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(JSON)
-
value
A synonym for val(JSONB)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(JSONB)
-
value
A synonym for val(XML)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(XML)
-
value
A synonym for val(Object, Class)
to be used in Scala and Groovy,
where val
is a reserved keyword.
- Parameters:
value
- The bind value
type
- The type that is used for the bind value (a type that is
supported by SQLDataType
)
- See Also:
val(Object, Class)
-
value
A synonym for val(Object, Field)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Object, Field)
-
value
A synonym for val(Object, DataType)
to be used in Scala and Groovy, where
val
is a reserved keyword.
- See Also:
val(Object, DataType)
-
inlined
Inline all bind variables produced by the argument Field
.
-
inlined
Inline all bind variables produced by the argument Condition
.
-
inlined
Inline all bind variables produced by the argument QueryPart
.
-
inlined
Inline all bind variables produced by the argument Statement
.
-
inline
Create a bind value, that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String)
, you can expect value
to
be properly escaped for SQL syntax correctness and SQL injection
prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
inline(Object)
,
val(Object)
-
inline
Create a bind value, that is always inlined.
This is a convenience method for inline(Object)
, returning
Field<String>
, rather than
Field<Character>
- See Also:
inline(Object)
-
inline
Create a bind value, that is always inlined.
This is a convenience method for inline(Object)
, returning
Field<String>
, rather than
Field<Character>
- See Also:
inline(Object)
-
inline
Create a bind value, that is always inlined.
This is a convenience method for inline(Object)
, returning
Field<String>
, rather than
Field<CharSequence>
- See Also:
inline(Object)
-
inline
Create a bind value, that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String, Class)
, you can expect
value
to be properly escaped for SQL syntax correctness and
SQL injection prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- Parameters:
value
- The inline value
type
- The data type to enforce upon the value (a type that is
supported by SQLDataType
)
- See Also:
val(Object, Class)
-
inline
Create a bind value, that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String, DataType)
, you can expect
value
to be properly escaped for SQL syntax correctness and
SQL injection prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
val(Object, Field)
-
inline
Create a bind value, that is always inlined.
The resulting bind value is always inlined, regardless of the
Settings.getStatementType()
property of the rendering factory.
Unlike with field(String, DataType)
, you can expect
value
to be properly escaped for SQL syntax correctness and
SQL injection prevention. For example:
inline("abc'def")
renders 'abc''def'
field("abc'def")
renders abc'def
- See Also:
val(Object, DataType)
-
val
Get a bind value.
jOOQ tries to derive the RDBMS DataType
from the provided Java
type <T>
. This may not always be accurate, which can
lead to problems in some strongly typed RDMBS, especially when value is
null
. These databases are namely:
If you need more type-safety, please use val(Object, DataType)
instead, and provide the precise RDMBS-specific data type, that is
needed.
- Type Parameters:
T
- The generic value type
- Parameters:
value
- The constant value
- Returns:
- A field representing the constant value
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value.
- See Also:
val(Object)
-
val
Get a bind value with an associated type, taken from a field.
- Type Parameters:
T
- The generic value type
- Parameters:
value
- The constant value
type
- The data type to enforce upon the value (a type that is
supported by SQLDataType
)
- Returns:
- A field representing the constant value
- See Also:
val(Object, DataType)
-
val
Get a bind value with an associated type, taken from a field.
- Type Parameters:
T
- The generic value type
- Parameters:
value
- The constant value
field
- The field whose data type to enforce upon the value
- Returns:
- A field representing the constant value
- See Also:
val(Object, DataType)
-
val
Get a bind value with an associated type.
This will try to bind value
as type
in a
PreparedStatement
. If value
and
type
are not compatible, jOOQ will first try to convert and
then to cast value
to type
.
- Type Parameters:
T
- The generic value type
- Parameters:
value
- The constant value
type
- The data type to enforce upon the value
- Returns:
- A field representing the constant value
-
recordType
Create a RecordType
of an arbitrary degree.
-
recordType
@NotNull
public static <T1> @NotNull RecordType<Record> recordType(Collection<? extends Field<?>> fields)
Create a RecordType
of an arbitrary degree.
-
recordType
Create a RecordType
of degree 1
.
-
recordType
@NotNull
public static <T1,
T2>
@NotNull RecordType<Record2<T1,T2>> recordType(Field<T1> field1,
Field<T2> field2)
Create a RecordType
of degree 2
.
-
recordType
@NotNull
public static <T1,
T2,
T3>
@NotNull RecordType<Record3<T1,T2,T3>> recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3)
Create a RecordType
of degree 3
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4>
@NotNull RecordType<Record4<T1,T2,T3,T4>> recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4)
Create a RecordType
of degree 4
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5>
@NotNull RecordType<Record5<T1,T2,T3,T4,T5>> recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5)
Create a RecordType
of degree 5
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull RecordType<Record6<T1,T2,T3,T4,T5,T6>> recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6)
Create a RecordType
of degree 6
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull RecordType<Record7<T1,T2,T3,T4,T5,T6,T7>> recordType(Field<T1> field1,
Field<T2> field2,
Field<T3> field3,
Field<T4> field4,
Field<T5> field5,
Field<T6> field6,
Field<T7> field7)
Create a RecordType
of degree 7
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull RecordType<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> recordType(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 RecordType
of degree 8
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull RecordType<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> recordType(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 RecordType
of degree 9
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull RecordType<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> recordType(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 RecordType
of degree 10
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull RecordType<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> recordType(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 RecordType
of degree 11
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull RecordType<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> recordType(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 RecordType
of degree 12
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull RecordType<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> recordType(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 RecordType
of degree 13
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull RecordType<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> recordType(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 RecordType
of degree 14
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull RecordType<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> recordType(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 RecordType
of degree 15
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull RecordType<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> recordType(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 RecordType
of degree 16
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull RecordType<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> recordType(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 RecordType
of degree 17
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull RecordType<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> recordType(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 RecordType
of degree 18
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull RecordType<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> recordType(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 RecordType
of degree 19
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull RecordType<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> recordType(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 RecordType
of degree 20
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull RecordType<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> recordType(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 RecordType
of degree 21
.
-
recordType
@NotNull
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull RecordType<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> recordType(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 RecordType
of degree 22
.
-
row
Create a row value expression of degree 1
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree 2
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree 3
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull Row4<T1,T2,T3,T4> row(T1 t1,
T2 t2,
T3 t3,
T4 t4)
Create a row value expression of degree 4
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull Row5<T1,T2,T3,T4,T5> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
Create a row value expression of degree 5
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Row6<T1,T2,T3,T4,T5,T6> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6)
Create a row value expression of degree 6
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Row7<T1,T2,T3,T4,T5,T6,T7> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
Create a row value expression of degree 7
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Row8<T1,T2,T3,T4,T5,T6,T7,T8> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8)
Create a row value expression of degree 8
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9)
Create a row value expression of degree 9
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10)
Create a row value expression of degree 10
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11)
Create a row value expression of degree 11
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12)
Create a row value expression of degree 12
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13)
Create a row value expression of degree 13
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14)
Create a row value expression of degree 14
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15)
Create a row value expression of degree 15
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16)
Create a row value expression of degree 16
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17)
Create a row value expression of degree 17
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18)
Create a row value expression of degree 18
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19)
Create a row value expression of degree 19
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20)
Create a row value expression of degree 20
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20,
T21 t21)
Create a row value expression of degree 21
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> row(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9,
T10 t10,
T11 t11,
T12 t12,
T13 t13,
T14 t14,
T15 t15,
T16 t16,
T17 t17,
T18 t18,
T19 t19,
T20 t20,
T21 t21,
T22 t22)
Create a row value expression of degree 22
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree N > 22
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree 1
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2> @NotNull Row2<T1,T2> row(SelectField<T1> field1,
SelectField<T2> field2)
Create a row value expression of degree 2
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3> @NotNull Row3<T1,T2,T3> row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3)
Create a row value expression of degree 3
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull Row4<T1,T2,T3,T4> row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4)
Create a row value expression of degree 4
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull Row5<T1,T2,T3,T4,T5> row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5)
Create a row value expression of degree 5
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Row6<T1,T2,T3,T4,T5,T6> row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6)
Create a row value expression of degree 6
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Row7<T1,T2,T3,T4,T5,T6,T7> row(SelectField<T1> field1,
SelectField<T2> field2,
SelectField<T3> field3,
SelectField<T4> field4,
SelectField<T5> field5,
SelectField<T6> field6,
SelectField<T7> field7)
Create a row value expression of degree 7
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Row8<T1,T2,T3,T4,T5,T6,T7,T8> row(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 row value expression of degree 8
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9> row(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 row value expression of degree 9
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> row(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 row value expression of degree 10
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> row(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 row value expression of degree 11
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> row(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 row value expression of degree 12
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> row(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 row value expression of degree 13
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> row(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 row value expression of degree 14
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> row(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 row value expression of degree 15
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> row(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 row value expression of degree 16
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> row(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 row value expression of degree 17
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> row(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 row value expression of degree 18
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> row(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 row value expression of degree 19
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> row(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 row value expression of degree 20
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> row(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 row value expression of degree 21
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> row(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 row value expression of degree 22
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree N > 22
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
row
Create a row value expression of degree N > 22
.
Note: Not all databases support row value expressions, but many row value
expression operations can be emulated on all databases. See relevant row
value expression method Javadocs for details.
-
values
Create a VALUES()
expression of arbitrary degree.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2),
(val2_1, val2_2),
(val3_1, val3_2)
AS "v"("c1" , "c2" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
- See Also:
Rows.toRowArray(Function...)
-
values
@SafeVarargs
@NotNull
@Support
public static <T1> @NotNull Table<Record1<T1>> values(Row1<T1>... rows)
Create a VALUES()
expression of degree 1
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1),
(val2_1),
(val3_1)
AS "v"("c1" )
-- Using UNION ALL
SELECT val1_1 AS "c1") UNION ALL
SELECT val1_1 AS "c1") UNION ALL
SELECT val1_1 AS "c1")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
- See Also:
Rows.toRowArray(Function)
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2>
@NotNull Table<Record2<T1,T2>> values(Row2<T1,T2>... rows)
Create a VALUES()
expression of degree 2
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2),
(val2_1, val2_2),
(val3_1, val3_2)
AS "v"("c1" , "c2" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
- See Also:
Rows.toRowArray(Function, Function)
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3>
@NotNull Table<Record3<T1,T2,T3>> values(Row3<T1,T2,T3>... rows)
Create a VALUES()
expression of degree 3
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3),
(val2_1, val2_2, val2_3),
(val3_1, val3_2, val3_3)
AS "v"("c1" , "c2" , "c3" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4>
@NotNull Table<Record4<T1,T2,T3,T4>> values(Row4<T1,T2,T3,T4>... rows)
Create a VALUES()
expression of degree 4
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4),
(val2_1, val2_2, val2_3, val2_4),
(val3_1, val3_2, val3_3, val3_4)
AS "v"("c1" , "c2" , "c3" , "c4" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5>
@NotNull Table<Record5<T1,T2,T3,T4,T5>> values(Row5<T1,T2,T3,T4,T5>... rows)
Create a VALUES()
expression of degree 5
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5),
(val2_1, val2_2, val2_3, val2_4, val2_5),
(val3_1, val3_2, val3_3, val3_4, val3_5)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6>
@NotNull Table<Record6<T1,T2,T3,T4,T5,T6>> values(Row6<T1,T2,T3,T4,T5,T6>... rows)
Create a VALUES()
expression of degree 6
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7>
@NotNull Table<Record7<T1,T2,T3,T4,T5,T6,T7>> values(Row7<T1,T2,T3,T4,T5,T6,T7>... rows)
Create a VALUES()
expression of degree 7
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8>
@NotNull Table<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> values(Row8<T1,T2,T3,T4,T5,T6,T7,T8>... rows)
Create a VALUES()
expression of degree 8
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9>
@NotNull Table<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> values(Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9>... rows)
Create a VALUES()
expression of degree 9
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10>
@NotNull Table<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> values(Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>... rows)
Create a VALUES()
expression of degree 10
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11>
@NotNull Table<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> values(Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>... rows)
Create a VALUES()
expression of degree 11
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12>
@NotNull Table<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> values(Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>... rows)
Create a VALUES()
expression of degree 12
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13>
@NotNull Table<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> values(Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>... rows)
Create a VALUES()
expression of degree 13
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14>
@NotNull Table<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> values(Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>... rows)
Create a VALUES()
expression of degree 14
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15>
@NotNull Table<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> values(Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>... rows)
Create a VALUES()
expression of degree 15
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16>
@NotNull Table<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> values(Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>... rows)
Create a VALUES()
expression of degree 16
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17>
@NotNull Table<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> values(Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>... rows)
Create a VALUES()
expression of degree 17
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18>
@NotNull Table<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> values(Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>... rows)
Create a VALUES()
expression of degree 18
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17, val1_18),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17, val2_18),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17, val3_18)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" , "c18" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19>
@NotNull Table<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> values(Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>... rows)
Create a VALUES()
expression of degree 19
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17, val1_18, val1_19),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17, val2_18, val2_19),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17, val3_18, val3_19)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" , "c18" , "c19" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20>
@NotNull Table<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> values(Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>... rows)
Create a VALUES()
expression of degree 20
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17, val1_18, val1_19, val1_20),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17, val2_18, val2_19, val2_20),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17, val3_18, val3_19, val3_20)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" , "c18" , "c19" , "c20" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21>
@NotNull Table<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> values(Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>... rows)
Create a VALUES()
expression of degree 21
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17, val1_18, val1_19, val1_20, val1_21),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17, val2_18, val2_19, val2_20, val2_21),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17, val3_18, val3_19, val3_20, val3_21)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" , "c18" , "c19" , "c20" , "c21" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
values
@SafeVarargs
@NotNull
@Support
public static <T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22>
@NotNull Table<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> values(Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>... rows)
Create a VALUES()
expression of degree 22
.
The VALUES()
constructor is a tool supported by some
databases to allow for constructing tables from constant values.
If a database doesn't support the VALUES()
constructor, it
can be emulated using SELECT .. UNION ALL ..
. The following
expressions are equivalent:
-- Using VALUES() constructor
VALUES(val1_1, val1_2, val1_3, val1_4, val1_5, val1_6, val1_7, val1_8, val1_9, val1_10, val1_11, val1_12, val1_13, val1_14, val1_15, val1_16, val1_17, val1_18, val1_19, val1_20, val1_21, val1_22),
(val2_1, val2_2, val2_3, val2_4, val2_5, val2_6, val2_7, val2_8, val2_9, val2_10, val2_11, val2_12, val2_13, val2_14, val2_15, val2_16, val2_17, val2_18, val2_19, val2_20, val2_21, val2_22),
(val3_1, val3_2, val3_3, val3_4, val3_5, val3_6, val3_7, val3_8, val3_9, val3_10, val3_11, val3_12, val3_13, val3_14, val3_15, val3_16, val3_17, val3_18, val3_19, val3_20, val3_21, val3_22)
AS "v"("c1" , "c2" , "c3" , "c4" , "c5" , "c6" , "c7" , "c8" , "c9" , "c10" , "c11" , "c12" , "c13" , "c14" , "c15" , "c16" , "c17" , "c18" , "c19" , "c20" , "c21" , "c22" )
-- Using UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21", val1_22 AS "c22") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21", val1_22 AS "c22") UNION ALL
SELECT val1_1 AS "c1", val1_2 AS "c2", val1_3 AS "c3", val1_4 AS "c4", val1_5 AS "c5", val1_6 AS "c6", val1_7 AS "c7", val1_8 AS "c8", val1_9 AS "c9", val1_10 AS "c10", val1_11 AS "c11", val1_12 AS "c12", val1_13 AS "c13", val1_14 AS "c14", val1_15 AS "c15", val1_16 AS "c16", val1_17 AS "c17", val1_18 AS "c18", val1_19 AS "c19", val1_20 AS "c20", val1_21 AS "c21", val1_22 AS "c22")
Use Table.as(String, String...)
to rename the resulting table and
its columns.
-
nullSafe
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafe
@Deprecated(forRemoval=true,
since="3.15")
protected static <T> Field<T> nullSafe(Field<T> field,
DataType<?> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafe
@Deprecated(forRemoval=true,
since="3.15")
protected static Field<?>[] nullSafe(Field<?>... fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafe
@Deprecated(forRemoval=true,
since="3.15")
protected static Field<?>[] nullSafe(Field<?>[] fields,
DataType<?> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafeList
@Deprecated(forRemoval=true,
since="3.15")
protected static List<Field<?>> nullSafeList(Field<?>... fields)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafeList
@Deprecated(forRemoval=true,
since="3.15")
protected static List<Field<?>> nullSafeList(Field<?>[] fields,
DataType<?> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
nullSafeDataType
@Deprecated(forRemoval=true,
since="3.15")
protected static <T> DataType<T> nullSafeDataType(Field<T> field)
Deprecated, for removal: This API element is subject to removal in a future version.
- [#11092] - 3.15.0 - This method will be removed without
public replacement.
-
asterisk
The asterisk (*
) to be used in SELECT
clauses.
When using an asterisk, jOOQ will let the database server define the
order of columns, as well as which columns are included in the result
set. If using jOOQ with generated code, this may conflict with the column
set and its ordering as defined at code generation time, meaning columns
may be in a different order, there may be fewer or more columns than
expected. It is usually better to list columns explicitly.
-
zero
A 0
literal.
This is useful for mathematical functions or for
EXISTS (SELECT 0 ...)
or PARTITION BY 0
clauses
and similar constructs. The 0
literal will not generate a
bind variable.
- Returns:
- A
0
literal as a Field
-
one
A 1
literal.
This is useful for mathematical functions or for
EXISTS (SELECT 1 ...)
or PARTITION BY 1
clauses
and similar constructs. The 1
literal will not generate a
bind variable.
- Returns:
- A
1
literal as a Field
-
two
A 2
literal.
This is useful for mathematical functions. The 1
literal
will not generate a bind variable.
- Returns:
- A
2
literal as a Field
-
getDataType
@Deprecated(forRemoval=true,
since="3.11")
@NotNull
@Support
public static <T> @NotNull DataType<T> getDataType(Class<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.11.0 - [#7483] - The (indirect) use of the internal
static data type registry is not recommended.
Get the default data type for the DSLContext
's underlying
SQLDialect
and a given Java type.
- Type Parameters:
T
- The generic type
- Parameters:
type
- The Java type. This must be a type supported by
SQLDataType
.
- Returns:
- The
DSL
's underlying default data type.