- java.lang.Object
-
- org.jooq.impl.DSL
-
- Direct Known Subclasses:
AccessDSL,ASEDSL,CUBRIDDSL,DB2DSL,DerbyDSL,FirebirdDSL,H2DSL,HanaDSL,HSQLDBDSL,InformixDSL,IngresDSL,MariaDBDSL,MySQLDSL,OracleDSL,PostgresDSL,RedshiftDSL,SQLiteDSL,SQLServerDSL,SybaseDSL,VerticaDSL
public class DSL extends Object
A DSL "entry point" providing implementations to theorg.jooqinterfaces.The
DSLContextand thisDSLare 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 aFieldrepresenting a constant value, you can write:Field<String> field = DSL.val("Hello World")Another example is the
EXISTSclause, which you can apply to anySELECTto form aCondition:Condition condition = DSL.exists(DSL.select(...));
DSL and static imports
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();- Author:
- Lukas Eder
- See Also:
DSLContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDSL()No instances.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T extends Number>
@NotNull Field<T>abs(Field<T> field)Get the absolute value of a numeric field: abs(field).static <T extends Number>
@NotNull Field<T>abs(T value)Get the absolute value of a numeric field: abs(field).static @NotNull Field<BigDecimal>acos(Number value)Get the arc cosine(field) function.static @NotNull Field<BigDecimal>acos(Field<? extends Number> field)Get the arc cosine(field) function.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.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.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.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.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(Field<T[]> array)Create anALLquantified select to be used in quantified comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>all(Field<T>... fields)Create anALLquantified select to be used in quantified comparison predicate expressions.static <R extends Record>
@NotNull QuantifiedSelect<R>all(Select<R> select)Create anALLquantified select to be used in quantified comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>all(T... array)Create anALLquantified select to be used in quantified comparison predicate expressions.static AlterDatabaseStepalterDatabase(String database)TheALTER DATABASEstatement.static AlterDatabaseStepalterDatabase(Catalog database)TheALTER DATABASEstatement.static AlterDatabaseStepalterDatabase(Name database)TheALTER DATABASEstatement.static AlterDatabaseStepalterDatabaseIfExists(String database)TheALTER DATABASE IF EXISTSstatement.static AlterDatabaseStepalterDatabaseIfExists(Catalog database)TheALTER DATABASE IF EXISTSstatement.static AlterDatabaseStepalterDatabaseIfExists(Name database)TheALTER DATABASE IF EXISTSstatement.static <T> AlterDomainStep<T>alterDomain(String domain)TheALTER DOMAINstatement.static <T> AlterDomainStep<T>alterDomain(Domain<T> domain)TheALTER DOMAINstatement.static <T> AlterDomainStep<T>alterDomain(Name domain)TheALTER DOMAINstatement.static <T> AlterDomainStep<T>alterDomainIfExists(String domain)TheALTER DOMAIN IF EXISTSstatement.static <T> AlterDomainStep<T>alterDomainIfExists(Domain<T> domain)TheALTER DOMAIN IF EXISTSstatement.static <T> AlterDomainStep<T>alterDomainIfExists(Name domain)TheALTER DOMAIN IF EXISTSstatement.static @NotNull AlterIndexOnStepalterIndex(String index)Create a new DSLALTER INDEXstatement.static @NotNull AlterIndexOnStepalterIndex(Index index)Create a new DSLALTER INDEXstatement.static @NotNull AlterIndexOnStepalterIndex(Name index)Create a new DSLALTER INDEXstatement.static @NotNull AlterIndexStepalterIndexIfExists(String index)Create a new DSLALTER INDEXstatement.static @NotNull AlterIndexStepalterIndexIfExists(Index index)Create a new DSLALTER INDEXstatement.static @NotNull AlterIndexStepalterIndexIfExists(Name index)Create a new DSLALTER INDEXstatement.static AlterSchemaStepalterSchema(String schema)TheALTER SCHEMAstatement.static AlterSchemaStepalterSchema(Name schema)TheALTER SCHEMAstatement.static AlterSchemaStepalterSchema(Schema schema)TheALTER SCHEMAstatement.static AlterSchemaStepalterSchemaIfExists(String schema)TheALTER SCHEMA IF EXISTSstatement.static AlterSchemaStepalterSchemaIfExists(Name schema)TheALTER SCHEMA IF EXISTSstatement.static AlterSchemaStepalterSchemaIfExists(Schema schema)TheALTER SCHEMA IF EXISTSstatement.static @NotNull AlterSequenceStep<BigInteger>alterSequence(String sequence)Create a new DSLALTER SEQUENCEstatement.static @NotNull AlterSequenceStep<BigInteger>alterSequence(Name sequence)Create a new DSLALTER SEQUENCEstatement.static <T extends Number>
@NotNull AlterSequenceStep<T>alterSequence(Sequence<T> sequence)Create a new DSLALTER SEQUENCEstatement.static @NotNull AlterSequenceStep<BigInteger>alterSequenceIfExists(String sequence)Create a new DSLALTER SEQUENCEstatement.static @NotNull AlterSequenceStep<BigInteger>alterSequenceIfExists(Name sequence)Create a new DSLALTER SEQUENCEstatement.static <T extends Number>
@NotNull AlterSequenceStep<T>alterSequenceIfExists(Sequence<T> sequence)Create a new DSLALTER SEQUENCEstatement.static @NotNull AlterTableStepalterTable(String table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTableStepalterTable(Name table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTableStepalterTable(Table<?> table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTableStepalterTableIfExists(String table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTableStepalterTableIfExists(Name table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTableStepalterTableIfExists(Table<?> table)Create a new DSLALTER TABLEstatement.static @NotNull AlterTypeStepalterType(String type)Create a new DSLALTER TYPEstatement.static @NotNull AlterTypeStepalterType(Name type)Create a new DSLALTER TYPEstatement.static @NotNull AlterViewStepalterView(String view)Create a new DSLALTER VIEWstatement.static @NotNull AlterViewStepalterView(Name view)Create a new DSLALTER VIEWstatement.static @NotNull AlterViewStepalterView(Table<?> view)Create a new DSLALTER VIEWstatement.static @NotNull AlterViewStepalterViewIfExists(String view)Create a new DSLALTER VIEWstatement.static @NotNull AlterViewStepalterViewIfExists(Name view)Create a new DSLALTER VIEWstatement.static @NotNull AlterViewStepalterViewIfExists(Table<?> view)Create a new DSLALTER VIEWstatement.static @NotNull Conditionand(Collection<? extends Condition> conditions)static @NotNull Conditionand(Condition... conditions)static @NotNull Conditionand(Condition left, Condition right)static <T> @NotNull QuantifiedSelect<Record1<T>>any(Field<T[]> array)Create anANYquantified select to be used in quantified comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>any(Field<T>... fields)Create anANYquantified select to be used in quantified comparison predicate expressions.static <R extends Record>
@NotNull QuantifiedSelect<R>any(Select<R> select)Create anANYquantified select to be used in quantified comparison predicate expressions.static <T> @NotNull QuantifiedSelect<Record1<T>>any(T... array)Create anANYquantified select to be used in quantified comparison predicate expressions.static <T> @NotNull Field<T[]>array(Collection<? extends Field<T>> fields)Create an array literal.static <T> @NotNull Field<T[]>array(Field<T>... fields)Create an array literal.static <T> @NotNull Field<T[]>array(T... values)Create an array literal.static <T> @NotNull ArrayAggOrderByStep<T[]>arrayAgg(Field<T> field)Get thearray_agg()aggregate function.static <T> @NotNull ArrayAggOrderByStep<T[]>arrayAggDistinct(Field<T> field)Get thearray_agg()aggregate function.static <T> @NotNull Field<T>arrayGet(Field<T[]> field, int index)Get an array element at a given index (1 based)static <T> @NotNull Field<T>arrayGet(Field<T[]> field, Field<Integer> index)Get an array element at a given index (1 based)static @NotNull Field<Integer>ascii(String field)Get the ascii(field) function.static @NotNull Field<Integer>ascii(Field<String> field)Get the ascii(field) function.static @NotNull Field<BigDecimal>asin(Number value)Get the arc sine(field) function.static @NotNull Field<BigDecimal>asin(Field<? extends Number> field)Get the arc sine(field) function.static @NotNull Asteriskasterisk()The asterisk (*) to be used inSELECTclauses.static @NotNull Field<BigDecimal>atan(Number value)Get the arc tangent(field) function.static @NotNull Field<BigDecimal>atan(Field<? extends Number> field)Get the arc tangent(field) function.static @NotNull Field<BigDecimal>atan2(Number x, Number y)Get the atan2(field, y) function.static @NotNull Field<BigDecimal>atan2(Number x, Field<? extends Number> y)Get the atan2(field, y) function.static @NotNull Field<BigDecimal>atan2(Field<? extends Number> x, Number y)Get the atan2(field, y) function.static @NotNull Field<BigDecimal>atan2(Field<? extends Number> x, Field<? extends Number> y)Get the atan2(field, y) function.static @NotNull AggregateFunction<BigDecimal>avg(Field<? extends Number> field)Get the average over a numeric field: avg(field).static @NotNull AggregateFunction<BigDecimal>avgDistinct(Field<? extends Number> field)Get the average over a numeric field: avg(distinct field).static @NotNull Blockbegin(Collection<? extends Statement> statements)Wrap a collection of statements in an anonymous procedural block.static @NotNull Blockbegin(Statement... statements)Wrap a collection of statements in an anonymous procedural block.static <T extends Number>
@NotNull Field<T>bitAnd(Field<T> field1, Field<T> field2)The bitwise and operator.static <T extends Number>
@NotNull Field<T>bitAnd(Field<T> value1, T value2)The bitwise and operator.static <T extends Number>
@NotNull Field<T>bitAnd(T value1, Field<T> value2)The bitwise and operator.static <T extends Number>
@NotNull Field<T>bitAnd(T value1, T value2)The bitwise and operator.static @NotNull Field<Integer>bitCount(Number value)The MySQLBIT_COUNT(field)function, counting the number of bits that are set in this number.static @NotNull Field<Integer>bitCount(Field<? extends Number> field)The MySQLBIT_COUNT(field)function, counting the number of bits that are set in this number.static @NotNull Field<Integer>bitLength(String value)Get the bit_length(field) function.static @NotNull Field<Integer>bitLength(Field<String> field)Get the bit_length(field) function.static <T extends Number>
@NotNull Field<T>bitNand(Field<T> field1, Field<T> field2)The bitwise not and operator.static <T extends Number>
@NotNull Field<T>bitNand(Field<T> value1, T value2)The bitwise not and operator.static <T extends Number>
@NotNull Field<T>bitNand(T value1, Field<T> value2)The bitwise not and operator.static <T extends Number>
@NotNull Field<T>bitNand(T value1, T value2)The bitwise not and operator.static <T extends Number>
@NotNull Field<T>bitNor(Field<T> field1, Field<T> field2)The bitwise not or operator.static <T extends Number>
@NotNull Field<T>bitNor(Field<T> value1, T value2)The bitwise not or operator.static <T extends Number>
@NotNull Field<T>bitNor(T value1, Field<T> value2)The bitwise not or operator.static <T extends Number>
@NotNull Field<T>bitNor(T value1, T value2)The bitwise not or operator.static <T extends Number>
@NotNull Field<T>bitNot(Field<T> field)The bitwise not operator.static <T extends Number>
@NotNull Field<T>bitNot(T value)The bitwise not operator.static <T extends Number>
@NotNull Field<T>bitOr(Field<T> field1, Field<T> field2)The bitwise or operator.static <T extends Number>
@NotNull Field<T>bitOr(Field<T> value1, T value2)The bitwise or operator.static <T extends Number>
@NotNull Field<T>bitOr(T value1, Field<T> value2)The bitwise or operator.static <T extends Number>
@NotNull Field<T>bitOr(T value1, T value2)The bitwise or operator.static <T extends Number>
@NotNull Field<T>bitXNor(Field<T> field1, Field<T> field2)The bitwise not xor operator.static <T extends Number>
@NotNull Field<T>bitXNor(Field<T> value1, T value2)The bitwise not xor operator.static <T extends Number>
@NotNull Field<T>bitXNor(T value1, Field<T> value2)The bitwise not xor operator.static <T extends Number>
@NotNull Field<T>bitXNor(T value1, T value2)The bitwise not xor operator.static <T extends Number>
@NotNull Field<T>bitXor(Field<T> field1, Field<T> field2)The bitwise xor operator.static <T extends Number>
@NotNull Field<T>bitXor(Field<T> value1, T value2)The bitwise xor operator.static <T extends Number>
@NotNull Field<T>bitXor(T value1, Field<T> value2)The bitwise xor operator.static <T extends Number>
@NotNull Field<T>bitXor(T value1, T value2)The bitwise xor operator.static @NotNull AggregateFunction<Boolean>boolAnd(Condition condition)Get the every value over a condition: bool_and(condition).static @NotNull AggregateFunction<Boolean>boolAnd(Field<Boolean> field)Get the every value over a field: bool_and(field).static @NotNull AggregateFunction<Boolean>boolOr(Condition condition)Get the every value over a condition: bool_and(condition).static @NotNull AggregateFunction<Boolean>boolOr(Field<Boolean> field)Get the every value over a field: bool_and(field).static @NotNull Field<Integer>cardinality(Field<? extends Object[]> field)Calculate the cardinality of an array field.static @NotNull Casecase_()Initialise aCasestatement.static <V> @NotNull CaseValueStep<V>case_(Field<V> value)Initialise aCasestatement.static <V> @NotNull CaseValueStep<V>case_(V value)Initialise aCasestatement.static <T> @NotNull Field<T>cast(Object value, Class<T> type)Cast a value to another type.static <T> @NotNull Field<T>cast(Object value, DataType<T> type)Cast a value to another type.static <T> @NotNull Field<T>cast(Object value, Field<T> as)Cast a value to the type of another field.static <T> @NotNull Field<T>cast(Field<?> field, Class<T> type)Cast a field to another type.static <T> @NotNull Field<T>cast(Field<?> field, DataType<T> type)Cast a field to another type.static <T> @NotNull Field<T>cast(Field<?> field, Field<T> as)Cast a field to the type of another field.static <T> @NotNull Field<T>castNull(Class<T> type)Cast null to a type.static <T> @NotNull Field<T>castNull(DataType<T> type)Cast null to a type.static <T> @NotNull Field<T>castNull(Field<T> as)Cast null to the type of another field.static @NotNull Catalogcatalog(String name)Create a qualified catalog, given its catalog name.static @NotNull Catalogcatalog(Name name)Create a qualified catalog, given its catalog name.static <T extends Number>
@NotNull Field<T>ceil(Field<T> field)Get the smallest integer value not less than [field].static <T extends Number>
@NotNull Field<T>ceil(T value)Get the smallest integer value not less than [this].static @NotNull Field<Integer>century(Temporal value)Get the century of a date.static @NotNull Field<Integer>century(Date value)Get the century of a date.static @NotNull Field<Integer>century(Field<?> field)Get the century of a date.static @NotNull CharacterSetcharacterSet(String characterSet)Create a character set by its unqualified name.static @NotNull CharacterSetcharacterSet(Name characterSet)Create a character set by its qualified name.static @NotNull Field<Integer>charLength(String value)Get the char_length(field) function.static @NotNull Field<Integer>charLength(Field<String> field)Get the char_length(field) function.static @NotNull ConstraintEnforcementStepcheck(Condition condition)Create an unnamed (system named)CHECKconstraint.static @NotNull Casechoose()Initialise aCasestatement.static <T> @NotNull Field<T>choose(int index, Field<T>... values)The T-SQLCHOOSE()function.static <T> @NotNull Field<T>choose(int index, T... values)The T-SQLCHOOSE()function.static <T> @NotNull Field<T>choose(Field<Integer> index, Field<T>... values)The T-SQLCHOOSE()function.static <T> @NotNull Field<T>choose(Field<Integer> index, T... values)The T-SQLCHOOSE()function.static <V> @NotNull CaseValueStep<V>choose(Field<V> value)Initialise aCasestatement.static <V> @NotNull CaseValueStep<V>choose(V value)Initialise aCasestatement.static <T> @NotNull Field<T>coalesce(Field<T> field, Field<?>... fields)TheCOALESCE(field1, field2, ...static <T> @NotNull Field<T>coalesce(Field<T> field, T value)TheCOALESCE(field, value)function.static <T> @NotNull Field<T>coalesce(T value, T... values)TheCOALESCE(value1, value2, ...static <T> @NotNull Field<T>coerce(Object value, Class<T> as)Coerce this field to another type.static <T> @NotNull Field<T>coerce(Object value, DataType<T> as)Coerce a field to another type.static <T> @NotNull Field<T>coerce(Object value, Field<T> as)Coerce this field to the type of another field.static <T> @NotNull Field<T>coerce(Field<?> field, Class<T> as)Coerce this field to another type.static <T> @NotNull Field<T>coerce(Field<?> field, DataType<T> as)Coerce a field to another type.static <T> @NotNull Field<T>coerce(Field<?> field, Field<T> as)Coerce this field to the type of another field.static @NotNull Collationcollation(String collation)Create a collation by its unqualified name.static @NotNull Collationcollation(Name collation)Create a collation by its qualified name.static <T,A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>collect(Field<T> field, Class<A> type)Get thecollect()aggregate function.static <T,A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>collect(Field<T> field, DataType<A> type)Get thecollect()aggregate function.static <T,A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>collectDistinct(Field<T> field, Class<A> type)Get thecollect()aggregate function.static <T,A extends ArrayRecord<T>>
@NotNull ArrayAggOrderByStep<A>collectDistinct(Field<T> field, DataType<A> type)Get thecollect()aggregate function.static @NotNull Commentcomment(String comment)Create a comment.static @NotNull CommentOnIsStepcommentOnColumn(Field<?> field)Create a new DSLCOMMENT ON COLUMNstatement.static @NotNull CommentOnIsStepcommentOnColumn(Name columnName)Create a new DSLCOMMENT ON COLUMNstatement.static @NotNull CommentOnIsStepcommentOnTable(String tableName)Create a new DSLCOMMENT ON TABLEstatement.static @NotNull CommentOnIsStepcommentOnTable(Name tableName)Create a new DSLCOMMENT ON TABLEstatement.static @NotNull CommentOnIsStepcommentOnTable(Table<?> table)Create a new DSLCOMMENT ON TABLEstatement.static @NotNull CommentOnIsStepcommentOnView(String viewName)Create a new DSLCOMMENT ON VIEWstatement.static @NotNull CommentOnIsStepcommentOnView(Name viewName)Create a new DSLCOMMENT ON VIEWstatement.static @NotNull CommentOnIsStepcommentOnView(Table<?> view)Create a new DSLCOMMENT ON VIEWstatement.static @NotNull Field<String>concat(String... values)Get the concat(value[, value, ...]) function.static @NotNull Field<String>concat(String value, Field<String> field)Get theconcat(value, field)function.static @NotNull Field<String>concat(Field<?>... fields)Get the concat(field[, field, ...]) function.static @NotNull Field<String>concat(Field<String> field, String value)Get theconcat(field, value)function.static @NotNull Conditioncondition(Boolean value)Create a condition from a boolean field.static @NotNull Conditioncondition(String sql)Create a new condition holding plain SQL.static @NotNull Conditioncondition(String sql, Object... bindings)Create a new condition holding plain SQL.static @NotNull Conditioncondition(String sql, QueryPart... parts)A custom SQL clause that can render arbitrary SQL elements.static @NotNull Conditioncondition(Map<Field<?>,?> map)Create a condition from a map.static @NotNull Conditioncondition(Field<Boolean> field)Create a condition from a boolean field.static @NotNull Conditioncondition(Operator operator, Collection<? extends Condition> conditions)Return aConditionthat connects all argumentconditionswithOperator.static @NotNull Conditioncondition(Operator operator, Condition... conditions)Return aConditionthat connects all argumentconditionswithOperator.static @NotNull Conditioncondition(Operator operator, Condition left, Condition right)Return aConditionthat connects all argumentconditionswithOperator.static @NotNull Conditioncondition(Record record)static @NotNull Conditioncondition(SQL sql)Create a new condition holding plain SQL.static @NotNull Field<Boolean>connectByIsCycle()Retrieve the Oracle-specificCONNECT_BY_ISCYCLEpseudo-field (to be used along withCONNECT BYclauses).static @NotNull Field<Boolean>connectByIsLeaf()Retrieve the Oracle-specificCONNECT_BY_ISLEAFpseudo-field (to be used along withCONNECT BYclauses).static <T> @NotNull Field<T>connectByRoot(Field<T> field)Retrieve the Oracle-specificCONNECT_BY_ROOTpseudo-column (to be used along withCONNECT BYclauses).static @NotNull ConstraintTypeStepconstraint()Create an unnamed (system named)CONSTRAINTspecification.static @NotNull ConstraintTypeStepconstraint(String name)Create aCONSTRAINTspecification.static @NotNull ConstraintTypeStepconstraint(Name name)Create aCONSTRAINTspecification.static @NotNull ContinueWhenStepcontinue_()Create anCONTINUEstatement for use in procedural code.static @NotNull ContinueWhenStepcontinue_(Label label)Create anCONTINUEstatement for use in procedural code.static @NotNull StatementcontinueWhen(Condition condition)Create anCONTINUEstatement for use in procedural code.static @NotNull StatementcontinueWhen(Field<Boolean> condition)Create anCONTINUEstatement for use in procedural code.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 styleCONVERT()function.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 styleCONVERT()function.static @NotNull Field<BigDecimal>cos(Number value)Get the cosine(field) function.static @NotNull Field<BigDecimal>cos(Field<? extends Number> field)Get the cosine(field) function.static @NotNull Field<BigDecimal>cosh(Number value)Get the hyperbolic cosine function: cosh(field).static @NotNull Field<BigDecimal>cosh(Field<? extends Number> field)Get the hyperbolic cosine function: cosh(field).static @NotNull Field<BigDecimal>cot(Number value)Get the cotangent(field) function.static @NotNull Field<BigDecimal>cot(Field<? extends Number> field)Get the cotangent(field) function.static @NotNull Field<BigDecimal>coth(Number value)Get the hyperbolic cotangent function: coth(field).static @NotNull Field<BigDecimal>coth(Field<? extends Number> field)Get the hyperbolic cotangent function: coth(field).static @NotNull AggregateFunction<Integer>count()Get the count(*) function.static @NotNull AggregateFunction<Integer>count(Field<?> field)Get the count(field) function.static @NotNull AggregateFunction<Integer>count(SelectFieldOrAsterisk field)Get the count(field) function.static @NotNull AggregateFunction<Integer>count(Table<?> table)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 CreateDatabaseFinalStepcreateDatabase(String database)TheCREATE DATABASEstatement.static CreateDatabaseFinalStepcreateDatabase(Catalog database)TheCREATE DATABASEstatement.static CreateDatabaseFinalStepcreateDatabase(Name database)TheCREATE DATABASEstatement.static CreateDatabaseFinalStepcreateDatabaseIfNotExists(String database)TheCREATE DATABASE IF NOT EXISTSstatement.static CreateDatabaseFinalStepcreateDatabaseIfNotExists(Catalog database)TheCREATE DATABASE IF NOT EXISTSstatement.static CreateDatabaseFinalStepcreateDatabaseIfNotExists(Name database)TheCREATE DATABASE IF NOT EXISTSstatement.static CreateDomainAsStepcreateDomain(String domain)TheCREATE DOMAINstatement.static CreateDomainAsStepcreateDomain(Domain<?> domain)TheCREATE DOMAINstatement.static CreateDomainAsStepcreateDomain(Name domain)TheCREATE DOMAINstatement.static CreateDomainAsStepcreateDomainIfNotExists(String domain)TheCREATE DOMAIN IF NOT EXISTSstatement.static CreateDomainAsStepcreateDomainIfNotExists(Domain<?> domain)TheCREATE DOMAIN IF NOT EXISTSstatement.static CreateDomainAsStepcreateDomainIfNotExists(Name domain)TheCREATE DOMAIN IF NOT EXISTSstatement.static @NotNull CreateTableColumnStepcreateGlobalTemporaryTable(String table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateGlobalTemporaryTable(Name table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateGlobalTemporaryTable(Table<?> table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.static @NotNull CreateIndexStepcreateIndex()Create a new DSLCREATE INDEXstatement.static @NotNull CreateIndexStepcreateIndex(String index)Create a new DSLCREATE INDEXstatement.static @NotNull CreateIndexStepcreateIndex(Index index)Create a new DSLCREATE INDEXstatement.static @NotNull CreateIndexStepcreateIndex(Name index)Create a new DSLCREATE INDEXstatement.static @NotNull CreateIndexStepcreateIndexIfNotExists(String index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.static @NotNull CreateIndexStepcreateIndexIfNotExists(Index index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.static @NotNull CreateIndexStepcreateIndexIfNotExists(Name index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.static @NotNull CreateViewAsStepcreateOrReplaceView(String view, String... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.static @NotNull CreateViewAsStepcreateOrReplaceView(String view, Function<? super Field<?>,? extends String> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateOrReplaceView(Name view, Function<? super Field<?>,? extends Name> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateOrReplaceView(Name view, Name... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.static @NotNull CreateViewAsStepcreateOrReplaceView(Table<?> view, Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateOrReplaceView(Table<?> view, Field<?>... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.static CreateSchemaFinalStepcreateSchema(String schema)TheCREATE SCHEMAstatement.static CreateSchemaFinalStepcreateSchema(Name schema)TheCREATE SCHEMAstatement.static CreateSchemaFinalStepcreateSchema(Schema schema)TheCREATE SCHEMAstatement.static CreateSchemaFinalStepcreateSchemaIfNotExists(String schema)TheCREATE SCHEMA IF NOT EXISTSstatement.static CreateSchemaFinalStepcreateSchemaIfNotExists(Name schema)TheCREATE SCHEMA IF NOT EXISTSstatement.static CreateSchemaFinalStepcreateSchemaIfNotExists(Schema schema)TheCREATE SCHEMA IF NOT EXISTSstatement.static CreateSequenceFlagsStepcreateSequence(String sequence)TheCREATE SEQUENCEstatement.static CreateSequenceFlagsStepcreateSequence(Name sequence)TheCREATE SEQUENCEstatement.static CreateSequenceFlagsStepcreateSequence(Sequence<?> sequence)TheCREATE SEQUENCEstatement.static CreateSequenceFlagsStepcreateSequenceIfNotExists(String sequence)TheCREATE SEQUENCE IF NOT EXISTSstatement.static CreateSequenceFlagsStepcreateSequenceIfNotExists(Name sequence)TheCREATE SEQUENCE IF NOT EXISTSstatement.static CreateSequenceFlagsStepcreateSequenceIfNotExists(Sequence<?> sequence)TheCREATE SEQUENCE IF NOT EXISTSstatement.static @NotNull CreateTableColumnStepcreateTable(String table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTable(Name table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTable(Table<?> table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTableIfNotExists(String table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTableIfNotExists(Name table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTableIfNotExists(Table<?> table)Create a new DSLCREATE TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTable(String table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTable(Name table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTable(Table<?> table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTableIfNotExists(String table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTableIfNotExists(Name table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTableColumnStepcreateTemporaryTableIfNotExists(Table<?> table)Create a new DSLCREATE TEMPORARY TABLEstatement.static @NotNull CreateTypeStepcreateType(String type)Create a new DSLCREATE TYPEstatement.static @NotNull CreateTypeStepcreateType(Name type)Create a new DSLCREATE TYPEstatement.static @NotNull CreateIndexStepcreateUniqueIndex()Create a new DSLCREATE UNIQUE INDEXstatement.static @NotNull CreateIndexStepcreateUniqueIndex(String index)Create a new DSLCREATE UNIQUE INDEXstatement.static @NotNull CreateIndexStepcreateUniqueIndex(Index index)Create a new DSLCREATE UNIQUE INDEXstatement.static @NotNull CreateIndexStepcreateUniqueIndex(Name index)Create a new DSLCREATE UNIQUE INDEXstatement.static @NotNull CreateIndexStepcreateUniqueIndexIfNotExists(String index)Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.static @NotNull CreateIndexStepcreateUniqueIndexIfNotExists(Index index)Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.static @NotNull CreateIndexStepcreateUniqueIndexIfNotExists(Name index)Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.static @NotNull CreateViewAsStepcreateView(String view, String... fields)Create a new DSLCREATE VIEWstatement.static @NotNull CreateViewAsStepcreateView(String view, Function<? super Field<?>,? extends String> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateView(Name view, Function<? super Field<?>,? extends Name> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateView(Name view, Name... fields)Create a new DSLCREATE VIEWstatement.static @NotNull CreateViewAsStepcreateView(Table<?> view, Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateView(Table<?> view, Field<?>... fields)Create a new DSLCREATE VIEWstatement.static @NotNull CreateViewAsStepcreateViewIfNotExists(String view, String... fields)Create a new DSLCREATE VIEW IF NOT EXISTSstatement.static @NotNull CreateViewAsStepcreateViewIfNotExists(String view, Function<? super Field<?>,? extends String> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateViewIfNotExists(Name view, Function<? super Field<?>,? extends Name> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateViewIfNotExists(Name view, Name... fields)Create a new DSLCREATE VIEW IF NOT EXISTSstatement.static @NotNull CreateViewAsStepcreateViewIfNotExists(Table<?> view, Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull CreateViewAsStepcreateViewIfNotExists(Table<?> view, Field<?>... fields)Create a new DSLCREATE VIEW IF NOT EXISTSstatement.static @NotNull GroupFieldcube(Field<?>... fields)Create a CUBE(field1, field2, .., fieldn) grouping field.static @NotNull GroupFieldcube(FieldOrRow... fields)Create a CUBE(field1, field2, .., fieldn) grouping field.static @NotNull WindowOverStep<BigDecimal>cumeDist()Thecume_dist() over ([analytic clause])function.static @NotNull OrderedAggregateFunction<BigDecimal>cumeDist(Collection<? extends Field<?>> fields)Thecume_dist(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull OrderedAggregateFunction<BigDecimal>cumeDist(Field<?>... fields)Thecume_dist(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull Field<Date>currentDate()Get the current_date() function returning a SQL standardSQLDataType.DATEtype.static @NotNull Field<Instant>currentInstant()Get the current_timestamp() function.static @NotNull Field<LocalDate>currentLocalDate()Get the current_date() function returning a SQL standardSQLDataType.DATEtype.static @NotNull Field<LocalDateTime>currentLocalDateTime()Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype.static @NotNull Field<LocalTime>currentLocalTime()Get the current_time() function returning a SQL standardSQLDataType.TIMEtype.static @NotNull Field<OffsetDateTime>currentOffsetDateTime()Get the current_timestamp() function.static @NotNull Field<OffsetTime>currentOffsetTime()Get the current_time() function.static @NotNull Field<String>currentSchema()Get thecurrent_schema()function.static @NotNull Field<Time>currentTime()Get the current_time() function returning a SQL standardSQLDataType.TIMEtype.static @NotNull Field<Timestamp>currentTimestamp()Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype.static @NotNull Field<Timestamp>currentTimestamp(Field<Integer> precision)Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype with the specified fractional seconds precision.static @NotNull Field<String>currentUser()Get thecurrent_user()function.static @NotNull Field<Date>date(String value)Convert a string value to aDATE.static @NotNull Field<Date>date(Date value)Convert a temporal value to aDATE.static @NotNull Field<Date>date(Field<? extends Date> field)Convert a temporal value to aDATE.static @NotNull Field<Date>dateAdd(Date date, Number interval)Add an interval to a date.static @NotNull Field<Date>dateAdd(Date date, Number interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<Date>dateAdd(Date date, Field<? extends Number> interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<Date>dateAdd(Field<Date> date, Number interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<Date>dateAdd(Field<Date> date, Field<? extends Number> interval)Add an interval to a date.static @NotNull Field<Date>dateAdd(Field<Date> date, Field<? extends Number> interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<Integer>dateDiff(Date endDate, Date startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>dateDiff(Date endDate, Field<Date> startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>dateDiff(DatePart part, Date startDate, Date endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>dateDiff(DatePart part, Date startDate, Field<Date> endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>dateDiff(DatePart part, Field<Date> startDate, Date endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>dateDiff(DatePart part, Field<Date> startDate, Field<Date> endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>dateDiff(Field<Date> endDate, Date startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>dateDiff(Field<Date> endDate, Field<Date> startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Date>dateSub(Date date, Number interval)Subtract an interval from a date.static @NotNull Field<Date>dateSub(Date date, Number interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<Date>dateSub(Date date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<Date>dateSub(Field<Date> date, Number interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<Date>dateSub(Field<Date> date, Field<? extends Number> interval)Subtract an interval from a date.static @NotNull Field<Date>dateSub(Field<Date> date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<Integer>day(Temporal value)Get the day part of a date.static @NotNull Field<Integer>day(Date value)Get the day part of a date.static @NotNull Field<Integer>day(Field<?> field)Get the day part of a date.static @NotNull Field<Integer>dayOfWeek(Temporal value)Get the day of week part of a date.static @NotNull Field<Integer>dayOfWeek(Date value)Get the day of week part of a date.static @NotNull Field<Integer>dayOfWeek(Field<?> field)Get the day of week part of a date.static @NotNull Field<Integer>dayOfYear(Temporal value)Get the day of week part of a date.static @NotNull Field<Integer>dayOfYear(Date value)Get the day of week part of a date.static @NotNull Field<Integer>dayOfYear(Field<?> field)Get the day of week part of a date.static @NotNull Field<Integer>decade(Temporal value)Get the decade of a date.static @NotNull Field<Integer>decade(Date value)Get the decade of a date.static @NotNull Field<Integer>decade(Field<?> field)Get the decade of a date.static <T> @NotNull Declaration<T>declare(Variable<T> variable)Create a local variable declaration for use in procedural code.static @NotNull Casedecode()Initialise aCasestatement.static <Z,T>
@NotNull Field<Z>decode(Field<T> value, Field<T> search, Field<Z> result)Gets the Oracle-styleDECODE(expression, search, result[, search , result]...static <Z,T>
@NotNull Field<Z>decode(Field<T> value, Field<T> search, Field<Z> result, Field<?>... more)Gets the Oracle-styleDECODE(expression, search, result[, search , result]...static <Z,T>
@NotNull Field<Z>decode(T value, T search, Z result)Gets the Oracle-styleDECODE(expression, search, result[, search , result]...static <Z,T>
@NotNull Field<Z>decode(T value, T search, Z result, Object... more)Gets the Oracle-styleDECODE(expression, search, result[, search , result]...static @NotNull Field<Object>default_()Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>default_(Class<T> type)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>default_(DataType<T> type)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>default_(Field<T> field)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static @NotNull Field<Object>defaultValue()Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>defaultValue(Class<T> type)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>defaultValue(DataType<T> type)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static <T> @NotNull Field<T>defaultValue(Field<T> field)Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.static @NotNull Field<BigDecimal>deg(Number value)Calculate degrees from radians from this field.static @NotNull Field<BigDecimal>deg(Field<? extends Number> field)Calculate degrees from radians from this field.static <R extends Record>
@NotNull DeleteUsingStep<R>delete(Table<R> table)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 WindowOverStep<Integer>denseRank()Thedense_rank() over ([analytic clause])function.static @NotNull OrderedAggregateFunction<Integer>denseRank(Collection<? extends Field<?>> fields)Thedense_rank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull OrderedAggregateFunction<Integer>denseRank(Field<?>... fields)Thedense_rank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull Domain<?>domain(String name)Create aDOMAINreference.static @NotNull Domain<?>domain(Name name)Create aDOMAINreference.static DropDatabaseFinalStepdropDatabase(String database)TheDROP DATABASEstatement.static DropDatabaseFinalStepdropDatabase(Catalog database)TheDROP DATABASEstatement.static DropDatabaseFinalStepdropDatabase(Name database)TheDROP DATABASEstatement.static DropDatabaseFinalStepdropDatabaseIfExists(String database)TheDROP DATABASE IF EXISTSstatement.static DropDatabaseFinalStepdropDatabaseIfExists(Catalog database)TheDROP DATABASE IF EXISTSstatement.static DropDatabaseFinalStepdropDatabaseIfExists(Name database)TheDROP DATABASE IF EXISTSstatement.static DropDomainCascadeStepdropDomain(String domain)TheDROP DOMAINstatement.static DropDomainCascadeStepdropDomain(Domain<?> domain)TheDROP DOMAINstatement.static DropDomainCascadeStepdropDomain(Name domain)TheDROP DOMAINstatement.static DropDomainCascadeStepdropDomainIfExists(String domain)TheDROP DOMAIN IF EXISTSstatement.static DropDomainCascadeStepdropDomainIfExists(Domain<?> domain)TheDROP DOMAIN IF EXISTSstatement.static DropDomainCascadeStepdropDomainIfExists(Name domain)TheDROP DOMAIN IF EXISTSstatement.static @NotNull DropIndexOnStepdropIndex(String index)Create a new DSLDROP INDEXstatement.static @NotNull DropIndexOnStepdropIndex(Index index)Create a new DSLDROP INDEXstatement.static @NotNull DropIndexOnStepdropIndex(Name index)Create a new DSLDROP INDEXstatement.static @NotNull DropIndexOnStepdropIndexIfExists(String index)Create a new DSLDROP INDEX IF EXISTSstatement.static @NotNull DropIndexOnStepdropIndexIfExists(Index index)Create a new DSLDROP INDEX IF EXISTSstatement.static @NotNull DropIndexOnStepdropIndexIfExists(Name index)Create a new DSLDROP INDEX IF EXISTSstatement.static DropSchemaStepdropSchema(String schema)TheDROP SCHEMAstatement.static DropSchemaStepdropSchema(Name schema)TheDROP SCHEMAstatement.static DropSchemaStepdropSchema(Schema schema)TheDROP SCHEMAstatement.static DropSchemaStepdropSchemaIfExists(String schema)TheDROP SCHEMA IF EXISTSstatement.static DropSchemaStepdropSchemaIfExists(Name schema)TheDROP SCHEMA IF EXISTSstatement.static DropSchemaStepdropSchemaIfExists(Schema schema)TheDROP SCHEMA IF EXISTSstatement.static DropSequenceFinalStepdropSequence(String sequence)TheDROP SEQUENCEstatement.static DropSequenceFinalStepdropSequence(Name sequence)TheDROP SEQUENCEstatement.static DropSequenceFinalStepdropSequence(Sequence<?> sequence)TheDROP SEQUENCEstatement.static DropSequenceFinalStepdropSequenceIfExists(String sequence)TheDROP SEQUENCE IF EXISTSstatement.static DropSequenceFinalStepdropSequenceIfExists(Name sequence)TheDROP SEQUENCE IF EXISTSstatement.static DropSequenceFinalStepdropSequenceIfExists(Sequence<?> sequence)TheDROP SEQUENCE IF EXISTSstatement.static @NotNull DropTableStepdropTable(String table)Create a new DSLDROP TABLEstatement.static @NotNull DropTableStepdropTable(Name table)Create a new DSLDROP TABLEstatement.static @NotNull DropTableStepdropTable(Table<?> table)Create a new DSLDROP TABLEstatement.static @NotNull DropTableStepdropTableIfExists(String table)Create a new DSLDROP TABLE IF EXISTSstatement.static @NotNull DropTableStepdropTableIfExists(Name table)Create a new DSLDROP TABLE IF EXISTSstatement.static @NotNull DropTableStepdropTableIfExists(Table<?> table)Create a new DSLDROP TABLE IF EXISTSstatement.static @NotNull DropTableStepdropTemporaryTable(String table)Create a new DSLDROP TEMPORARY TABLEstatement.static @NotNull DropTableStepdropTemporaryTable(Name table)Create a new DSLDROP TEMPORARY TABLEstatement.static @NotNull DropTableStepdropTemporaryTable(Table<?> table)Create a new DSLDROP TEMPORARY TABLEstatement.static @NotNull DropTableStepdropTemporaryTableIfExists(String table)Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.static @NotNull DropTableStepdropTemporaryTableIfExists(Name table)Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.static @NotNull DropTableStepdropTemporaryTableIfExists(Table<?> table)Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.static @NotNull DropTypeStepdropType(String type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropType(String... type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropType(Collection<?> type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropType(Name type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropType(Name... type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropTypeIfExists(String type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropTypeIfExists(String... type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropTypeIfExists(Collection<?> type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropTypeIfExists(Name type)Create a new DSLDROP TYPEstatement.static @NotNull DropTypeStepdropTypeIfExists(Name... type)Create a new DSLDROP TYPEstatement.static @NotNull DropViewFinalStepdropView(String view)Create a new DSLDROP VIEWstatement.static @NotNull DropViewFinalStepdropView(Name view)Create a new DSLDROP VIEWstatement.static @NotNull DropViewFinalStepdropView(Table<?> view)Create a new DSLDROP VIEWstatement.static @NotNull DropViewFinalStepdropViewIfExists(String view)Create a new DSLDROP VIEW IF EXISTSstatement.static @NotNull DropViewFinalStepdropViewIfExists(Name view)Create a new DSLDROP VIEW IF EXISTSstatement.static @NotNull DropViewFinalStepdropViewIfExists(Table<?> view)Create a new DSLDROP VIEW IF EXISTSstatement.static @NotNull Table<Record>dual()TheDUALtable to be used for syntactic completeness.static @NotNull Field<BigDecimal>e()TheEliteral (Euler number).static @NotNull Field<Integer>epoch(Temporal value)Get the epoch of a date.static @NotNull Field<Integer>epoch(Date value)Get the epoch of a date.static @NotNull Field<Integer>epoch(Field<?> field)Get the epoch of a date.static @NotNull Stringescape(String value, char escape)Convenience method forreplace(Field, String, String)to escape data for use withField.like(Field, char).static @NotNull Field<String>escape(Field<String> field, char escape)Convenience method forreplace(Field, String, String)to escape data for use withField.like(Field, char).static @NotNull AggregateFunction<Boolean>every(Condition condition)Get the every value over a condition: every(condition).static @NotNull AggregateFunction<Boolean>every(Field<Boolean> field)Get the every value over a field: every(field).static @NotNull Statementexecute(String sql)Execute a statement dynamically from within procedural code.static @NotNull Statementexecute(Field<String> sql)Execute a statement dynamically from within procedural code.static @NotNull Statementexecute(Query sql)Execute a statement dynamically from within procedural code.static @NotNull Conditionexists(Select<?> query)Create an exists condition.static @NotNull ExitWhenStepexit()Create anEXITstatement for use in procedural code.static @NotNull ExitWhenStepexit(Label label)Create anEXITstatement for use in procedural code.static @NotNull StatementexitWhen(Condition condition)Create anEXITstatement for use in procedural code.static @NotNull StatementexitWhen(Field<Boolean> condition)Create anEXITstatement for use in procedural code.static @NotNull Field<BigDecimal>exp(Number value)Get the exp(field) function, taking this field as the power of e.static @NotNull Field<BigDecimal>exp(Field<? extends Number> field)Get the exp(field) function, taking this field as the power of e.static @NotNull Field<Integer>extract(Temporal value, DatePart datePart)Get the extract(field, datePart) function.static @NotNull Field<Integer>extract(Date value, DatePart datePart)Get the extract(field, datePart) function.static @NotNull Field<Integer>extract(Field<?> field, DatePart datePart)Get the extract(field, datePart) function.static @NotNull FalsefalseCondition()Return aConditionthat will always evaluate to false.static @NotNull Field<Object>field(String sql)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, Class<T> type)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, Class<T> type, Object... bindings)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, Class<T> type, QueryPart... parts)A custom SQL clause that can render arbitrary SQL elements.static @NotNull Field<Object>field(String sql, Object... bindings)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, DataType<T> type)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, DataType<T> type, Object... bindings)Create a "plain SQL" field.static <T> @NotNull Field<T>field(String sql, DataType<T> type, QueryPart... parts)Create a "plain SQL" field.static @NotNull Field<Object>field(String sql, QueryPart... parts)A custom SQL clause that can render arbitrary SQL elements.static @NotNull Field<Boolean>field(Condition condition)Transform a condition into a boolean field.static @NotNull Field<Object>field(Name name)Create a qualified field, given its (qualified) field name.static <T> @NotNull Field<T>field(Name name, Class<T> type)Create a qualified field, given its (qualified) field name.static <T> @NotNull Field<T>field(Name name, DataType<T> type)Create a qualified field, given its (qualified) field name.static <T> @NotNull Field<T>field(Name name, DataType<T> type, Comment comment)Create a qualified field, given its (qualified) field name.static <T> @NotNull Field<T>field(Select<? extends Record1<T>> select)Transform a subquery into a correlated subquery.static <T> @NotNull Field<T>field(SelectField<T> field)Wrap aSelectFieldin a general-purposeFieldstatic @NotNull Field<Object>field(SQL sql)Create a "plain SQL" field.static <T> @NotNull Field<T>field(SQL sql, Class<T> type)Create a "plain SQL" field.static <T> @NotNull Field<T>field(SQL sql, DataType<T> type)Create a "plain SQL" field.static <T> @NotNull Field<T>fieldByName(Class<T> type, String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usefield(Name, Class)insteadstatic @NotNull Field<Object>fieldByName(String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usefield(Name)insteadstatic <T> @NotNull Field<T>fieldByName(DataType<T> type, String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usefield(Name, DataType)insteadstatic <T> @NotNull WindowIgnoreNullsStep<T>firstValue(Field<T> field)Thefirst_value(field) over ([analytic clause])function.static <T extends Number>
@NotNull Field<T>floor(Field<T> field)Get the largest integer value not greater than [this].static <T extends Number>
@NotNull Field<T>floor(T value)Get the largest integer value not greater than [this].static <T> @NotNull ForInStep<T>for_(Variable<T> index)Create aFORloop for use in procedural code.static @NotNull ConstraintForeignKeyReferencesStep1<?>foreignKey(String field1)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStepNforeignKey(String... fields)Add aFOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep2<?,?>foreignKey(String field1, String field2)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?>foreignKey(String field1, String field2, String field3)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?>foreignKey(String field1, String field2, String field3, String field4)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?>foreignKey(String field1, String field2, String field3, String field4, String field5)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?>foreignKey(String field1, String field2, String field3, String field4, String field5, String field6)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?>foreignKey(String field1, String field2, String field3, String field4, String field5, String field6, String field7)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStepNforeignKey(Field<?>... fields)Add aFOREIGN KEYclause to theCONSTRAINT.static <T1> @NotNull ConstraintForeignKeyReferencesStep1<T1>foreignKey(Field<T1> field1)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static <T1,T2>
@NotNull ConstraintForeignKeyReferencesStep2<T1,T2>foreignKey(Field<T1> field1, Field<T2> field2)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep1<?>foreignKey(Name field1)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStepNforeignKey(Name... fields)Add aFOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep2<?,?>foreignKey(Name field1, Name field2)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?>foreignKey(Name field1, Name field2, Name field3)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?>foreignKey(Name field1, Name field2, Name field3, Name field4)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?>foreignKey(Name field1, Name field2, Name field3, Name field4, Name field5)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep6<?,?,?,?,?,?>foreignKey(Name field1, Name field2, Name field3, Name field4, Name field5, Name field6)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.static @NotNull ConstraintForeignKeyReferencesStep7<?,?,?,?,?,?,?>foreignKey(Name field1, Name field2, Name field3, Name field4, Name field5, Name field6, Name field7)Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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 KEYclause to theCONSTRAINT.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.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.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.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.static @NotNull Table<Record1<Integer>>generateSeries(int from, int to)A table function generating a series of values fromfromtoto(inclusive).static @NotNull Table<Record1<Integer>>generateSeries(int from, int to, int step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(int from, int to, Field<Integer> step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(int from, Field<Integer> to)A table function generating a series of values fromfromtoto(inclusive).static @NotNull Table<Record1<Integer>>generateSeries(int from, Field<Integer> to, int step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(int from, Field<Integer> to, Field<Integer> step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, int to)A table function generating a series of values fromfromtoto(inclusive).static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, int to, int step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, int to, Field<Integer> step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, Field<Integer> to)A table function generating a series of values fromfromtoto(inclusive).static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, Field<Integer> to, int step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static @NotNull Table<Record1<Integer>>generateSeries(Field<Integer> from, Field<Integer> to, Field<Integer> step)A table function generating a series of values fromfromtoto(inclusive), increasing values bystep.static <T> @NotNull DataType<T>getDataType(Class<T> type)Deprecated.- 3.11.0 - [#7483] - The (indirect) use of the internal static data type registry is not recommended.static @NotNull Statementgoto_(Label label)Create anGOTOstatement for use in procedural code.static GrantOnStepgrant(Collection<? extends Privilege> privileges)TheGRANTstatement.static GrantOnStepgrant(Privilege privileges)TheGRANTstatement.static GrantOnStepgrant(Privilege... privileges)TheGRANTstatement.static <T> @NotNull Field<T>greatest(Field<T> field, Field<?>... others)Find the greatest among all values.static <T> @NotNull Field<T>greatest(T value, T... values)Find the greatest among all values.static @NotNull GroupConcatOrderByStepgroupConcat(Field<?> field)Get the aggregated concatenation for a field.static @NotNull AggregateFunction<String>groupConcat(Field<?> field, String separator)Deprecated.- [#7956] - 3.12.0 - UsegroupConcat(Field)andGroupConcatSeparatorStep.separator(String)instead.static @NotNull GroupConcatOrderByStepgroupConcatDistinct(Field<?> field)Get the aggregated concatenation for a field.static @NotNull Field<Integer>groupId()Create aGROUP_ID()aggregation function to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.static @NotNull Field<Integer>grouping(Field<?> field)Create a GROUPING(field) aggregation field to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.static @NotNull Field<Integer>groupingId(Field<?>... fields)Create a GROUPING_ID(field1, field2, .., fieldn) aggregation field to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.static @NotNull GroupFieldgroupingSets(Collection<? extends Field<?>>... fieldSets)Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna, fieldnb)) grouping field.static @NotNull GroupFieldgroupingSets(Field<?>... fields)Create a GROUPING SETS(field1, field2, .., fieldn) grouping field where each grouping set only consists of a single field.static @NotNull GroupFieldgroupingSets(Field<?>[]... fieldSets)Create a GROUPING SETS((field1a, field1b), (field2a), .., (fieldna, fieldnb)) grouping field.static @NotNull WindowSpecificationRowsAndStepgroupsBetweenCurrentRow()Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationRowsAndStepgroupsBetweenFollowing(int number)Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationRowsAndStepgroupsBetweenPreceding(int number)Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationRowsAndStepgroupsBetweenUnboundedFollowing()Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationRowsAndStepgroupsBetweenUnboundedPreceding()Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationExcludeStepgroupsCurrentRow()Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationExcludeStepgroupsFollowing(int number)Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationExcludeStepgroupsPreceding(int number)Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationExcludeStepgroupsUnboundedFollowing()Create aWindowSpecificationwith aGROUPSclause.static @NotNull WindowSpecificationExcludeStepgroupsUnboundedPreceding()Create aWindowSpecificationwith aGROUPSclause.static @NotNull Field<Integer>hour(Temporal value)Get the hour part of a date.static @NotNull Field<Integer>hour(Date value)Get the hour part of a date.static @NotNull Field<Integer>hour(Field<?> field)Get the hour part of a date.static @NotNull IfThenStepif_(Condition condition)Create anIFstatement for use in procedural code.static <T> @NotNull Field<T>if_(Condition condition, Field<T> ifTrue, Field<T> ifFalse)Create a MySQL styleIF(condition, ifTrue, ifFalse)function.static <T> @NotNull Field<T>if_(Condition condition, Field<T> ifTrue, T ifFalse)Create a MySQL styleIF(condition, ifTrue, ifFalse)function.static <T> @NotNull Field<T>if_(Condition condition, T ifTrue, Field<T> ifFalse)Create a MySQL styleIF(condition, ifTrue, ifFalse)function.static <T> @NotNull Field<T>if_(Condition condition, T ifTrue, T ifFalse)Create a MySQL styleIF(condition, ifTrue, ifFalse)function.static <T> @NotNull Field<T>ifnull(Field<T> value, Field<T> defaultValue)TheIFNULL()function, a synonym ofNVL().static <T> @NotNull Field<T>ifnull(Field<T> value, T defaultValue)TheIFNULL()function, a synonym ofNVL().static <T> @NotNull Field<T>ifnull(T value, Field<T> defaultValue)TheIFNULL()function, a synonym ofNVL().static <T> @NotNull Field<T>ifnull(T value, T defaultValue)TheIFNULL()function, a synonym ofNVL().static <T> @NotNull Field<T>iif(Condition condition, Field<T> ifTrue, Field<T> ifFalse)Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.static <T> @NotNull Field<T>iif(Condition condition, Field<T> ifTrue, T ifFalse)Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.static <T> @NotNull Field<T>iif(Condition condition, T ifTrue, Field<T> ifFalse)Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.static <T> @NotNull Field<T>iif(Condition condition, T ifTrue, T ifFalse)Gets the SQL Server style IIF(condition, ifTrue, ifFalse) function.static @NotNull Indexindex(Name name)Create a qualified index reference by name.static @NotNull Param<Boolean>inline(boolean value)Create a bind value that is always inlined.static @NotNull Param<Byte>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.static @NotNull Param<String>inline(char character)Create a bind value, that is always inlined.static @NotNull Param<Double>inline(double value)Create a bind value that is always inlined.static @NotNull Param<Float>inline(float value)Create a bind value that is always inlined.static @NotNull Param<Integer>inline(int value)Create a bind value that is always inlined.static @NotNull Param<Long>inline(long value)Create a bind value that is always inlined.static @NotNull Param<Short>inline(short value)Create a bind value that is always inlined.static @NotNull Param<Boolean>inline(Boolean value)Create a bind value that is always inlined.static @NotNull Param<Byte>inline(Byte value)Create a bind value that is always inlined.static @NotNull Param<String>inline(Character character)Create a bind value, that is always inlined.static @NotNull Param<String>inline(CharSequence character)Create a bind value, that is always inlined.static @NotNull Param<Double>inline(Double value)Create a bind value that is always inlined.static @NotNull Param<Float>inline(Float value)Create a bind value that is always inlined.static @NotNull Param<Integer>inline(Integer value)Create a bind value that is always inlined.static @NotNull Param<Long>inline(Long value)Create a bind value that is always inlined.static <T> @NotNull Param<T>inline(Object value, Class<T> type)Create a bind value, that is always inlined.static <T> @NotNull Param<T>inline(Object value, DataType<T> type)Create a bind value, that is always inlined.static <T> @NotNull Param<T>inline(Object value, Field<T> field)Create a bind value, that is always inlined.static @NotNull Param<Short>inline(Short value)Create a bind value that is always inlined.static @NotNull Param<String>inline(String value)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.static @NotNull Param<Date>inline(Date value)Create a bind value that is always inlined.static @NotNull Param<Time>inline(Time value)Create a bind value that is always inlined.static @NotNull Param<Timestamp>inline(Timestamp value)Create a bind value that is always inlined.static @NotNull Param<Instant>inline(Instant value)Create a bind value that is always inlined.static @NotNull Param<LocalDate>inline(LocalDate value)Create a bind value that is always inlined.static @NotNull Param<LocalDateTime>inline(LocalDateTime value)Create a bind value that is always inlined.static @NotNull Param<LocalTime>inline(LocalTime value)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.static @NotNull Param<UUID>inline(UUID value)Create a bind value that is always inlined.static @NotNull Param<JSON>inline(JSON value)Create a bind value that is always inlined.static @NotNull Param<JSONB>inline(JSONB value)Create a bind value that is always inlined.static @NotNull Param<UByte>inline(UByte value)Create a bind value that is always inlined.static @NotNull Param<UInteger>inline(UInteger value)Create a bind value that is always inlined.static @NotNull Param<ULong>inline(ULong value)Create a bind value that is always inlined.static @NotNull Param<UShort>inline(UShort value)Create a bind value that is always inlined.static @NotNull Param<XML>inline(XML value)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 Field<String>insert(Field<String> in, Number startIndex, Number length, String placing)Get the insert(in, startIndex, length, placing) function.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.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>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)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.static @NotNull Field<Instant>instant(String value)Convert a string value to aTIMESTAMP WITH TIME ZONE.static @NotNull Field<Instant>instant(Instant value)Convert a temporal value to aTIMESTAMP WITH TIME ZONE.static @NotNull Field<Instant>instant(Field<Instant> field)Convert a temporal value to aTIMESTAMP WITH TIME ZONE.static <T> @NotNull Field<T>isnull(Field<T> value, Field<T> defaultValue)Gets the SQL Server-style ISNULL(value, defaultValue) function.static <T> @NotNull Field<T>isnull(Field<T> value, T defaultValue)Gets the SQL Server-style ISNULL(value, defaultValue) function.static <T> @NotNull Field<T>isnull(T value, Field<T> defaultValue)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.static @NotNull Field<Integer>isoDayOfWeek(Temporal value)Get the ISO day of week part of a date.static @NotNull Field<Integer>isoDayOfWeek(Date value)Get the ISO day of week part of a date.static @NotNull Field<Integer>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 constructor.static @NotNull JSONArrayNullStep<JSON>jsonArray(Field<?>... fields)The JSON array constructor.static @NotNull JSONArrayAggOrderByStep<JSON>jsonArrayAgg(Field<?> value)The JSON array aggregate function.static @NotNull JSONArrayNullStep<JSONB>jsonbArray(Collection<? extends Field<?>> fields)The JSONB array constructor.static @NotNull JSONArrayNullStep<JSONB>jsonbArray(Field<?>... fields)The JSONB array constructor.static @NotNull JSONArrayAggOrderByStep<JSONB>jsonbArrayAgg(Field<?> value)The JSON array aggregate function.static @NotNull JSONExistsOnStepjsonbExists(Field<JSONB> field, String path)The JSONB exists predicate.static @NotNull JSONExistsOnStepjsonbExists(Field<JSONB> field, Field<String> path)The JSONB exists predicate.static @NotNull JSONObjectNullStep<JSONB>jsonbObject(Collection<? extends JSONEntry<?>> entries)The JSONB object constructor.static @NotNull JSONObjectNullStep<JSONB>jsonbObject(Field<?>... entries)The JSONB object constructor.static @NotNull JSONObjectNullStep<JSONB>jsonbObject(JSONEntry<?>... entries)The JSONB object constructor.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 JSONTableColumnsFirstStepjsonbTable(Field<JSONB> json, Field<String> path)The JSON table function.static @NotNull JSONTableColumnsFirstStepjsonbTable(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>jsonEntry(String key, Field<T> value)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static <T> @NotNull JSONEntry<T>jsonEntry(Field<String> key, Field<T> value)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static <T> @NotNull JSONEntry<T>jsonEntry(Field<String> key, T value)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static <T> @NotNull JSONEntry<T>jsonEntry(Field<T> value)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static @NotNull JSONExistsOnStepjsonExists(Field<JSON> field, String path)The JSON exists predicate.static @NotNull JSONExistsOnStepjsonExists(Field<JSON> field, Field<String> path)The JSON exists predicate.static @NotNull JSONObjectNullStep<JSON>jsonObject()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 constructor.static @NotNull JSONObjectNullStep<JSON>jsonObject(Field<?>... entries)The JSON object constructor.static @NotNull JSONObjectNullStep<JSON>jsonObject(Field<String> key, Field<?> value)The JSON object constructor.static @NotNull JSONObjectNullStep<JSON>jsonObject(JSONEntry<?>... entries)The JSON object constructor.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 JSONTableColumnsFirstStepjsonTable(Field<JSON> json, Field<String> path)The JSON table function.static @NotNull JSONTableColumnsFirstStepjsonTable(JSON json, String path)The JSON table function.static @NotNull JSONValueOnStep<JSON>jsonValue(Field<JSON> json, String path)The JSON value extractor function.static @NotNull JSONValueOnStep<JSON>jsonValue(Field<JSON> json, Field<String> path)The JSON value extractor function.static @NotNull JSONEntryValueStepkey(String key)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static @NotNull JSONEntryValueStepkey(Field<String> key)A constructor for JSON entries to be used withjsonObject(JSONEntry...).static @NotNull Keywordkeyword(String keyword)Create a SQL keyword.static @NotNull Labellabel(String label)Create a label reference for use in procedural code.static @NotNull Labellabel(Name label)Create a label reference for use in procedural code.static <T> @NotNull WindowIgnoreNullsStep<T>lag(Field<T> field)Thelag(field) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lag(Field<T> field, int offset)Thelag(field, offset) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lag(Field<T> field, int offset, Field<T> defaultValue)Thelag(field, offset, defaultValue) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lag(Field<T> field, int offset, T defaultValue)Thelag(field, offset, defaultValue) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lastValue(Field<T> field)Thelast_value(field) over ([analytic clause])function.static <R extends Record>
@NotNull Table<R>lateral(TableLike<R> table)Create aLATERALjoined table.static <T> @NotNull WindowIgnoreNullsStep<T>lead(Field<T> field)Thelead(field) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lead(Field<T> field, int offset)Thelead(field, offset) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lead(Field<T> field, int offset, Field<T> defaultValue)Thelead(field, offset, defaultValue) over ([analytic clause])function.static <T> @NotNull WindowIgnoreNullsStep<T>lead(Field<T> field, int offset, T defaultValue)Thelead(field, offset, defaultValue) over ([analytic clause])function.static <T> @NotNull Field<T>least(Field<T> field, Field<?>... others)Find the least among all values.static <T> @NotNull Field<T>least(T value, T... values)Find the least among all values.static @NotNull Field<String>left(String field, int length)Get the left outermost characters from a string.static @NotNull Field<String>left(String field, Field<? extends Number> length)Get the left outermost characters from a string.static @NotNull Field<String>left(Field<String> field, int length)Get the left outermost characters from a string.static @NotNull Field<String>left(Field<String> field, Field<? extends Number> length)Get the left outermost characters from a string.static @NotNull Field<Integer>length(String value)Get the length of aVARCHARtype.static @NotNull Field<Integer>length(Field<String> field)Get the length of aVARCHARtype.static @NotNull Field<Integer>level()Retrieve the Oracle-specificLEVELpseudo-field (to be used along withCONNECT BYclauses).static @NotNull Linklink(String name)Create a database link reference.static @NotNull Linklink(String name, Schema schema)Create a database link reference.static @NotNull Linklink(Name name)Create a database link reference.static @NotNull QueryPartlist(Collection<? extends QueryPart> parts)Compose a list ofQueryPartsinto a newQueryPart, with individual parts being comma-separated.static @NotNull QueryPartlist(QueryPart... parts)Compose a list ofQueryPartsinto a newQueryPart, with individual parts being comma-separated.static @NotNull OrderedAggregateFunction<String>listAgg(Field<?> field)Get the aggregated concatenation for a field.static @NotNull OrderedAggregateFunction<String>listAgg(Field<?> field, String separator)Get the aggregated concatenation for a field.static @NotNull Field<BigDecimal>ln(Number value)Get the ln(field) function, taking the natural logarithm of this field.static @NotNull Field<BigDecimal>ln(Field<? extends Number> field)Get the ln(field) function, taking the natural logarithm of this field.static @NotNull Field<LocalDate>localDate(String value)Convert a string value to aDATE.static @NotNull Field<LocalDate>localDate(LocalDate value)Convert a temporal value to aDATE.static @NotNull Field<LocalDate>localDate(Field<LocalDate> field)Convert a temporal value to aDATE.static @NotNull Field<LocalDate>localDateAdd(LocalDate date, Number interval)Add an interval to a date.static @NotNull Field<LocalDate>localDateAdd(LocalDate date, Number interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<LocalDate>localDateAdd(LocalDate date, Field<? extends Number> interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<LocalDate>localDateAdd(Field<LocalDate> date, Number interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<LocalDate>localDateAdd(Field<LocalDate> date, Field<? extends Number> interval)Add an interval to a date.static @NotNull Field<LocalDate>localDateAdd(Field<LocalDate> date, Field<? extends Number> interval, DatePart datePart)Add an interval to a date, given a date part.static @NotNull Field<Integer>localDateDiff(LocalDate endDate, LocalDate startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>localDateDiff(LocalDate endDate, Field<LocalDate> startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>localDateDiff(DatePart part, LocalDate startDate, LocalDate endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>localDateDiff(DatePart part, LocalDate startDate, Field<LocalDate> endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>localDateDiff(DatePart part, Field<LocalDate> startDate, LocalDate endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>localDateDiff(DatePart part, Field<LocalDate> startDate, Field<LocalDate> endDate)Get the date difference betweenendDate - startDatein terms ofpart.static @NotNull Field<Integer>localDateDiff(Field<LocalDate> endDate, LocalDate startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<Integer>localDateDiff(Field<LocalDate> endDate, Field<LocalDate> startDate)Get the date difference betweenendDate - startDatein number of days.static @NotNull Field<LocalDate>localDateSub(LocalDate date, Number interval)Subtract an interval from a date.static @NotNull Field<LocalDate>localDateSub(LocalDate date, Number interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<LocalDate>localDateSub(LocalDate date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<LocalDate>localDateSub(Field<LocalDate> date, Number interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<LocalDate>localDateSub(Field<LocalDate> date, Field<? extends Number> interval)Subtract an interval from a date.static @NotNull Field<LocalDate>localDateSub(Field<LocalDate> date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a date, given a date part.static @NotNull Field<LocalDateTime>localDateTime(String value)Convert a string value to aTIMESTAMP.static @NotNull Field<LocalDateTime>localDateTime(LocalDateTime value)Convert a temporal value to aTIMESTAMP.static @NotNull Field<LocalDateTime>localDateTime(Field<LocalDateTime> field)Convert a temporal value to aTIMESTAMP.static @NotNull Field<LocalDateTime>localDateTimeAdd(LocalDateTime timestamp, Number interval)Add an interval to a timestamp.static @NotNull Field<LocalDateTime>localDateTimeAdd(LocalDateTime date, Number interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<LocalDateTime>localDateTimeAdd(LocalDateTime date, Field<? extends Number> interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<LocalDateTime>localDateTimeAdd(Field<LocalDateTime> date, Number interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<LocalDateTime>localDateTimeAdd(Field<LocalDateTime> timestamp, Field<? extends Number> interval)Add an interval to a timestamp.static @NotNull Field<LocalDateTime>localDateTimeAdd(Field<LocalDateTime> date, Field<? extends Number> interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<DayToSecond>localDateTimeDiff(LocalDateTime timestamp1, LocalDateTime timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>localDateTimeDiff(LocalDateTime timestamp1, Field<LocalDateTime> timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>localDateTimeDiff(Field<LocalDateTime> timestamp1, LocalDateTime timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>localDateTimeDiff(Field<LocalDateTime> timestamp1, Field<LocalDateTime> timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.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.static @NotNull Field<LocalTime>localTime(String value)Convert a string value to aTIME.static @NotNull Field<LocalTime>localTime(LocalTime value)Convert a temporal value to aTIME.static @NotNull Field<LocalTime>localTime(Field<LocalTime> field)Convert a temporal value to aTIME.static @NotNull Field<BigDecimal>log(Number value, int base)Get the log(field, base) function.static @NotNull Field<BigDecimal>log(Field<? extends Number> field, int base)Get the log(field, base) function.static @NotNull Field<BigDecimal>log(Field<? extends Number> field, Field<? extends Number> base)Get the log(field, base) function.static @NotNull Statementloop(Collection<? extends Statement> statements)Create aLOOPfor use in procedural code.static @NotNull Statementloop(Statement... statements)Create aLOOPfor use in procedural code.static @NotNull Field<String>lower(String value)Get the lower(field) function.static @NotNull Field<String>lower(Field<String> field)Get the lower(field) function.static @NotNull Field<String>lpad(Field<String> field, int length)Get the lpad(field, length) function.static @NotNull Field<String>lpad(Field<String> field, int length, char character)Get the lpad(field, length, character) function.static @NotNull Field<String>lpad(Field<String> field, int length, String character)Get the lpad(field, length, character) function.static @NotNull Field<String>lpad(Field<String> field, Field<? extends Number> length)Get the lpad(field, length) function.static @NotNull Field<String>lpad(Field<String> field, Field<? extends Number> length, Field<String> character)Get the lpad(field, length, character) function.static @NotNull Field<String>ltrim(String value)Get the ltrim(field) function.static @NotNull Field<String>ltrim(String value, String characters)Get theltrim(field, characters)ortrim(leading characters from field)function.static @NotNull Field<String>ltrim(Field<String> field)Get the ltrim(field) function.static @NotNull Field<String>ltrim(Field<String> field, Field<String> characters)Get theltrim(field, characters)ortrim(leading characters from field)function.static <T> @NotNull AggregateFunction<T>max(Field<T> field)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).static @NotNull Field<String>md5(String string)Get the MySQL-specificMD5()function.static @NotNull Field<String>md5(Field<String> string)Get the MySQL-specificMD5()function.static @NotNull AggregateFunction<BigDecimal>median(Field<? extends Number> field)Get the median over a numeric field: median(field).static <R extends Record>
@NotNull MergeUsingStep<R>mergeInto(Table<R> table)Create a new DSL SQL standard MERGE statement.static <R extends Record>
@NotNull MergeKeyStepN<R>mergeInto(Table<R> table, Collection<? extends Field<?>> fields)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)static <R extends Record>
@NotNull MergeKeyStepN<R>mergeInto(Table<R> table, Field<?>... fields)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)static <R extends Record,T1>
@NotNull MergeKeyStep1<R,T1>mergeInto(Table<R> table, Field<T1> field1)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)static <R extends Record,T1,T2>
@NotNull MergeKeyStep2<R,T1,T2>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)static @NotNull Field<Integer>microsecond(Temporal value)Get the microsecond part of a date.static @NotNull Field<Integer>microsecond(Date value)Get the microsecond part of a date.static @NotNull Field<Integer>microsecond(Field<?> field)Get the microsecond part of a date.static @NotNull Field<String>mid(Field<String> field, int startingPosition, int length)Get the mid(field, startingPosition, length) function.static @NotNull Field<String>mid(Field<String> field, Field<? extends Number> startingPosition, Field<? extends Number> length)Get the mid(field, startingPosition, length) function.static @NotNull Field<Integer>millennium(Temporal value)Get the millennium of a date.static @NotNull Field<Integer>millennium(Date value)Get the millennium of a date.static @NotNull Field<Integer>millennium(Field<?> field)Get the millennium of a date.static @NotNull Field<Integer>millisecond(Temporal value)Get the millisecond part of a date.static @NotNull Field<Integer>millisecond(Date value)Get the millisecond part of a date.static @NotNull Field<Integer>millisecond(Field<?> field)Get the millisecond part of a date.static <T> @NotNull AggregateFunction<T>min(Field<T> field)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).static <T extends Number>
@NotNull Field<T>minus(Field<T> field)Negate a field to get its negative value.static @NotNull Field<Integer>minute(Temporal value)Get the minute part of a date.static @NotNull Field<Integer>minute(Date value)Get the minute part of a date.static @NotNull Field<Integer>minute(Field<?> field)Get the minute part of a date.static @NotNull OrderedAggregateFunctionOfDeferredTypemode()Themode() within group (oder by [order clause])ordered aggregate function.static <T> @NotNull AggregateFunction<T>mode(Field<T> field)Themode(field)aggregate function.static @NotNull Field<Integer>month(Temporal value)Get the month part of a date.static @NotNull Field<Integer>month(Date value)Get the month part of a date.static @NotNull Field<Integer>month(Field<?> field)Get the month part of a date.static @NotNull Namename(String unqualifiedName)Create a new SQL identifier using an unqualified name.static @NotNull Namename(String... qualifiedName)Create a new SQL identifier using a qualified name.static @NotNull Namename(Collection<String> qualifiedName)Create a new SQL identifier using a qualified name.static @NotNull Namename(Name... nameParts)Create a new SQL identifier using a qualified name.static <T extends Number>
@NotNull Field<T>neg(Field<T> field)Negate a field to get its negative value.static @NotNull ConditionnoCondition()Return aConditionthat behaves like no condition being present.static @NotNull Field<Boolean>not(Boolean value)Deprecated.- 3.8.0 - [#4763] - Usenot(Condition)instead.static @NotNull Conditionnot(Condition condition)Invert a condition.static @NotNull Field<Boolean>not(Field<Boolean> field)Invert a boolean value.static @NotNull ConditionnotExists(Select<?> query)Create a not exists condition.static @NotNull ConditionnotUnique(Select<?> query)Create a not unique condition.static @NotNull Field<Timestamp>now()Synonym forcurrentTimestamp().static @NotNull Field<Timestamp>now(Field<Integer> precision)Synonym forcurrentTimestamp(Field).static <T> @NotNull WindowFromFirstLastStep<T>nthValue(Field<T> field, int nth)Thenth_value(field) over ([analytic clause])function.static <T> @NotNull WindowFromFirstLastStep<T>nthValue(Field<T> field, Field<Integer> nth)Thenth_value(field) over ([analytic clause])function.static @NotNull WindowOverStep<Integer>ntile(int number)Thentile([number]) over ([analytic clause])function.static <T> @NotNull Field<T>nullif(Field<T> value, Field<T> other)Gets the Oracle-style NULLIF(value, other) function.static <T> @NotNull Field<T>nullif(Field<T> value, T other)Gets the Oracle-style NULLIF(value, other) function.static <T> @NotNull Field<T>nullif(T value, Field<T> other)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<?>[]nullSafe(Field<?>... fields)Null-safety of a field.protected static <T> Field<T>nullSafe(Field<T> field)Null-safety of a field.protected static <T> Field<T>nullSafe(Field<T> field, DataType<?> type)Null-safety of a field.protected static <T> DataType<T>nullSafeDataType(Field<T> field)Get a default data type if a field is null.protected static List<Field<?>>nullSafeList(Field<?>... fields)Null-safety of a field.static <T> @NotNull Field<T>nvl(Field<T> value, Field<T> defaultValue)Gets the Oracle-style NVL(value, defaultValue) function.static <T> @NotNull Field<T>nvl(Field<T> value, T defaultValue)Gets the Oracle-style NVL(value, defaultValue) function.static <T> @NotNull Field<T>nvl(T value, Field<T> defaultValue)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>nvl2(Field<?> value, Field<Z> valueIfNotNull, Field<Z> valueIfNull)Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.static <Z> @NotNull Field<Z>nvl2(Field<?> value, Field<Z> valueIfNotNull, Z valueIfNull)Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.static <Z> @NotNull Field<Z>nvl2(Field<?> value, Z valueIfNotNull, Field<Z> valueIfNull)Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.static <Z> @NotNull Field<Z>nvl2(Field<?> value, Z valueIfNotNull, Z valueIfNull)Gets the Oracle-style NVL2(value, valueIfNotNull, valueIfNull) function.static @NotNull Field<Integer>octetLength(String value)Get the octet_length(field) function.static @NotNull Field<Integer>octetLength(Field<String> field)Get the octet_length(field) function.static @NotNull Field<OffsetDateTime>offsetDateTime(String value)Convert a string value to aTIMESTAMP WITH TIME ZONE.static @NotNull Field<OffsetDateTime>offsetDateTime(OffsetDateTime value)Convert a temporal value to aTIMESTAMP WITH TIME ZONE.static @NotNull Field<OffsetDateTime>offsetDateTime(Field<OffsetDateTime> field)Convert a temporal value to aTIMESTAMP WITH TIME ZONE.static @NotNull Field<OffsetTime>offsetTime(String value)Convert a string value to aTIME WITH TIME ZONE.static @NotNull Field<OffsetTime>offsetTime(OffsetTime value)Convert a temporal value to aTIME WITH TIME ZONE.static @NotNull Field<OffsetTime>offsetTime(Field<OffsetTime> field)Convert a temporal value to aTIME WITH TIME ZONE.static @NotNull Param<Integer>one()A1literal.static @NotNull Conditionor(Collection<? extends Condition> conditions)static @NotNull Conditionor(Condition... conditions)static @NotNull Conditionor(Condition left, Condition right)static @NotNull WindowSpecificationRowsSteporderBy(Collection<? extends OrderField<?>> fields)Create aWindowSpecificationwith anORDER BYclause.static @NotNull WindowSpecificationRowsSteporderBy(Field<?>... fields)Create aWindowSpecificationwith anORDER BYclause.static @NotNull WindowSpecificationRowsSteporderBy(OrderField<?>... fields)Create aWindowSpecificationwith anORDER BYclause.static @NotNull Field<String>overlay(Field<String> in, String placing, Number startIndex)Get the overlay(in, placing, startIndex) function.static @NotNull Field<String>overlay(Field<String> in, String placing, Number startIndex, Number length)Get the overlay(in, placing, startIndex, length) function.static @NotNull Field<String>overlay(Field<String> in, Field<String> placing, Field<? extends Number> startIndex)Get the overlay(in, placing, startIndex) function.static @NotNull Field<String>overlay(Field<String> in, Field<String> placing, Field<? extends Number> startIndex, Field<? extends Number> length)Get the overlay(in, placing, startIndex, length) function.static <T> @NotNull Param<Object>param()Create an unnamed parameter with a generic type (Object/SQLDataType.OTHER) and no initial value.static <T> @NotNull Param<T>param(Class<T> type)Create an unnamed parameter with a defined type and no initial value.static @NotNull Param<Object>param(String name)Create a named parameter with a generic type (Object/SQLDataType.OTHER) and no initial value.static <T> @NotNull Param<T>param(String name, Class<T> type)Create a named parameter with a defined type and no initial value.static <T> @NotNull Param<T>param(String name, DataType<T> type)Create a named parameter with a defined type and no initial value.static <T> @NotNull Param<T>param(String name, Field<T> type)Create a named parameter with a defined type of another field and no initial value.static <T> @NotNull Param<T>param(String name, T value)Create a named parameter with an initial value.static <T> @NotNull Param<T>param(DataType<T> type)Create an unnamed parameter with a defined type and no initial value.static <T> @NotNull Param<T>param(Field<T> field)Create an unnamed parameter with the defined type of another field and no initial value.static @NotNull WindowSpecificationOrderBySteppartitionBy(Collection<? extends Field<?>> fields)Create aWindowSpecificationwith aPARTITION BYclause.static @NotNull WindowSpecificationOrderBySteppartitionBy(Field<?>... fields)Create aWindowSpecificationwith aPARTITION BYclause.static @NotNull OrderedAggregateFunction<BigDecimal>percentileCont(Number number)Thepercentile_cont([number]) within group (order by [column])function.static @NotNull OrderedAggregateFunction<BigDecimal>percentileCont(Field<? extends Number> field)Thepercentile_cont([number]) within group (order by [column])function.static @NotNull OrderedAggregateFunction<BigDecimal>percentileDisc(Number number)Thepercentile_disc([number]) within group (order by [column])function.static @NotNull OrderedAggregateFunction<BigDecimal>percentileDisc(Field<? extends Number> field)Thepercentile_disc([number]) within group (order by [column])function.static @NotNull WindowOverStep<BigDecimal>percentRank()Theprecent_rank() over ([analytic clause])function.static @NotNull OrderedAggregateFunction<Integer>percentRank(Collection<? extends Field<?>> fields)Thepercent_rank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull OrderedAggregateFunction<Integer>percentRank(Field<?>... fields)Thepercent_rank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull Period<Timestamp>period(Name name)Create a namedPeriodreference.static <T> @NotNull Period<T>period(Name name, Class<T> type)Create a namedPeriodreference.static <T> @NotNull Period<T>period(Name name, DataType<T> type)Create a namedPeriodreference.static @NotNull Field<BigDecimal>pi()Theπliteral.static @NotNull Field<Integer>position(String in, String search)Get the position(in, search) function.static @NotNull Field<Integer>position(String in, String search, int startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(String in, String search, Field<? extends Number> startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(String in, Field<String> search)Get the position(in, search) function.static @NotNull Field<Integer>position(String in, Field<String> search, int startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(String in, Field<String> search, Field<? extends Number> startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(Field<String> in, String search)Get the position(in, search) function.static @NotNull Field<Integer>position(Field<String> in, String search, int startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(Field<String> in, String search, Field<? extends Number> startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(Field<String> in, Field<String> search)Get the position(in, search) function.static @NotNull Field<Integer>position(Field<String> in, Field<String> search, int startIndex)Get the position(in, search, startindex) function.static @NotNull Field<Integer>position(Field<String> in, Field<String> search, Field<? extends Number> startIndex)Get the position(in, search, startindex) function.static @NotNull Field<BigDecimal>power(Number value, Number exponent)Get the power(field, exponent) function.static @NotNull Field<BigDecimal>power(Number value, Field<? extends Number> exponent)Get the power(field, exponent) function.static @NotNull Field<BigDecimal>power(Field<? extends Number> field, Number exponent)Get the power(field, exponent) function.static @NotNull Field<BigDecimal>power(Field<? extends Number> field, Field<? extends Number> exponent)Get the power(field, exponent) function.static @NotNull ConstraintEnforcementStepprimaryKey(String... fields)Create an unnamed (system named)PRIMARY KEYconstraint.static @NotNull ConstraintEnforcementStepprimaryKey(Field<?>... fields)Create an unnamed (system named)PRIMARY KEYconstraint.static @NotNull ConstraintEnforcementStepprimaryKey(Name... fields)Create an unnamed (system named)PRIMARY KEYconstraint.static <T> @NotNull Field<T>prior(Field<T> field)Add the Oracle-specificPRIORunary operator before a field (to be used along withCONNECT BYclauses).static @NotNull Privilegeprivilege(String privilege)Create a new privilege reference.static @NotNull AggregateFunction<BigDecimal>product(Field<? extends Number> field)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).static @NotNull Field<Integer>quarter(Temporal value)Get the quarter of a date.static @NotNull Field<Integer>quarter(Date value)Get the quarter of a date.static @NotNull Field<Integer>quarter(Field<?> field)Get the quarter of a date.static @NotNull Queriesqueries(Collection<? extends Query> queries)Wrap a collection of queries.static @NotNull Queriesqueries(Query... queries)Wrap a collection of queries.static @NotNull RowCountQueryquery(String sql)Create a new query holding plain SQL.static @NotNull RowCountQueryquery(String sql, Object... bindings)Create a new query holding plain SQL.static @NotNull RowCountQueryquery(String sql, QueryPart... parts)Create a new query holding plain SQL.static @NotNull RowCountQueryquery(SQL sql)Create a new query holding plain SQL.static @NotNull QueryPartqueryPart(String sql)Deprecated.- 3.6.0 - [#3854] - Usesql(String)insteadstatic @NotNull QueryPartqueryPart(String sql, Object... bindings)Deprecated.- 3.6.0 - [#3854] - Usesql(String, Object...)insteadstatic @NotNull QueryPartqueryPart(String sql, QueryPart... parts)Deprecated.- 3.6.0 - [#3854] - Usesql(String, QueryPart...)insteadstatic @NotNull NamequotedName(String unqualifiedName)Create a new SQL identifier using an unqualified, quoted name.static @NotNull NamequotedName(String... qualifiedName)Create a new SQL identifier using a qualified, quoted name.static @NotNull NamequotedName(Collection<String> qualifiedName)Create a new SQL identifier using a qualified, quoted name.static @NotNull Field<BigDecimal>rad(Number value)Calculate radians from degrees from this field.static @NotNull Field<BigDecimal>rad(Field<? extends Number> field)Calculate radians from degrees from this field.static @NotNull Field<BigDecimal>rand()Get the rand() function.static @NotNull WindowSpecificationRowsAndSteprangeBetweenCurrentRow()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationRowsAndSteprangeBetweenFollowing(int number)Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationRowsAndSteprangeBetweenPreceding(int number)Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationRowsAndSteprangeBetweenUnboundedFollowing()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationRowsAndSteprangeBetweenUnboundedPreceding()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationExcludeSteprangeCurrentRow()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationExcludeSteprangeFollowing(int number)Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationExcludeSteprangePreceding(int number)Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationExcludeSteprangeUnboundedFollowing()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowSpecificationExcludeSteprangeUnboundedPreceding()Create aWindowSpecificationwith aRANGEclause.static @NotNull WindowOverStep<Integer>rank()Therank() over ([analytic clause])function.static @NotNull OrderedAggregateFunction<Integer>rank(Collection<? extends Field<?>> fields)Therank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull OrderedAggregateFunction<Integer>rank(Field<?>... fields)Therank(expr) within group (order by [order clause])ordered-set aggregate function.static @NotNull WindowOverStep<BigDecimal>ratioToReport(Number number)Theratio_to_report([expression]) over ([analytic clause])function.static @NotNull WindowOverStep<BigDecimal>ratioToReport(Field<? extends Number> field)Theratio_to_report([expression]) over ([analytic clause])function.static <T1> @NotNull RecordType<Record>recordType(Collection<? extends Field<?>> fields)Create aRecordTypeof an arbitrary degree.static <T1> @NotNull RecordType<Record>recordType(Field<?>[] fields)Create aRecordTypeof an arbitrary degree.static <T1> @NotNull RecordType<Record1<T1>>recordType(Field<T1> field1)Create aRecordTypeof degree1.static <T1,T2>
@NotNull RecordType<Record2<T1,T2>>recordType(Field<T1> field1, Field<T2> field2)Create aRecordTypeof degree2.static <T1,T2,T3>
@NotNull RecordType<Record3<T1,T2,T3>>recordType(Field<T1> field1, Field<T2> field2, Field<T3> field3)Create aRecordTypeof degree3.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 aRecordTypeof degree4.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 aRecordTypeof degree5.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 aRecordTypeof degree6.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 aRecordTypeof degree7.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 aRecordTypeof degree8.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 aRecordTypeof degree9.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 aRecordTypeof degree10.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 aRecordTypeof degree11.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 aRecordTypeof degree12.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 aRecordTypeof degree13.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 aRecordTypeof degree14.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 aRecordTypeof degree15.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 aRecordTypeof degree16.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 aRecordTypeof degree17.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 aRecordTypeof degree18.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 aRecordTypeof degree19.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 aRecordTypeof degree20.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 aRecordTypeof degree21.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 aRecordTypeof degree22.static @NotNull Field<String>regexpReplaceAll(Field<String> field, String pattern, String replacement)Get theREGEXP_REPLACE_ALLfunction.static @NotNull Field<String>regexpReplaceAll(Field<String> field, Field<String> pattern, Field<String> replacement)Get theREGEXP_REPLACE_ALLfunction.static @NotNull Field<String>regexpReplaceFirst(Field<String> field, String pattern, String replacement)Get theREGEXP_REPLACE_ALLfunction.static @NotNull Field<String>regexpReplaceFirst(Field<String> field, Field<String> pattern, Field<String> replacement)Get theREGEXP_REPLACE_ALLfunction.static @NotNull AggregateFunction<BigDecimal>regrAvgX(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_AVGXlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrAvgY(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_AVGYlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrCount(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_COUNTlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrIntercept(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_INTERCEPTlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrR2(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_R2linear regression function.static @NotNull AggregateFunction<BigDecimal>regrSlope(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_SLOPElinear regression function.static @NotNull AggregateFunction<BigDecimal>regrSXX(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_SXXlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrSXY(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_SXYlinear regression function.static @NotNull AggregateFunction<BigDecimal>regrSYY(Field<? extends Number> y, Field<? extends Number> x)Get theREGR_SYYlinear regression function.static @NotNull Field<String>repeat(String field, int count)Get the repeat(field, count) function.static @NotNull Field<String>repeat(String field, Field<? extends Number> count)Get the repeat(field, count) function.static @NotNull RepeatUntilSteprepeat(Collection<? extends Statement> statements)Create aREPEATloop for use in procedural code.static @NotNull Field<String>repeat(Field<String> field, int count)Get the repeat(count) function.static @NotNull Field<String>repeat(Field<String> field, Field<? extends Number> count)Get the repeat(field, count) function.static @NotNull RepeatUntilSteprepeat(Statement... statements)Create aREPEATloop for use in procedural code.static @NotNull Field<String>replace(Field<String> field, String search)Get the replace(field, search) function.static @NotNull Field<String>replace(Field<String> field, String search, String replace)Get the replace(field, search, replace) function.static @NotNull Field<String>replace(Field<String> field, Field<String> search)Get the replace(field, search) function.static @NotNull Field<String>replace(Field<String> field, Field<String> search, Field<String> replace)Get the replace(field, search, 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 Statementreturn_()Create anRETURNstatement for use in procedural code.static @NotNull Statementreturn_(Object value)Create anRETURNstatement for use in procedural code.static @NotNull Statementreturn_(Field<?> value)Create anRETURNstatement for use in procedural code.static @NotNull Field<String>reverse(String value)Get thereverse(field)function.static @NotNull Field<String>reverse(Field<String> field)Get thereverse(field)function.static RevokeOnSteprevoke(Collection<? extends Privilege> privileges)TheREVOKEstatement.static RevokeOnSteprevoke(Privilege privileges)TheREVOKEstatement.static RevokeOnSteprevoke(Privilege... privileges)TheREVOKEstatement.static RevokeOnSteprevokeGrantOptionFor(Collection<? extends Privilege> privileges)TheREVOKE GRANT OPTION FORstatement.static RevokeOnSteprevokeGrantOptionFor(Privilege privileges)TheREVOKE GRANT OPTION FORstatement.static RevokeOnSteprevokeGrantOptionFor(Privilege... privileges)TheREVOKE GRANT OPTION FORstatement.static @NotNull Field<String>right(String field, int length)Get the right outermost characters from a string.static @NotNull Field<String>right(String field, Field<? extends Number> length)Get the right outermost characters from a string.static @NotNull Field<String>right(Field<String> field, int length)Get the right outermost characters from a string.static @NotNull Field<String>right(Field<String> field, Field<? extends Number> length)Get the right outermost characters from a string.static @NotNull Rolerole(String name)Create a new role reference.static @NotNull Rolerole(Name name)Create a new role reference.static @NotNull GroupFieldrollup(Field<?>... fields)Create a ROLLUP(field1, field2, .., fieldn) grouping field.static @NotNull GroupFieldrollup(FieldOrRow... fields)Create a ROLLUP(field1, field2, .., fieldn) grouping field.static <T extends Number>
@NotNull Field<T>round(Field<T> field)Get rounded value of a numeric field: round(field).static <T extends Number>
@NotNull Field<T>round(Field<T> field, int decimals)Get rounded value of a numeric field: round(field, decimals).static <T extends Number>
@NotNull Field<T>round(Field<T> field, Field<Integer> decimals)Get rounded value of a numeric field: round(field, decimals).static <T extends Number>
@NotNull Field<T>round(T value)Get rounded value of a numeric field: round(field).static <T extends Number>
@NotNull Field<T>round(T value, int decimals)Get rounded value of a numeric field: round(field, decimals).static @NotNull RowNrow(Object... values)Create a row value expression of degreeN > 22.static @NotNull RowNrow(Collection<?> values)Create a row value expression of degreeN > 22.static @NotNull RowNrow(Field<?>... values)Create a row value expression of degreeN > 22.static <T1> @NotNull Row1<T1>row(Field<T1> t1)Create a row value expression of degree1.static <T1,T2>
@NotNull Row2<T1,T2>row(Field<T1> t1, Field<T2> t2)Create a row value expression of degree2.static <T1,T2,T3>
@NotNull Row3<T1,T2,T3>row(Field<T1> t1, Field<T2> t2, Field<T3> t3)Create a row value expression of degree3.static <T1,T2,T3,T4>
@NotNull Row4<T1,T2,T3,T4>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4)Create a row value expression of degree4.static <T1,T2,T3,T4,T5>
@NotNull Row5<T1,T2,T3,T4,T5>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5)Create a row value expression of degree5.static <T1,T2,T3,T4,T5,T6>
@NotNull Row6<T1,T2,T3,T4,T5,T6>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6)Create a row value expression of degree6.static <T1,T2,T3,T4,T5,T6,T7>
@NotNull Row7<T1,T2,T3,T4,T5,T6,T7>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7)Create a row value expression of degree7.static <T1,T2,T3,T4,T5,T6,T7,T8>
@NotNull Row8<T1,T2,T3,T4,T5,T6,T7,T8>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8)Create a row value expression of degree8.static <T1,T2,T3,T4,T5,T6,T7,T8,T9>
@NotNull Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9)Create a row value expression of degree9.static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
@NotNull Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>row(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10)Create a row value expression of degree10.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11)Create a row value expression of degree11.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12)Create a row value expression of degree12.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13)Create a row value expression of degree13.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14)Create a row value expression of degree14.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15)Create a row value expression of degree15.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16)Create a row value expression of degree16.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17)Create a row value expression of degree17.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18)Create a row value expression of degree18.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19)Create a row value expression of degree19.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20)Create a row value expression of degree20.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20, Field<T21> t21)Create a row value expression of degree21.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20, Field<T21> t21, Field<T22> t22)Create a row value expression of degree22.static <T1> @NotNull Row1<T1>row(T1 t1)Create a row value expression of degree1.static <T1,T2>
@NotNull Row2<T1,T2>row(T1 t1, T2 t2)Create a row value expression of degree2.static <T1,T2,T3>
@NotNull Row3<T1,T2,T3>row(T1 t1, T2 t2, T3 t3)Create a row value expression of degree3.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 degree4.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 degree5.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 degree6.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 degree7.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 degree8.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 degree9.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 degree10.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 degree11.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 degree12.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 degree13.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 degree14.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 degree15.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 degree16.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 degree17.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 degree18.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 degree19.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 degree20.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 degree21.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 degree22.static <T1> @NotNull Field<Record1<T1>>rowField(Row1<T1> row)EXPERIMENTAL: Turn a row value expression of degree1into aField.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)EXPERIMENTAL: Turn a row value expression of degree10into aField.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)EXPERIMENTAL: Turn a row value expression of degree11into aField.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)EXPERIMENTAL: Turn a row value expression of degree12into aField.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)EXPERIMENTAL: Turn a row value expression of degree13into aField.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)EXPERIMENTAL: Turn a row value expression of degree14into aField.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)EXPERIMENTAL: Turn a row value expression of degree15into aField.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)EXPERIMENTAL: Turn a row value expression of degree16into aField.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)EXPERIMENTAL: Turn a row value expression of degree17into aField.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)EXPERIMENTAL: Turn a row value expression of degree18into aField.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)EXPERIMENTAL: Turn a row value expression of degree19into aField.static <T1,T2>
@NotNull Field<Record2<T1,T2>>rowField(Row2<T1,T2> row)EXPERIMENTAL: Turn a row value expression of degree2into aField.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)EXPERIMENTAL: Turn a row value expression of degree20into aField.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)EXPERIMENTAL: Turn a row value expression of degree21into aField.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)EXPERIMENTAL: Turn a row value expression of degree22into aField.static <T1,T2,T3>
@NotNull Field<Record3<T1,T2,T3>>rowField(Row3<T1,T2,T3> row)EXPERIMENTAL: Turn a row value expression of degree3into aField.static <T1,T2,T3,T4>
@NotNull Field<Record4<T1,T2,T3,T4>>rowField(Row4<T1,T2,T3,T4> row)EXPERIMENTAL: Turn a row value expression of degree4into aField.static <T1,T2,T3,T4,T5>
@NotNull Field<Record5<T1,T2,T3,T4,T5>>rowField(Row5<T1,T2,T3,T4,T5> row)EXPERIMENTAL: Turn a row value expression of degree5into aField.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)EXPERIMENTAL: Turn a row value expression of degree6into aField.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)EXPERIMENTAL: Turn a row value expression of degree7into aField.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)EXPERIMENTAL: Turn a row value expression of degree8into aField.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)EXPERIMENTAL: Turn a row value expression of degree9into aField.static @NotNull Field<Record>rowField(RowN row)EXPERIMENTAL: Turn a row value expression of arbitrary degree into aField.static @NotNull Field<Integer>rownum()Retrieve the Oracle-specificROWNUMpseudo-field.static @NotNull WindowOverStep<Integer>rowNumber()Therow_number() over ([analytic clause])function.static @NotNull WindowSpecificationRowsAndSteprowsBetweenCurrentRow()Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationRowsAndSteprowsBetweenFollowing(int number)Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationRowsAndSteprowsBetweenPreceding(int number)Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationRowsAndSteprowsBetweenUnboundedFollowing()Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationRowsAndSteprowsBetweenUnboundedPreceding()Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationExcludeSteprowsCurrentRow()Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationExcludeSteprowsFollowing(int number)Create aWindowSpecificationwith aROWSclause.static @NotNull Table<Record>rowsFrom(Table<?>... tables)Create aROWS FROM (tables...)expression.static @NotNull WindowSpecificationExcludeSteprowsPreceding(int number)Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationExcludeSteprowsUnboundedFollowing()Create aWindowSpecificationwith aROWSclause.static @NotNull WindowSpecificationExcludeSteprowsUnboundedPreceding()Create aWindowSpecificationwith aROWSclause.static @NotNull Field<String>rpad(Field<String> field, int length)Get the rpad(field, length) function.static @NotNull Field<String>rpad(Field<String> field, int length, char character)Get the rpad(field, length, character) function.static @NotNull Field<String>rpad(Field<String> field, int length, String character)Get the rpad(field, length, character) function.static @NotNull Field<String>rpad(Field<String> field, Field<? extends Number> length)Get the rpad(field, length) function.static @NotNull Field<String>rpad(Field<String> field, Field<? extends Number> length, Field<String> character)Get the rpad(field, length, character) function.static @NotNull Field<String>rtrim(String value)Get the rtrim(field) function.static @NotNull Field<String>rtrim(String value, String characters)Get thertrim(field, characters)ortrim(trailing characters from field)function.static @NotNull Field<String>rtrim(Field<String> field)Get the rtrim(field) function.static @NotNull Field<String>rtrim(Field<String> field, Field<String> characters)Get thertrim(field, characters)ortrim(trailing characters from field)function.static @NotNull Schemaschema(String name)Create a qualified schema, given its schema name.static @NotNull Schemaschema(Name name)Create a qualified schema, given its schema name.static @NotNull SchemaschemaByName(String name)Deprecated.- [#3843] - 3.6.0 - useschema(Name)insteadstatic @NotNull Field<Integer>second(Temporal value)Get the second part of a date.static @NotNull Field<Integer>second(Date value)Get the second part of a date.static @NotNull Field<Integer>second(Field<?> field)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>>selectCount()Create a new DSL subselect statement forCOUNT(*).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>>selectOne()Create a new DSL subselect statement for a constant1literal.static @NotNull SelectSelectStep<Record1<Integer>>selectZero()Create a new DSL subselect statement for a constant0literal.static @NotNull Sequence<BigInteger>sequence(String sql)Deprecated.- 3.10 - [#6162] - Usesequence(Name)instead.static <T extends Number>
@NotNull Sequence<T>sequence(String sql, Class<T> type)Deprecated.- 3.10 - [#6162] - Usesequence(Name, Class)instead.static <T extends Number>
@NotNull Sequence<T>sequence(String sql, DataType<T> type)Deprecated.- 3.10 - [#6162] - Usesequence(Name, DataType)instead.static @NotNull Sequence<BigInteger>sequence(Name name)Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>sequence(Name name, Class<T> type)Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>sequence(Name name, DataType<T> type)Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>sequenceByName(Class<T> type, String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usesequence(Name, Class)insteadstatic @NotNull Sequence<BigInteger>sequenceByName(String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usesequence(Name)insteadstatic <T extends Number>
@NotNull Sequence<T>sequenceByName(DataType<T> type, String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usesequence(Name, DataType)insteadstatic @NotNull RowCountQueryset(Name name, Param<?> param)Set a vendor specific flag to a new value.static @NotNull RowCountQuerysetCatalog(String catalog)Set the current catalog to a new value.static @NotNull RowCountQuerysetCatalog(Catalog catalog)Set the current catalog to a new value.static @NotNull RowCountQuerysetCatalog(Name catalog)Set the current catalog to a new value.static @NotNull RowCountQuerysetSchema(String schema)Set the current schema to a new value.static @NotNull RowCountQuerysetSchema(Name schema)Set the current schema to a new value.static @NotNull RowCountQuerysetSchema(Schema schema)Set the current schema to a new value.static <T extends Number>
@NotNull Field<T>shl(Field<T> value1, Number value2)The bitwise left shift operator.static <T extends Number>
@NotNull Field<T>shl(Field<T> field1, Field<? extends Number> field2)The bitwise left shift operator.static <T extends Number>
@NotNull Field<T>shl(T value1, Number value2)The bitwise left shift operator.static <T extends Number>
@NotNull Field<T>shl(T value1, Field<? extends Number> value2)The bitwise left shift operator.static <T extends Number>
@NotNull Field<T>shr(Field<T> value1, Number value2)The bitwise right shift operator.static <T extends Number>
@NotNull Field<T>shr(Field<T> field1, Field<? extends Number> field2)The bitwise right shift operator.static <T extends Number>
@NotNull Field<T>shr(T value1, Number value2)The bitwise right shift operator.static <T extends Number>
@NotNull Field<T>shr(T value1, Field<? extends Number> value2)The bitwise right shift operator.static @NotNull Field<Integer>sign(Number value)Get the sign of a numeric field: sign(field).static @NotNull Field<Integer>sign(Field<? extends Number> field)Get the sign of a numeric field: sign(field).static @NotNull Field<BigDecimal>sin(Number value)Get the sine(field) function.static @NotNull Field<BigDecimal>sin(Field<? extends Number> field)Get the sine(field) function.static @NotNull Field<BigDecimal>sinh(Number value)Get the hyperbolic sine function: sinh(field).static @NotNull Field<BigDecimal>sinh(Field<? extends Number> field)Get the hyperbolic sine function: sinh(field).static @NotNull Field<String>space(int value)Get the SQL Server specificSPACE()function.static @NotNull Field<String>space(Field<Integer> value)Get the SQL Server specificSPACE()function.static @NotNull SQLsql(String sql)A custom SQL clause that can render arbitrary expressions.static @NotNull SQLsql(String sql, Object... bindings)A custom SQL clause that can render arbitrary expressions.static @NotNull SQLsql(String sql, QueryPart... parts)A custom SQL clause that can render arbitrary expressions.static @NotNull Field<BigDecimal>sqrt(Number value)Get the sqrt(field) function.static @NotNull Field<BigDecimal>sqrt(Field<? extends Number> field)Get the sqrt(field) function.static @NotNull Statementstatement(String sql)A custom procedural fragment that can render arbitrary statements.static @NotNull Statementstatement(String sql, Object... bindings)A custom procedural fragment that can render arbitrary statements.static @NotNull Statementstatement(String sql, QueryPart... parts)A custom procedural fragment that can render arbitrary statements.static @NotNull Statementstatement(SQL sql)A custom procedural fragment that can render arbitrary statements.static @NotNull Blockstatements(Collection<? extends Statement> statements)Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN ..static @NotNull Blockstatements(Statement... statements)Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN ..static @NotNull AggregateFunction<BigDecimal>stddevPop(Field<? extends Number> field)Get the population standard deviation of a numeric field: stddev_pop(field).static @NotNull AggregateFunction<BigDecimal>stddevSamp(Field<? extends Number> field)Get the sample standard deviation of a numeric field: stddev_samp(field).static @NotNull Field<String>substring(Field<String> field, int startingPosition)Get the substring(field, startingPosition) function.static @NotNull Field<String>substring(Field<String> field, int startingPosition, int length)Get the substring(field, startingPosition, length) function.static @NotNull Field<String>substring(Field<String> field, Field<? extends Number> startingPosition)Get the substring(field, startingPosition) function.static @NotNull Field<String>substring(Field<String> field, Field<? extends Number> startingPosition, Field<? extends Number> length)Get the substring(field, startingPosition, length) function.static @NotNull AggregateFunction<BigDecimal>sum(Field<? extends Number> field)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).static @NotNull Field<String>sysConnectByPath(Field<?> field, String separator)Retrieve the Oracle-specificSYS_CONNECT_BY_PATH(field, separator)function (to be used along withCONNECT BYclauses).static @NotNull Period<Timestamp>systemTime()Create aSYSTEM_TIMEPeriodreference.static <T> @NotNull Period<T>systemTime(Class<T> type)Create aSYSTEM_TIMEPeriodreference.static <T> @NotNull Period<T>systemTime(DataType<T> type)Create aSYSTEM_TIMEPeriodreference.static @NotNull Table<?>table(Object[] array)A synonym forunnest(Object[]).static @NotNull Table<Record>table(String sql)A custom SQL clause that can render arbitrary table expressions.static @NotNull Table<Record>table(String sql, Object... bindings)A custom SQL clause that can render arbitrary table expressions.static @NotNull Table<Record>table(String sql, QueryPart... parts)A custom SQL clause that can render arbitrary table expressions.static @NotNull Table<?>table(Collection<?> list)A synonym forunnest(Collection).static @NotNull Table<?>table(ArrayRecord<?> array)A synonym forunnest(ArrayRecord).static @NotNull Table<?>table(Field<?> cursor)A synonym forunnest(Field).static @NotNull Table<Record>table(Name name)Create a qualified table, given its table name.static @NotNull Table<Record>table(Name name, Comment comment)Create a qualified table, given its table name.static <R extends Record>
@NotNull Table<R>table(Result<R> result)Use a previously obtained result as a newTablethat can be used in SQL statements throughvalues(RowN...).static <R extends Record>
@NotNull Table<R>table(Select<R> select)A synonym forTableLike.asTable(), which might look a bit more fluent like this, to some users.static @NotNull Table<Record>table(SQL sql)A custom SQL clause that can render arbitrary table expressions.static <R extends Record>
@NotNull Table<R>table(R record)Use a previously obtained record as a new Tablestatic <R extends Record>
@NotNull Table<R>table(R... records)Use a previously obtained set of records as a new Tablestatic @NotNull Table<Record>tableByName(String... qualifiedName)Deprecated.- [#3843] - 3.6.0 - usetable(Name)insteadstatic @NotNull Field<BigDecimal>tan(Number value)Get the tangent(field) function.static @NotNull Field<BigDecimal>tan(Field<? extends Number> field)Get the tangent(field) function.static @NotNull Field<BigDecimal>tanh(Number value)Get the hyperbolic tangent function: tanh(field).static @NotNull Field<BigDecimal>tanh(Field<? extends Number> field)Get the hyperbolic tangent function: tanh(field).static @NotNull Field<BigDecimal>tau()Theτliteral, orπ, in a better world.static @NotNull Field<Time>time(String value)Convert a string value to aTIME.static @NotNull Field<Time>time(Date value)Convert a temporal value to aTIME.static @NotNull Field<Time>time(Field<? extends Date> field)Convert a temporal value to aTIME.static @NotNull Field<Timestamp>timestamp(String value)Convert a string value to aTIMESTAMP.static @NotNull Field<Timestamp>timestamp(Date value)Convert a temporal value to aTIMESTAMP.static @NotNull Field<Timestamp>timestamp(Field<? extends Date> field)Convert a temporal value to aTIMESTAMP.static @NotNull Field<Timestamp>timestampAdd(Timestamp timestamp, Number interval)Add an interval to a timestamp.static @NotNull Field<Timestamp>timestampAdd(Timestamp date, Number interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<Timestamp>timestampAdd(Timestamp date, Field<? extends Number> interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<Timestamp>timestampAdd(Field<Timestamp> date, Number interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<Timestamp>timestampAdd(Field<Timestamp> timestamp, Field<? extends Number> interval)Add an interval to a timestamp.static @NotNull Field<Timestamp>timestampAdd(Field<Timestamp> date, Field<? extends Number> interval, DatePart datePart)Add an interval to a timestamp, given a date part.static @NotNull Field<DayToSecond>timestampDiff(Timestamp timestamp1, Timestamp timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>timestampDiff(Timestamp timestamp1, Field<Timestamp> timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>timestampDiff(Field<Timestamp> timestamp1, Timestamp timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<DayToSecond>timestampDiff(Field<Timestamp> timestamp1, Field<Timestamp> timestamp2)Get the timestamp difference as aINTERVAL DAY TO SECONDtype.static @NotNull Field<Timestamp>timestampSub(Timestamp timestamp, Number interval)Subtract an interval from a timestamp.static @NotNull Field<Timestamp>timestampSub(Timestamp date, Number interval, DatePart datePart)Subtract an interval from a timestamp, given a date part.static @NotNull Field<Timestamp>timestampSub(Timestamp date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a timestamp, given a date part.static @NotNull Field<Timestamp>timestampSub(Field<Timestamp> date, Number interval, DatePart datePart)Subtract an interval from a timestamp, given a date part.static @NotNull Field<Timestamp>timestampSub(Field<Timestamp> timestamp, Field<? extends Number> interval)Subtract an interval from a timestamp.static @NotNull Field<Timestamp>timestampSub(Field<Timestamp> date, Field<? extends Number> interval, DatePart datePart)Subtract an interval from a timestamp, given a date part.static @NotNull Field<Integer>timezone(Temporal value)Get the timezone part of a date.static @NotNull Field<Integer>timezone(Date value)Get the timezone part of a date.static @NotNull Field<Integer>timezone(Field<?> field)Get the timezone part of a date.static @NotNull Field<Integer>timezoneHour(Temporal value)Get the timezoneHour part of a date.static @NotNull Field<Integer>timezoneHour(Date value)Get the timezoneHour part of a date.static @NotNull Field<Integer>timezoneHour(Field<?> field)Get the timezoneHour part of a date.static @NotNull Field<Integer>timezoneMinute(Temporal value)Get the timezoneMinute part of a date.static @NotNull Field<Integer>timezoneMinute(Date value)Get the timezoneMinute part of a date.static @NotNull Field<Integer>timezoneMinute(Field<?> field)Get the timezoneMinute part of a date.static @NotNull Field<String>toChar(Object value)The Oracle-specificTO_CHARfunction.static @NotNull Field<String>toChar(Object value, String formatMask)The Oracle-specificTO_CHARfunction.static @NotNull Field<String>toChar(Object value, Field<String> formatMask)The Oracle-specificTO_CHARfunction.static @NotNull Field<String>toChar(Field<?> value)The Oracle-specificTO_CHARfunction.static @NotNull Field<String>toChar(Field<?> value, String formatMask)The Oracle-specificTO_CHARfunction.static @NotNull Field<String>toChar(Field<?> value, Field<String> formatMask)The Oracle-specificTO_CHARfunction.static @NotNull Field<Date>toDate(String value, String format)Parse a value to aDATE.static @NotNull Field<Date>toDate(String value, Field<String> format)Parse a value to aDATE.static @NotNull Field<Date>toDate(Field<String> value, String format)Parse a value to aDATE.static @NotNull Field<Date>toDate(Field<String> value, Field<String> format)Parse a value to aDATE.static @NotNull Field<LocalDate>toLocalDate(String value, String format)Parse a value to aDATE.static @NotNull Field<LocalDate>toLocalDate(String value, Field<String> format)Parse a value to aDATE.static @NotNull Field<LocalDate>toLocalDate(Field<String> value, String format)Parse a value to aDATE.static @NotNull Field<LocalDate>toLocalDate(Field<String> value, Field<String> format)Parse a value to aDATE.static @NotNull Field<LocalDateTime>toLocalDateTime(String value, String format)Parse a value to aTIMESTAMP.static @NotNull Field<LocalDateTime>toLocalDateTime(String value, Field<String> format)Parse a value to aTIMESTAMP.static @NotNull Field<LocalDateTime>toLocalDateTime(Field<String> value, String format)Parse a value to aTIMESTAMP.static @NotNull Field<LocalDateTime>toLocalDateTime(Field<String> value, Field<String> format)Parse a value to aTIMESTAMP.static @NotNull Field<Timestamp>toTimestamp(String value, String format)Parse a value to aTIMESTAMP.static @NotNull Field<Timestamp>toTimestamp(String value, Field<String> format)Parse a value to aTIMESTAMP.static @NotNull Field<Timestamp>toTimestamp(Field<String> value, String format)Parse a value to aTIMESTAMP.static @NotNull Field<Timestamp>toTimestamp(Field<String> value, Field<String> format)Parse a value to aTIMESTAMP.static @NotNull Field<String>translate(Field<String> text, String from, String to)Get the translate(field, from, to) function.static @NotNull Field<String>translate(Field<String> text, Field<String> from, Field<String> to)Get the translate(field, from, to) function.static @NotNull Field<String>trim(String value)Get the trim(field) function.static @NotNull Field<String>trim(String value, String characters)Get thetrim(field, characters)ortrim(both characters from field)function.static @NotNull Field<String>trim(Field<String> field)Get the trim(field) function.static @NotNull Field<String>trim(Field<String> field, Field<String> characters)Get thetrim(field, characters)ortrim(both characters from field)function.static @NotNull TruetrueCondition()Return aConditionthat will always evaluate to true.static @NotNull Field<Date>trunc(Date date)Truncate a date to the beginning of the day.static @NotNull Field<Date>trunc(Date date, DatePart part)Truncate a date to a given datepart.static @NotNull Field<Timestamp>trunc(Timestamp timestamp)Truncate a timestamp to the beginning of the day.static @NotNull Field<Timestamp>trunc(Timestamp timestamp, DatePart part)Truncate a timestamp to a given datepart.static @NotNull Field<LocalDate>trunc(LocalDate date)Truncate a date to the beginning of the day.static @NotNull Field<LocalDate>trunc(LocalDate date, DatePart part)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>trunc(Field<T> date)Truncate a date or a timestamp to the beginning of the day.static <T extends Number>
@NotNull Field<T>trunc(Field<T> number, int decimals)Truncate a number to a given number of decimals.static <T> @NotNull Field<T>trunc(Field<T> date, DatePart part)Truncate a date or a timestamp to a given datepart.static <T extends Number>
@NotNull Field<T>trunc(Field<T> number, Field<Integer> decimals)Truncate a number to a given number of decimals.static <T extends Number>
@NotNull Field<T>trunc(T number)Truncate a number to a given number of decimals.static <T extends Number>
@NotNull Field<T>trunc(T number, int decimals)Truncate a number to a given number of decimals.static <T extends Number>
@NotNull Field<T>trunc(T number, Field<Integer> decimals)Truncate a number to a given number of decimals.static @NotNull TruncateIdentityStep<Record>truncate(String table)Create a new DSL truncate statement.static @NotNull TruncateIdentityStep<Record>truncate(Name table)Create a new DSL truncate statement.static <R extends Record>
@NotNull TruncateIdentityStep<R>truncate(Table<R> table)Create a new DSL truncate statement.static @NotNull TruncateIdentityStep<Record>truncateTable(String table)Create a new DSL truncate statement.static @NotNull TruncateIdentityStep<Record>truncateTable(Name table)Create a new DSL truncate statement.static <R extends Record>
@NotNull TruncateIdentityStep<R>truncateTable(Table<R> table)Create a new DSL truncate statement.static @NotNull Param<Integer>two()A2literal.static @NotNull ConstraintEnforcementStepunique(String... fields)Create an unnamed (system named)UNIQUEconstraint.static @NotNull ConstraintEnforcementStepunique(Field<?>... fields)Create an unnamed (system named)UNIQUEconstraint.static @NotNull ConstraintEnforcementStepunique(Name... fields)Create an unnamed (system named)UNIQUEconstraint.static @NotNull Conditionunique(Select<?> query)Create a unique condition.static @NotNull Table<?>unnest(Object[] array)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<?>unnest(Field<?> cursor)Create a table from a field.static @NotNull NameunquotedName(String unqualifiedName)Create a new SQL identifier using an unqualified, quoted name.static @NotNull NameunquotedName(String... qualifiedName)Create a new SQL identifier using a qualified, quoted name.static @NotNull NameunquotedName(Collection<String> qualifiedName)Create a new SQL identifier using a qualified, quoted name.static <R extends Record>
@NotNull UpdateSetFirstStep<R>update(Table<R> table)Create a new DSL update statement.static @NotNull Field<String>upper(String value)Get the upper(field) function.static @NotNull Field<String>upper(Field<String> field)Get the upper(field) function.static @NotNull Useruser(String name)Create a new user reference.static @NotNull Useruser(Name name)Create a new user reference.static @NotNull CloseableDSLContextusing(String url)Create an executor from a JDBC connection URL.static @NotNull CloseableDSLContextusing(String url, String username, String password)Create an executor from a JDBC connection URL.static @NotNull CloseableDSLContextusing(String url, Properties properties)Create an executor from a JDBC connection URL.static @NotNull DSLContextusing(Connection connection)Create an executor with a connection configured.static @NotNull DSLContextusing(Connection connection, Settings settings)Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContextusing(Connection connection, SQLDialect dialect)Create an executor with a connection and a dialect configured.static @NotNull DSLContextusing(Connection connection, SQLDialect dialect, Settings settings)Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContextusing(DataSource datasource, SQLDialect dialect)Create an executor with a data source and a dialect configured.static @NotNull DSLContextusing(DataSource datasource, SQLDialect dialect, Settings settings)Create an executor with a data source, a dialect and settings configured.static @NotNull DSLContextusing(Configuration configuration)Create an executor from a custom configuration.static @NotNull DSLContextusing(ConnectionProvider connectionProvider, SQLDialect dialect)Create an executor with a custom connection provider and a dialect configured.static @NotNull DSLContextusing(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings)Create an executor with a custom connection provider, a dialect and settings configured.static @NotNull DSLContextusing(SQLDialect dialect)Create an executor with a dialect configured.static @NotNull DSLContextusing(SQLDialect dialect, Settings settings)Create an executor with a dialect and settings configured.static @NotNull Param<Boolean>val(boolean value)Get a bind value.static @NotNull Param<Byte>val(byte value)Get a bind value.static @NotNull Param<byte[]>val(byte[] value)Get a bind value.static @NotNull Param<Double>val(double value)Get a bind value.static @NotNull Param<Float>val(float value)Get a bind value.static @NotNull Param<Integer>val(int value)Get a bind value.static @NotNull Param<Long>val(long value)Get a bind value.static @NotNull Param<Short>val(short value)Get a bind value.static @NotNull Param<Boolean>val(Boolean value)Get a bind value.static @NotNull Param<Byte>val(Byte value)Get a bind value.static @NotNull Param<Double>val(Double value)Get a bind value.static @NotNull Param<Float>val(Float value)Get a bind value.static @NotNull Param<Integer>val(Integer value)Get a bind value.static @NotNull Param<Long>val(Long value)Get a bind value.static <T> @NotNull Param<T>val(Object value, Class<T> type)Get a bind value with an associated type, taken from a field.static <T> @NotNull Param<T>val(Object value, DataType<T> type)Get a bind value with an associated type.static <T> @NotNull Param<T>val(Object value, Field<T> field)Get a bind value with an associated type, taken from a field.static @NotNull Param<Short>val(Short value)Get a bind value.static @NotNull Param<String>val(String 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.static @NotNull Param<Date>val(Date value)Get a bind value.static @NotNull Param<Time>val(Time value)Get a bind value.static @NotNull Param<Timestamp>val(Timestamp value)Get a bind value.static @NotNull Param<Instant>val(Instant value)Get a bind value.static @NotNull Param<LocalDate>val(LocalDate value)Get a bind value.static @NotNull Param<LocalDateTime>val(LocalDateTime value)Get a bind value.static @NotNull Param<LocalTime>val(LocalTime 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.static @NotNull Param<UUID>val(UUID value)Get a bind value.static @NotNull Param<JSON>val(JSON value)Get a bind value.static @NotNull Param<JSONB>val(JSONB value)Get a bind value.static @NotNull Param<UByte>val(UByte value)Get a bind value.static @NotNull Param<UInteger>val(UInteger value)Get a bind value.static @NotNull Param<ULong>val(ULong value)Get a bind value.static @NotNull Param<UShort>val(UShort value)Get a bind value.static @NotNull Param<XML>val(XML value)Get a bind value.static <T> @NotNull Param<T>val(T value)Get a bind value.static @NotNull Param<Boolean>value(boolean value)A synonym forval(boolean)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Byte>value(byte value)A synonym forval(byte)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<byte[]>value(byte[] value)A synonym forval(byte[])to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Double>value(double value)A synonym forval(double)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Float>value(float value)A synonym forval(float)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Integer>value(int value)A synonym forval(int)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Long>value(long value)A synonym forval(long)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Short>value(short value)A synonym forval(short)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Boolean>value(Boolean value)A synonym forval(Boolean)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Byte>value(Byte value)A synonym forval(Byte)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Field<T>value(Class<T> type)Create theVALUEpseudo field for usage withDOMAINspecifications.static @NotNull Param<Double>value(Double value)A synonym forval(Double)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Float>value(Float value)A synonym forval(Float)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Integer>value(Integer value)A synonym forval(Integer)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Long>value(Long value)A synonym forval(Long)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Param<T>value(Object value, Class<T> type)A synonym forval(Object, Class)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Param<T>value(Object value, DataType<T> type)A synonym forval(Object, DataType)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Param<T>value(Object value, Field<T> field)A synonym forval(Object, Field)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Short>value(Short value)A synonym forval(Short)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<String>value(String value)A synonym forval(String)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<BigDecimal>value(BigDecimal value)A synonym forval(BigDecimal)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<BigInteger>value(BigInteger value)A synonym forval(BigInteger)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Date>value(Date value)A synonym forval(Date)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Time>value(Time value)A synonym forval(Time)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Timestamp>value(Timestamp value)A synonym forval(Timestamp)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<Instant>value(Instant value)A synonym forval(Instant)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<LocalDate>value(LocalDate value)A synonym forval(LocalDate)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<LocalDateTime>value(LocalDateTime value)A synonym forval(LocalDateTime)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<LocalTime>value(LocalTime value)A synonym forval(LocalTime)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<OffsetDateTime>value(OffsetDateTime value)A synonym forval(OffsetDateTime)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<OffsetTime>value(OffsetTime value)A synonym forval(OffsetTime)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<UUID>value(UUID value)A synonym forval(UUID)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Field<T>value(DataType<T> type)Create theVALUEpseudo field for usage withDOMAINspecifications.static @NotNull Param<JSON>value(JSON value)A synonym forval(JSON)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<JSONB>value(JSONB value)A synonym forval(JSONB)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<UByte>value(UByte value)A synonym forval(UByte)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<UInteger>value(UInteger value)A synonym forval(UInteger)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<ULong>value(ULong value)A synonym forval(ULong)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<UShort>value(UShort value)A synonym forval(UShort)to be used in Scala and Groovy, wherevalis a reserved keyword.static @NotNull Param<XML>value(XML value)A synonym forval(XML)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T> @NotNull Param<T>value(T value)A synonym forval(Object)to be used in Scala and Groovy, wherevalis a reserved keyword.static <T1> @NotNull Table<Record1<T1>>values(Row1<T1>... rows)Create aVALUES()expression of degree1.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 aVALUES()expression of degree10.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 aVALUES()expression of degree11.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 aVALUES()expression of degree12.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 aVALUES()expression of degree13.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 aVALUES()expression of degree14.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 aVALUES()expression of degree15.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 aVALUES()expression of degree16.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 aVALUES()expression of degree17.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 aVALUES()expression of degree18.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 aVALUES()expression of degree19.static <T1,T2>
@NotNull Table<Record2<T1,T2>>values(Row2<T1,T2>... rows)Create aVALUES()expression of degree2.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 aVALUES()expression of degree20.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 aVALUES()expression of degree21.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 aVALUES()expression of degree22.static <T1,T2,T3>
@NotNull Table<Record3<T1,T2,T3>>values(Row3<T1,T2,T3>... rows)Create aVALUES()expression of degree3.static <T1,T2,T3,T4>
@NotNull Table<Record4<T1,T2,T3,T4>>values(Row4<T1,T2,T3,T4>... rows)Create aVALUES()expression of degree4.static <T1,T2,T3,T4,T5>
@NotNull Table<Record5<T1,T2,T3,T4,T5>>values(Row5<T1,T2,T3,T4,T5>... rows)Create aVALUES()expression of degree5.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 aVALUES()expression of degree6.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 aVALUES()expression of degree7.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 aVALUES()expression of degree8.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 aVALUES()expression of degree9.static @NotNull Table<Record>values(RowN... rows)Create aVALUES()expression of arbitrary degree.static <T> @NotNull Variable<T>var(String name, DataType<T> type)Create a local variable reference for use in procedural code.static <T> @NotNull Variable<T>var(Name name, DataType<T> type)Create a local variable reference for use in procedural code.static <T> @NotNull Variable<T>variable(String name, DataType<T> type)A synonym forvar(Name, DataType)to be used in Scala and Groovy, wherevaris a reserved keyword.static <T> @NotNull Variable<T>variable(Name name, DataType<T> type)A synonym forvar(Name, DataType)to be used in Scala and Groovy, wherevaris a reserved keyword.static @NotNull AggregateFunction<BigDecimal>varPop(Field<? extends Number> field)Get the population variance of a numeric field: var_pop(field).static @NotNull AggregateFunction<BigDecimal>varSamp(Field<? extends Number> field)Get the sample variance of a numeric field: var_samp(field).static @NotNull Field<Integer>week(Temporal value)Get the week part of a date.static @NotNull Field<Integer>week(Date value)Get the week part of a date.static @NotNull Field<Integer>week(Field<?> field)Get the week part of a date.static <T> @NotNull CaseConditionStep<T>when(Condition condition, Field<T> result)Initialise aCasestatement.static <T> @NotNull CaseConditionStep<T>when(Condition condition, Select<? extends Record1<T>> result)Initialise aCasestatement.static <T> @NotNull CaseConditionStep<T>when(Condition condition, T result)Initialise aCasestatement.static <T> @NotNull CaseConditionStep<T>when(Field<Boolean> condition, Field<T> result)Initialise aCasestatement.static <T> @NotNull CaseConditionStep<T>when(Field<Boolean> condition, Select<? extends Record1<T>> result)Initialise aCasestatement.static <T> @NotNull CaseConditionStep<T>when(Field<Boolean> condition, T result)Initialise aCasestatement.static @NotNull LoopStepwhile_(Condition condition)Create aWHILEloop for use in procedural code.static <T extends Number>
@NotNull Field<T>widthBucket(Field<T> field, Field<T> low, Field<T> high, Field<Integer> buckets)Get theWIDTH_BUCKETfunction which divides a range (low, high) in buckets of equal size.static <T extends Number>
@NotNull Field<T>widthBucket(Field<T> field, T low, T high, int buckets)Get theWIDTH_BUCKETfunction which divides a range (low, high) in buckets of equal size.static @NotNull WithAsStepwith(String alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep1with(String alias, String fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(String alias, String... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep2with(String alias, String fieldAlias1, String fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep3with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep4with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep5with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep6with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep7with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep8with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep9with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8, String fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep10with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8, String fieldAlias9, String fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep11with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep12with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep13with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep14with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep15with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep16with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep17with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep18with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep19with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep20with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep21with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep22with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(String alias, Collection<String> fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(String alias, Function<? super Field<?>,? extends String> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull WithStepwith(Collection<? extends CommonTableExpression<?>> tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithStepwith(CommonTableExpression<?>... tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(Name alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(Name alias, Collection<? extends Name> fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep1with(Name alias, Name fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwith(Name alias, Name... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep2with(Name alias, Name fieldAlias1, Name fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep3with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep4with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep5with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep6with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep7with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep8with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep9with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep10with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep11with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep12with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep13with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep14with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep15with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep16with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep17with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep18with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep19with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep20with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep21with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep22with(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(String alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep1withRecursive(String alias, String fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(String alias, String... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep2withRecursive(String alias, String fieldAlias1, String fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep3withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep4withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep5withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep6withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep7withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep8withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep9withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8, String fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep10withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5, String fieldAlias6, String fieldAlias7, String fieldAlias8, String fieldAlias9, String fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep11withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep12withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep13withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep14withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep15withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep16withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep17withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep18withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep19withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep20withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep21withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep22withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(String alias, Collection<String> fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(String alias, Function<? super Field<?>,? extends String> fieldNameFunction)Deprecated.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.static @NotNull WithStepwithRecursive(Collection<? extends CommonTableExpression<?>> tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithStepwithRecursive(CommonTableExpression<?>... tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(Name alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(Name alias, Collection<? extends Name> fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep1withRecursive(Name alias, Name fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStepwithRecursive(Name alias, Name... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep2withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep3withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep4withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep5withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep6withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep7withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep8withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep9withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep10withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep11withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep12withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep13withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep14withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep15withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep16withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep17withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep18withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep19withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep20withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep21withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull WithAsStep22withRecursive(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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.static @NotNull XMLAggOrderByStep<XML>xmlagg(Field<XML> field)The XML aggregate function.static @NotNull XMLAttributesxmlattributes(Collection<? extends Field<?>> attributes)The XML attributes constructor.static @NotNull XMLAttributesxmlattributes(Field<?>... attributes)The XML attributes constructor.static @NotNull Field<XML>xmlcomment(String comment)The XML comment constructor.static @NotNull Field<XML>xmlcomment(Field<String> comment)The XML comment constructor.static @NotNull Field<XML>xmlconcat(Collection<? extends Field<?>> fields)The XML concat function.static @NotNull Field<XML>xmlconcat(Field<?>... fields)The XML concat function.static @NotNull Field<XML>xmldocument(Field<XML> content)The XML document constructor.static @NotNull Field<XML>xmlelement(String name, Collection<? extends Field<?>> content)The XML element constructor.static @NotNull Field<XML>xmlelement(String name, Field<?>... content)The XML element constructor.static @NotNull Field<XML>xmlelement(String name, XMLAttributes attributes, Collection<? extends Field<?>> content)The XML element constructor.static @NotNull Field<XML>xmlelement(String name, XMLAttributes attributes, Field<?>... content)The XML element constructor.static @NotNull Field<XML>xmlelement(Name name, Collection<? extends Field<?>> content)The XML element constructor.static @NotNull Field<XML>xmlelement(Name name, Field<?>... content)The XML element constructor.static @NotNull Field<XML>xmlelement(Name name, XMLAttributes attributes, Collection<? extends Field<?>> content)The XML element constructor.static @NotNull Field<XML>xmlelement(Name name, XMLAttributes attributes, Field<?>... content)The XML element constructor.static @NotNull XMLExistsPassingStepxmlexists(String xpath)The XML exists function.static @NotNull XMLExistsPassingStepxmlexists(Field<String> xpath)The XML exists function.static @NotNull Field<XML>xmlforest(Collection<? extends Field<?>> fields)The XML forest constructor.static @NotNull Field<XML>xmlforest(Field<?>... fields)The XML forest constructor.static @NotNull Field<XML>xmlparseContent(String content)The XML parse function.static @NotNull Field<XML>xmlparseContent(Field<String> content)The XML parse function.static @NotNull Field<XML>xmlparseDocument(String content)The XML parse function.static @NotNull Field<XML>xmlparseDocument(Field<String> content)The XML parse function.static @NotNull Field<XML>xmlpi(String target)The XML processing instruction constructor.static @NotNull Field<XML>xmlpi(String target, Field<?> content)The XML processing instruction constructor.static @NotNull Field<XML>xmlpi(Name target)The XML processing instruction constructor.static @NotNull Field<XML>xmlpi(Name target, Field<?> content)The XML processing instruction constructor.static @NotNull XMLQueryPassingStepxmlquery(String xpath)The XML query function.static @NotNull XMLQueryPassingStepxmlquery(Field<String> xpath)The XML query function.static @NotNull XMLTablePassingStepxmltable(String xpath)The XML table function.static @NotNull XMLTablePassingStepxmltable(Field<String> xpath)The XML table function.static @NotNull Field<Integer>year(Temporal value)Get the year part of a date.static @NotNull Field<Integer>year(Date value)Get the year part of a date.static @NotNull Field<Integer>year(Field<?> field)Get the year part of a date.static @NotNull Param<Integer>zero()A0literal.
-
-
-
Method Detail
-
using
@NotNull public static @NotNull DSLContext using(SQLDialect dialect)
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
@NotNull public static @NotNull DSLContext using(SQLDialect dialect, Settings settings)
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 executorsettings- The runtime settings to apply to objects created from this executor
-
using
@NotNull public static @NotNull CloseableDSLContext using(String url)
Create an executor from a JDBC connection URL.Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()on the resultingDSLContext. For example:// Auto-closing DSLContext instance to free resources try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test")) { // ... }- 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 connection URL.Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()on the resultingDSLContext. For example:// Auto-closing DSLContext instance to free resources try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test", "sa", "")) { // ... }- Parameters:
url- The connection URL.username- The connection user name.password- The connection password.- See Also:
DefaultConnectionProvider,JDBCUtils.dialect(String)
-
using
@NotNull public static @NotNull CloseableDSLContext using(String url, Properties properties)
Create an executor from a JDBC connection URL.Clients must ensure connections are closed properly by calling
CloseableDSLContext.close()on the resultingDSLContext. For example:// Auto-closing DSLContext instance to free resources try (CloseableDSLContext ctx = DSL.using("jdbc:h2:~/test", properties)) { // ... }- Parameters:
url- The connection URL.properties- The connection properties.- See Also:
DefaultConnectionProvider,JDBCUtils.dialect(String)
-
using
@NotNull public static @NotNull DSLContext using(Connection connection)
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 theSQLDialectusingJDBCUtils.dialect(Connection)- Parameters:
connection- The connection to use with objects created from this executor- See Also:
DefaultConnectionProvider,JDBCUtils.dialect(Connection)
-
using
@NotNull public static @NotNull DSLContext using(Connection connection, SQLDialect dialect)
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 aDefaultConnectionProvider- Parameters:
connection- The connection to use with objects created from this executordialect- The dialect to use with objects created from this executor- See Also:
DefaultConnectionProvider
-
using
@NotNull public static @NotNull DSLContext using(Connection connection, 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 aDefaultConnectionProviderand guessing theSQLDialectusingJDBCUtils.dialect(Connection)- Parameters:
connection- The connection to use with objects created from this executorsettings- 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 aDefaultConnectionProvider- Parameters:
connection- The connection to use with objects created from this executordialect- The dialect to use with objects created from this executorsettings- The runtime settings to apply to objects created from this executor- See Also:
DefaultConnectionProvider
-
using
@NotNull public static @NotNull DSLContext using(DataSource datasource, SQLDialect dialect)
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 aDataSourceConnectionProvider- Parameters:
datasource- The data source to use with objects created from this executordialect- 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 aDataSourceConnectionProvider- Parameters:
datasource- The data source to use with objects created from this executordialect- The dialect to use with objects created from this executorsettings- 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 connectionsdialect- 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 connectionsdialect- The dialect to use with objects created from this executorsettings- The runtime settings to apply to objects created from this executor
-
using
@NotNull public static @NotNull DSLContext using(Configuration configuration)
Create an executor from a custom configuration.- Parameters:
configuration- The configuration
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(String alias)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String)for strictly non-recursive CTE andwithRecursive(String)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(String alias, String... fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(String alias, Collection<String> fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(Name alias)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name)for strictly non-recursive CTE andwithRecursive(Name)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(Name alias, Name... fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name, Name...)for strictly non-recursive CTE andwithRecursive(Name, Name...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(Name alias, Collection<? extends Name> fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name, Name...)for strictly non-recursive CTE andwithRecursive(Name, Name...)for strictly recursive CTE.
-
with
@Deprecated @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep with(String alias, Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated.- 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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(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'sSelectcolumns as input.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep1 with(String alias, String fieldAlias1)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep2 with(String alias, String fieldAlias1, String fieldAlias2)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep3 with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep4 with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep5 with(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep1 with(Name alias, Name fieldAlias1)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep2 with(Name alias, Name fieldAlias1, Name fieldAlias2)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep3 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep4 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithAsStep5 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithStep with(CommonTableExpression<?>... tables)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.Reusable
CommonTableExpressiontypes can be constructed throughThe
RECURSIVEkeyword 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 usewith(CommonTableExpression...)for strictly non-recursive CTE andwithRecursive(CommonTableExpression...)for strictly recursive CTE.
-
with
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WithStep with(Collection<? extends CommonTableExpression<?>> tables)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.Reusable
CommonTableExpressiontypes can be constructed throughThe
RECURSIVEkeyword 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 usewith(CommonTableExpression...)for strictly non-recursive CTE andwithRecursive(CommonTableExpression...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(String alias)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String)for strictly non-recursive CTE andwithRecursive(String)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon table expression lists.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(String alias, String... fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon table expression lists.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(String alias, Collection<String> fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon table expression lists.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(Name alias)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name)for strictly non-recursive CTE andwithRecursive(Name)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon table expression lists.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(Name alias, Name... fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name, Name...)for strictly non-recursive CTE andwithRecursive(Name, Name...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(Name alias, Collection<? extends Name> fieldAliases)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(Name, Name...)for strictly non-recursive CTE andwithRecursive(Name, Name...)for strictly recursive CTE.
-
withRecursive
@Deprecated @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep withRecursive(String alias, Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated.- 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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon 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'sSelectcolumns as input.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep1 withRecursive(String alias, String fieldAlias1)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep2 withRecursive(String alias, String fieldAlias1, String fieldAlias2)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep3 withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep4 withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep5 withRecursive(String alias, String fieldAlias1, String fieldAlias2, String fieldAlias3, String fieldAlias4, String fieldAlias5)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep1 withRecursive(Name alias, Name fieldAlias1)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep2 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep3 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep4 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithAsStep5 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.The
RECURSIVEkeyword 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 usewith(String, String...)for strictly non-recursive CTE andwithRecursive(String, String...)for strictly recursive CTE.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithStep withRecursive(CommonTableExpression<?>... tables)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.Reusable
CommonTableExpressiontypes can be constructed throughThe
RECURSIVEkeyword 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 usewith(CommonTableExpression...)for strictly non-recursive CTE andwithRecursive(CommonTableExpression...)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon table expression lists.
-
withRecursive
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull WithStep withRecursive(Collection<? extends CommonTableExpression<?>> tables)
Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.Reusable
CommonTableExpressiontypes can be constructed throughThe
RECURSIVEkeyword 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 usewith(CommonTableExpression...)for strictly non-recursive CTE andwithRecursive(CommonTableExpression...)for strictly recursive CTE.Note that the
SQLDialect.H2database only supports single-table,RECURSIVEcommon 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
TableLike.fields(). If no known columns are available (e.g. because the table has been created usingtable(String)), thenSELECT *is projected.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
@NotNull @Support public static @NotNull SelectWhereStep<Record> selectFrom(Name table)
Create a new DSL select statement, projecting*.Without knowing any columns from the argument table (see
selectFrom(Table)), this will projectSELECT *.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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)
SELECT * FROM table
- See Also:
table(Name)
-
selectFrom
@NotNull @Support @PlainSQL public static @NotNull SelectWhereStep<Record> selectFrom(SQL sql)
Create a new DSL select statement, projecting*.Without knowing any columns from the argument table (see
selectFrom(Table)), this will projectSELECT *.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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)
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
@NotNull @Support @PlainSQL public static @NotNull SelectWhereStep<Record> selectFrom(String sql)
Create a new DSL select statement, projecting*.Without knowing any columns from the argument table (see
selectFrom(Table)), this will projectSELECT *.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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)
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 projectSELECT *.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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)
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 projectSELECT *.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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)
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
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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.colNif 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
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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.colNif 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 byField.in(Select),Field.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow2.in(Select),Row2.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow3.in(Select),Row3.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow4.in(Select),Row4.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow5.in(Select),Row5.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow6.in(Select),Row6.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow7.in(Select),Row7.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow8.in(Select),Row8.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow9.in(Select),Row9.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow10.in(Select),Row10.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow11.in(Select),Row11.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow12.in(Select),Row12.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow13.in(Select),Row13.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow14.in(Select),Row14.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow15.in(Select),Row15.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow16.in(Select),Row16.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow17.in(Select),Row17.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow18.in(Select),Row18.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow19.in(Select),Row19.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow20.in(Select),Row20.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow21.in(Select),Row21.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow22.in(Select),Row22.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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.colNif 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
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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.colNif 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 byField.in(Select),Field.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow2.in(Select),Row2.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow3.in(Select),Row3.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow4.in(Select),Row4.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow5.in(Select),Row5.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow6.in(Select),Row6.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow7.in(Select),Row7.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow8.in(Select),Row8.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow9.in(Select),Row9.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow10.in(Select),Row10.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow11.in(Select),Row11.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow12.in(Select),Row12.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow13.in(Select),Row13.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow14.in(Select),Row14.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow15.in(Select),Row15.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow16.in(Select),Row16.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow17.in(Select),Row17.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow18.in(Select),Row18.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow19.in(Select),Row19.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow20.in(Select),Row20.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow21.in(Select),Row21.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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 byRow22.in(Select),Row22.equal(Select)and other predicate building methods taking subselect arguments.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
@NotNull @Support public static @NotNull SelectSelectStep<Record1<Integer>> selectZero()
Create a new DSL subselect statement for a constant0literal.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
@NotNull @Support public static @NotNull SelectSelectStep<Record1<Integer>> selectOne()
Create a new DSL subselect statement for a constant1literal.Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
@NotNull @Support public static @NotNull SelectSelectStep<Record1<Integer>> selectCount()
Create a new DSL subselect statement forCOUNT(*).Unlike
Selectfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableSELECTstatement. 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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.This type of insert may feel more convenient to some users, as it uses the
UPDATEstatement'sSET a = bsyntax.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Insertfactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableINSERTstatement.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
Updatefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableUPDATEstatement.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,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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
Mergefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableMERGEstatement.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 @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <R extends Record,T1> @NotNull MergeKeyStep1<R,T1> mergeInto(Table<R> table, Field<T1> field1)
Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)Create a new DSL merge statement (H2-specific syntax).Unlike
Mergefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableMERGEstatement.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 www.h2database.com/html/grammar.html#merge 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 @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,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.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viamergeInto(Table)Create a new DSL merge statement (H2-specific syntax).Unlike
Mergefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableMERGEstatement.- 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
Deletefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableDELETEstatement.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)
-
commentOnTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnTable(String tableName)
Create a new DSLCOMMENT ON TABLEstatement.
-
commentOnTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnTable(Name tableName)
Create a new DSLCOMMENT ON TABLEstatement.
-
commentOnTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnTable(Table<?> table)
Create a new DSLCOMMENT ON TABLEstatement.
-
commentOnView
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnView(String viewName)
Create a new DSLCOMMENT ON VIEWstatement.
-
commentOnView
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnView(Name viewName)
Create a new DSLCOMMENT ON VIEWstatement.
-
commentOnView
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnView(Table<?> view)
Create a new DSLCOMMENT ON VIEWstatement.
-
commentOnColumn
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnColumn(Name columnName)
Create a new DSLCOMMENT ON COLUMNstatement.- See Also:
DSLContext.commentOnColumn(Name)
-
commentOnColumn
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,MARIADB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CommentOnIsStep commentOnColumn(Field<?> field)
Create a new DSLCOMMENT ON COLUMNstatement.- See Also:
DSLContext.commentOnColumn(Field)
-
constraint
@NotNull @Support public static @NotNull ConstraintTypeStep constraint()
Create an unnamed (system named)CONSTRAINTspecification.
-
constraint
@NotNull @Support public static @NotNull ConstraintTypeStep constraint(Name name)
Create aCONSTRAINTspecification.
-
constraint
@NotNull @Support public static @NotNull ConstraintTypeStep constraint(String name)
Create aCONSTRAINTspecification.
-
primaryKey
@NotNull @Support public static @NotNull ConstraintEnforcementStep primaryKey(String... fields)
Create an unnamed (system named)PRIMARY KEYconstraint.
-
primaryKey
@NotNull @Support public static @NotNull ConstraintEnforcementStep primaryKey(Name... fields)
Create an unnamed (system named)PRIMARY KEYconstraint.
-
primaryKey
@NotNull @Support public static @NotNull ConstraintEnforcementStep primaryKey(Field<?>... fields)
Create an unnamed (system named)PRIMARY KEYconstraint.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(String... fields)
Add aFOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(Name... fields)
Add aFOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStepN foreignKey(Field<?>... fields)
Add aFOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static <T1> @NotNull ConstraintForeignKeyReferencesStep1<T1> foreignKey(Field<T1> field1)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static <T1,T2> @NotNull ConstraintForeignKeyReferencesStep2<T1,T2> foreignKey(Field<T1> field1, Field<T2> field2)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep1<?> foreignKey(Name field1)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep2<?,?> foreignKey(Name field1, Name field2)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?> foreignKey(Name field1, Name field2, Name field3)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?> foreignKey(Name field1, Name field2, Name field3, Name field4)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?> foreignKey(Name field1, Name field2, Name field3, Name field4, Name field5)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep1<?> foreignKey(String field1)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep2<?,?> foreignKey(String field1, String field2)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep3<?,?,?> foreignKey(String field1, String field2, String field3)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep4<?,?,?,?> foreignKey(String field1, String field2, String field3, String field4)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
foreignKey
@NotNull @Support public static @NotNull ConstraintForeignKeyReferencesStep5<?,?,?,?,?> foreignKey(String field1, String field2, String field3, String field4, String field5)
Add an unnamed (system named)FOREIGN KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
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 KEYclause to theCONSTRAINT.
-
unique
@NotNull @Support public static @NotNull ConstraintEnforcementStep unique(String... fields)
Create an unnamed (system named)UNIQUEconstraint.
-
unique
@NotNull @Support public static @NotNull ConstraintEnforcementStep unique(Name... fields)
Create an unnamed (system named)UNIQUEconstraint.
-
unique
@NotNull @Support public static @NotNull ConstraintEnforcementStep unique(Field<?>... fields)
Create an unnamed (system named)UNIQUEconstraint.
-
check
@NotNull @Support({ACCESS,ASE,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull ConstraintEnforcementStep check(Condition condition)
Create an unnamed (system named)CHECKconstraint.
-
setCatalog
@NotNull @Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SQLSERVER,TERADATA}) public static @NotNull RowCountQuery setCatalog(String catalog)
Set the current catalog to a new value.- See Also:
catalog(Name)
-
setCatalog
@NotNull @Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SQLSERVER,TERADATA}) public static @NotNull RowCountQuery setCatalog(Name catalog)
Set the current catalog to a new value.- See Also:
catalog(Name)
-
setCatalog
@NotNull @Support({AURORA_MYSQL,MARIADB,MEMSQL,MYSQL,SQLSERVER,TERADATA}) public static @NotNull RowCountQuery setCatalog(Catalog catalog)
Set the current catalog to a new value.
-
setSchema
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA}) public static @NotNull RowCountQuery setSchema(String schema)
Set the current schema to a new value.- See Also:
schema(Name),DSLContext.setSchema(String)
-
setSchema
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA}) public static @NotNull RowCountQuery setSchema(Name schema)
Set the current schema to a new value.- See Also:
schema(Name),DSLContext.setSchema(Name)
-
setSchema
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,TERADATA,VERTICA}) public static @NotNull RowCountQuery setSchema(Schema schema)
Set the current schema to a new value.- See Also:
DSLContext.setSchema(Schema)
-
set
@NotNull @Support({AURORA_MYSQL,MEMSQL,MYSQL}) public static @NotNull RowCountQuery set(Name name, Param<?> param)
Set a vendor specific flag to a new value.- See Also:
DSLContext.set(Name, Param)
-
createDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabase(String database)
TheCREATE DATABASEstatement.- See Also:
DSLContext.createDatabase(String)
-
createDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabase(Name database)
TheCREATE DATABASEstatement.- See Also:
DSLContext.createDatabase(Name)
-
createDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabase(Catalog database)
TheCREATE DATABASEstatement.- See Also:
DSLContext.createDatabase(Catalog)
-
createDatabaseIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabaseIfNotExists(String database)
TheCREATE DATABASE IF NOT EXISTSstatement.
-
createDatabaseIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabaseIfNotExists(Name database)
TheCREATE DATABASE IF NOT EXISTSstatement.
-
createDatabaseIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,SQLDATAWAREHOUSE,SQLSERVER}) public static CreateDatabaseFinalStep createDatabaseIfNotExists(Catalog database)
TheCREATE DATABASE IF NOT EXISTSstatement.
-
createDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomain(String domain)
TheCREATE DOMAINstatement.- See Also:
DSLContext.createDomain(String)
-
createDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomain(Name domain)
TheCREATE DOMAINstatement.- See Also:
DSLContext.createDomain(Name)
-
createDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomain(Domain<?> domain)
TheCREATE DOMAINstatement.- See Also:
DSLContext.createDomain(Domain)
-
createDomainIfNotExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomainIfNotExists(String domain)
TheCREATE DOMAIN IF NOT EXISTSstatement.
-
createDomainIfNotExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomainIfNotExists(Name domain)
TheCREATE DOMAIN IF NOT EXISTSstatement.- See Also:
DSLContext.createDomainIfNotExists(Name)
-
createDomainIfNotExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,POSTGRES,SQLSERVER}) public static CreateDomainAsStep createDomainIfNotExists(Domain<?> domain)
TheCREATE DOMAIN IF NOT EXISTSstatement.
-
createSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchema(String schema)
TheCREATE SCHEMAstatement.- See Also:
DSLContext.createSchema(String)
-
createSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchema(Name schema)
TheCREATE SCHEMAstatement.- See Also:
DSLContext.createSchema(Name)
-
createSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchema(Schema schema)
TheCREATE SCHEMAstatement.- See Also:
DSLContext.createSchema(Schema)
-
createSchemaIfNotExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchemaIfNotExists(String schema)
TheCREATE SCHEMA IF NOT EXISTSstatement.
-
createSchemaIfNotExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchemaIfNotExists(Name schema)
TheCREATE SCHEMA IF NOT EXISTSstatement.- See Also:
DSLContext.createSchemaIfNotExists(Name)
-
createSchemaIfNotExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static CreateSchemaFinalStep createSchemaIfNotExists(Schema schema)
TheCREATE SCHEMA IF NOT EXISTSstatement.
-
createSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequence(String sequence)
TheCREATE SEQUENCEstatement.- See Also:
DSLContext.createSequence(String)
-
createSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequence(Name sequence)
TheCREATE SEQUENCEstatement.- See Also:
DSLContext.createSequence(Name)
-
createSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequence(Sequence<?> sequence)
TheCREATE SEQUENCEstatement.- See Also:
DSLContext.createSequence(Sequence)
-
createSequenceIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequenceIfNotExists(String sequence)
TheCREATE SEQUENCE IF NOT EXISTSstatement.
-
createSequenceIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequenceIfNotExists(Name sequence)
TheCREATE SEQUENCE IF NOT EXISTSstatement.
-
createSequenceIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static CreateSequenceFlagsStep createSequenceIfNotExists(Sequence<?> sequence)
TheCREATE SEQUENCE IF NOT EXISTSstatement.
-
alterDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES}) public static AlterDatabaseStep alterDatabase(String database)
TheALTER DATABASEstatement.- See Also:
DSLContext.alterDatabase(String)
-
alterDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES}) public static AlterDatabaseStep alterDatabase(Name database)
TheALTER DATABASEstatement.- See Also:
DSLContext.alterDatabase(Name)
-
alterDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,POSTGRES}) public static AlterDatabaseStep alterDatabase(Catalog database)
TheALTER DATABASEstatement.- See Also:
DSLContext.alterDatabase(Catalog)
-
alterDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,POSTGRES}) public static AlterDatabaseStep alterDatabaseIfExists(String database)
TheALTER DATABASE IF EXISTSstatement.- See Also:
DSLContext.alterDatabaseIfExists(String)
-
alterDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,POSTGRES}) public static AlterDatabaseStep alterDatabaseIfExists(Name database)
TheALTER DATABASE IF EXISTSstatement.- See Also:
DSLContext.alterDatabaseIfExists(Name)
-
alterDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,POSTGRES}) public static AlterDatabaseStep alterDatabaseIfExists(Catalog database)
TheALTER DATABASE IF EXISTSstatement.
-
alterDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomain(String domain)
TheALTER DOMAINstatement.- See Also:
DSLContext.alterDomain(String)
-
alterDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomain(Name domain)
TheALTER DOMAINstatement.- See Also:
DSLContext.alterDomain(Name)
-
alterDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomain(Domain<T> domain)
TheALTER DOMAINstatement.- See Also:
DSLContext.alterDomain(Domain)
-
alterDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomainIfExists(String domain)
TheALTER DOMAIN IF EXISTSstatement.- See Also:
DSLContext.alterDomainIfExists(String)
-
alterDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomainIfExists(Name domain)
TheALTER DOMAIN IF EXISTSstatement.- See Also:
DSLContext.alterDomainIfExists(Name)
-
alterDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,HSQLDB,POSTGRES}) public static <T> AlterDomainStep<T> alterDomainIfExists(Domain<T> domain)
TheALTER DOMAIN IF EXISTSstatement.- See Also:
DSLContext.alterDomainIfExists(Domain)
-
alterSchema
@NotNull @Support({AURORA_POSTGRES,H2,HANA,HSQLDB,POSTGRES,VERTICA}) public static AlterSchemaStep alterSchema(String schema)
TheALTER SCHEMAstatement.- See Also:
DSLContext.alterSchema(String)
-
alterSchema
@NotNull @Support({AURORA_POSTGRES,H2,HANA,HSQLDB,POSTGRES,VERTICA}) public static AlterSchemaStep alterSchema(Name schema)
TheALTER SCHEMAstatement.- See Also:
DSLContext.alterSchema(Name)
-
alterSchema
@NotNull @Support({AURORA_POSTGRES,H2,HANA,HSQLDB,POSTGRES,VERTICA}) public static AlterSchemaStep alterSchema(Schema schema)
TheALTER SCHEMAstatement.- See Also:
DSLContext.alterSchema(Schema)
-
alterSchemaIfExists
@NotNull @Support({H2,HANA}) public static AlterSchemaStep alterSchemaIfExists(String schema)
TheALTER SCHEMA IF EXISTSstatement.- See Also:
DSLContext.alterSchemaIfExists(String)
-
alterSchemaIfExists
@NotNull @Support({H2,HANA}) public static AlterSchemaStep alterSchemaIfExists(Name schema)
TheALTER SCHEMA IF EXISTSstatement.- See Also:
DSLContext.alterSchemaIfExists(Name)
-
alterSchemaIfExists
@NotNull @Support({H2,HANA}) public static AlterSchemaStep alterSchemaIfExists(Schema schema)
TheALTER SCHEMA IF EXISTSstatement.- See Also:
DSLContext.alterSchemaIfExists(Schema)
-
dropDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabase(String database)
TheDROP DATABASEstatement.- See Also:
DSLContext.dropDatabase(String)
-
dropDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabase(Name database)
TheDROP DATABASEstatement.- See Also:
DSLContext.dropDatabase(Name)
-
dropDatabase
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabase(Catalog database)
TheDROP DATABASEstatement.- See Also:
DSLContext.dropDatabase(Catalog)
-
dropDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabaseIfExists(String database)
TheDROP DATABASE IF EXISTSstatement.- See Also:
DSLContext.dropDatabaseIfExists(String)
-
dropDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabaseIfExists(Name database)
TheDROP DATABASE IF EXISTSstatement.- See Also:
DSLContext.dropDatabaseIfExists(Name)
-
dropDatabaseIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static DropDatabaseFinalStep dropDatabaseIfExists(Catalog database)
TheDROP DATABASE IF EXISTSstatement.- See Also:
DSLContext.dropDatabaseIfExists(Catalog)
-
dropDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomain(String domain)
TheDROP DOMAINstatement.- See Also:
DSLContext.dropDomain(String)
-
dropDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomain(Name domain)
TheDROP DOMAINstatement.- See Also:
DSLContext.dropDomain(Name)
-
dropDomain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomain(Domain<?> domain)
TheDROP DOMAINstatement.- See Also:
DSLContext.dropDomain(Domain)
-
dropDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomainIfExists(String domain)
TheDROP DOMAIN IF EXISTSstatement.- See Also:
DSLContext.dropDomainIfExists(String)
-
dropDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomainIfExists(Name domain)
TheDROP DOMAIN IF EXISTSstatement.- See Also:
DSLContext.dropDomainIfExists(Name)
-
dropDomainIfExists
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static DropDomainCascadeStep dropDomainIfExists(Domain<?> domain)
TheDROP DOMAIN IF EXISTSstatement.- See Also:
DSLContext.dropDomainIfExists(Domain)
-
dropSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchema(String schema)
TheDROP SCHEMAstatement.- See Also:
DSLContext.dropSchema(String)
-
dropSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchema(Name schema)
TheDROP SCHEMAstatement.- See Also:
DSLContext.dropSchema(Name)
-
dropSchema
@NotNull @Support({AURORA_POSTGRES,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchema(Schema schema)
TheDROP SCHEMAstatement.- See Also:
DSLContext.dropSchema(Schema)
-
dropSchemaIfExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchemaIfExists(String schema)
TheDROP SCHEMA IF EXISTSstatement.- See Also:
DSLContext.dropSchemaIfExists(String)
-
dropSchemaIfExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchemaIfExists(Name schema)
TheDROP SCHEMA IF EXISTSstatement.- See Also:
DSLContext.dropSchemaIfExists(Name)
-
dropSchemaIfExists
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,VERTICA}) public static DropSchemaStep dropSchemaIfExists(Schema schema)
TheDROP SCHEMA IF EXISTSstatement.- See Also:
DSLContext.dropSchemaIfExists(Schema)
-
dropSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequence(String sequence)
TheDROP SEQUENCEstatement.- See Also:
DSLContext.dropSequence(String)
-
dropSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequence(Name sequence)
TheDROP SEQUENCEstatement.- See Also:
DSLContext.dropSequence(Name)
-
dropSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequence(Sequence<?> sequence)
TheDROP SEQUENCEstatement.- See Also:
DSLContext.dropSequence(Sequence)
-
dropSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequenceIfExists(String sequence)
TheDROP SEQUENCE IF EXISTSstatement.- See Also:
DSLContext.dropSequenceIfExists(String)
-
dropSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequenceIfExists(Name sequence)
TheDROP SEQUENCE IF EXISTSstatement.- See Also:
DSLContext.dropSequenceIfExists(Name)
-
dropSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static DropSequenceFinalStep dropSequenceIfExists(Sequence<?> sequence)
TheDROP SEQUENCE IF EXISTSstatement.
-
grant
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static GrantOnStep grant(Privilege privileges)
TheGRANTstatement.- See Also:
DSLContext.grant(Privilege)
-
grant
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static GrantOnStep grant(Privilege... privileges)
TheGRANTstatement.- See Also:
DSLContext.grant(Privilege...)
-
grant
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static GrantOnStep grant(Collection<? extends Privilege> privileges)
TheGRANTstatement.- See Also:
DSLContext.grant(Collection)
-
revoke
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revoke(Privilege privileges)
TheREVOKEstatement.- See Also:
DSLContext.revoke(Privilege)
-
revoke
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revoke(Privilege... privileges)
TheREVOKEstatement.- See Also:
DSLContext.revoke(Privilege...)
-
revoke
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DERBY,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revoke(Collection<? extends Privilege> privileges)
TheREVOKEstatement.- See Also:
DSLContext.revoke(Collection)
-
revokeGrantOptionFor
@NotNull @Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revokeGrantOptionFor(Privilege privileges)
TheREVOKE GRANT OPTION FORstatement.
-
revokeGrantOptionFor
@NotNull @Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revokeGrantOptionFor(Privilege... privileges)
TheREVOKE GRANT OPTION FORstatement.
-
revokeGrantOptionFor
@NotNull @Support({ASE,AURORA_POSTGRES,HSQLDB,ORACLE,POSTGRES,SQLSERVER}) public static RevokeOnStep revokeGrantOptionFor(Collection<? extends Privilege> privileges)
TheREVOKE GRANT OPTION FORstatement.
-
createTable
@NotNull @Support public static @NotNull CreateTableColumnStep createTable(String table)
Create a new DSLCREATE TABLEstatement.- See Also:
DSLContext.createTable(String)
-
createTable
@NotNull @Support public static @NotNull CreateTableColumnStep createTable(Name table)
Create a new DSLCREATE TABLEstatement.- See Also:
DSLContext.createTable(Name)
-
createTable
@NotNull @Support public static @NotNull CreateTableColumnStep createTable(Table<?> table)
Create a new DSLCREATE TABLEstatement.- See Also:
DSLContext.createTable(Table)
-
createTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull CreateTableColumnStep createTableIfNotExists(String table)
Create a new DSLCREATE TABLEstatement.
-
createTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull CreateTableColumnStep createTableIfNotExists(Name table)
Create a new DSLCREATE TABLEstatement.- See Also:
DSLContext.createTableIfNotExists(Name)
-
createTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull CreateTableColumnStep createTableIfNotExists(Table<?> table)
Create a new DSLCREATE TABLEstatement.- See Also:
DSLContext.createTableIfNotExists(Table)
-
createTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTable(String table)
Create a new DSLCREATE TEMPORARY TABLEstatement.- See Also:
DSLContext.createTemporaryTable(String)
-
createTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTable(Name table)
Create a new DSLCREATE TEMPORARY TABLEstatement.- See Also:
DSLContext.createTemporaryTable(Name)
-
createTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTable(Table<?> table)
Create a new DSLCREATE TEMPORARY TABLEstatement.- See Also:
DSLContext.createTemporaryTable(Table)
-
createTemporaryTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(String table)
Create a new DSLCREATE TEMPORARY TABLEstatement.
-
createTemporaryTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(Name table)
Create a new DSLCREATE TEMPORARY TABLEstatement.
-
createTemporaryTableIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,VERTICA}) public static @NotNull CreateTableColumnStep createTemporaryTableIfNotExists(Table<?> table)
Create a new DSLCREATE TEMPORARY TABLEstatement.
-
createGlobalTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(String table)
Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.
-
createGlobalTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(Name table)
Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.
-
createGlobalTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull CreateTableColumnStep createGlobalTemporaryTable(Table<?> table)
Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.
-
createView
@NotNull @Support public static @NotNull CreateViewAsStep createView(String view, String... fields)
Create a new DSLCREATE VIEWstatement.- See Also:
DSLContext.createView(String, String...)
-
createView
@NotNull @Support public static @NotNull CreateViewAsStep createView(Name view, Name... fields)
Create a new DSLCREATE VIEWstatement.- See Also:
DSLContext.createView(Name, Name...)
-
createView
@NotNull @Support public static @NotNull CreateViewAsStep createView(Table<?> view, Field<?>... fields)
Create a new DSLCREATE VIEWstatement.- See Also:
DSLContext.createView(Table, Field...)
-
createView
@Deprecated @NotNull @Support public static @NotNull CreateViewAsStep createView(String view, Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated.- 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 DSLCREATE VIEWstatement.This works like
createView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- See Also:
DSLContext.createView(String, String...)
-
createView
@Deprecated @NotNull @Support public static @NotNull CreateViewAsStep createView(Name view, Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated.- 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 DSLCREATE VIEWstatement.This works like
createView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- See Also:
DSLContext.createView(Name, Name...)
-
createView
@Deprecated @NotNull @Support public static @NotNull CreateViewAsStep createView(Table<?> view, Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated.- 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 DSLCREATE VIEWstatement.This works like
createView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- See Also:
DSLContext.createView(Table, Field...)
-
createOrReplaceView
@NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(String view, String... fields)
Create a new DSLCREATE OR REPLACE VIEWstatement.
-
createOrReplaceView
@NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(Name view, Name... fields)
Create a new DSLCREATE OR REPLACE VIEWstatement.
-
createOrReplaceView
@NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(Table<?> view, Field<?>... fields)
Create a new DSLCREATE OR REPLACE VIEWstatement.
-
createOrReplaceView
@Deprecated @NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(String view, Function<? super Field<?>,? extends String> fieldNameFunction)
Deprecated.- 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 DSLCREATE OR REPLACE VIEWstatement.This works like
createOrReplaceView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createOrReplaceView
@Deprecated @NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(Name view, Function<? super Field<?>,? extends Name> fieldNameFunction)
Deprecated.- 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 DSLCREATE OR REPLACE VIEWstatement.This works like
createOrReplaceView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createOrReplaceView
@Deprecated @NotNull @Support({ASE_16_0,AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull CreateViewAsStep createOrReplaceView(Table<?> view, Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Deprecated.- 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 DSLCREATE OR REPLACE VIEWstatement.This works like
createOrReplaceView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createViewIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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 DSLCREATE VIEW IF NOT EXISTSstatement.
-
createViewIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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 DSLCREATE VIEW IF NOT EXISTSstatement.
-
createViewIfNotExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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 DSLCREATE VIEW IF NOT EXISTSstatement.
-
createViewIfNotExists
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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.- 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 DSLCREATE VIEW IF NOT EXISTSstatement.This works like
createViewIfNotExists(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createViewIfNotExists
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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.- 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 DSLCREATE VIEW IF NOT EXISTSstatement.This works like
createViewIfNotExists(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createViewIfNotExists
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,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.- 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 DSLCREATE VIEW IF NOT EXISTSstatement.This works like
createViewIfNotExists(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.
-
createType
@NotNull @Support({H2,POSTGRES}) public static @NotNull CreateTypeStep createType(String type)
Create a new DSLCREATE TYPEstatement.- See Also:
DSLContext.createType(String)
-
createType
@NotNull @Support({H2,POSTGRES}) public static @NotNull CreateTypeStep createType(Name type)
Create a new DSLCREATE TYPEstatement.- See Also:
DSLContext.createType(Name)
-
alterType
@NotNull @Support(POSTGRES) public static @NotNull AlterTypeStep alterType(String type)
Create a new DSLALTER TYPEstatement.- See Also:
DSLContext.alterType(String)
-
alterType
@NotNull @Support(POSTGRES) public static @NotNull AlterTypeStep alterType(Name type)
Create a new DSLALTER TYPEstatement.- See Also:
DSLContext.alterType(Name)
-
dropType
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropType(String type)
Create a new DSLDROP TYPEstatement.- See Also:
dropType(String)
-
dropType
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropType(Name type)
Create a new DSLDROP TYPEstatement.- See Also:
dropType(Name)
-
dropType
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropType(String... type)
Create a new DSLDROP TYPEstatement.- See Also:
dropType(String...)
-
dropType
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropType(Name... type)
Create a new DSLDROP TYPEstatement.- See Also:
dropType(Name...)
-
dropType
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropType(Collection<?> type)
Create a new DSLDROP TYPEstatement.- See Also:
dropType(Collection)
-
dropTypeIfExists
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropTypeIfExists(String type)
Create a new DSLDROP TYPEstatement.- See Also:
dropTypeIfExists(String)
-
dropTypeIfExists
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropTypeIfExists(Name type)
Create a new DSLDROP TYPEstatement.- See Also:
dropTypeIfExists(Name)
-
dropTypeIfExists
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropTypeIfExists(String... type)
Create a new DSLDROP TYPEstatement.- See Also:
dropTypeIfExists(String...)
-
dropTypeIfExists
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropTypeIfExists(Name... type)
Create a new DSLDROP TYPEstatement.- See Also:
dropTypeIfExists(Name...)
-
dropTypeIfExists
@NotNull @Support({H2,POSTGRES}) public static @NotNull DropTypeStep dropTypeIfExists(Collection<?> type)
Create a new DSLDROP TYPEstatement.- See Also:
dropTypeIfExists(Collection)
-
createIndex
@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}) public static @NotNull CreateIndexStep createIndex()
Create a new DSLCREATE INDEXstatement.- See Also:
DSLContext.createIndex()
-
createIndex
@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}) public static @NotNull CreateIndexStep createIndex(String index)
Create a new DSLCREATE INDEXstatement.- See Also:
DSLContext.createIndex(String)
-
createIndex
@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}) public static @NotNull CreateIndexStep createIndex(Name index)
Create a new DSLCREATE INDEXstatement.- See Also:
DSLContext.createIndex(Name)
-
createIndex
@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}) public static @NotNull CreateIndexStep createIndex(Index index)
Create a new DSLCREATE INDEXstatement.- See Also:
DSLContext.createIndex(Index)
-
createIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createIndexIfNotExists(String index)
Create a new DSLCREATE INDEX IF NOT EXISTSstatement.
-
createIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createIndexIfNotExists(Name index)
Create a new DSLCREATE INDEX IF NOT EXISTSstatement.- See Also:
DSLContext.createIndexIfNotExists(Name)
-
createIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createIndexIfNotExists(Index index)
Create a new DSLCREATE INDEX IF NOT EXISTSstatement.- See Also:
DSLContext.createIndexIfNotExists(Index)
-
createUniqueIndex
@NotNull @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 @NotNull CreateIndexStep createUniqueIndex()
Create a new DSLCREATE UNIQUE INDEXstatement.- See Also:
DSLContext.createUniqueIndex()
-
createUniqueIndex
@NotNull @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 @NotNull CreateIndexStep createUniqueIndex(String index)
Create a new DSLCREATE UNIQUE INDEXstatement.- See Also:
DSLContext.createUniqueIndex(String)
-
createUniqueIndex
@NotNull @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 @NotNull CreateIndexStep createUniqueIndex(Name index)
Create a new DSLCREATE UNIQUE INDEXstatement.- See Also:
DSLContext.createUniqueIndex(Name)
-
createUniqueIndex
@NotNull @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 @NotNull CreateIndexStep createUniqueIndex(Index index)
Create a new DSLCREATE UNIQUE INDEXstatement.- See Also:
DSLContext.createUniqueIndex(Index)
-
createUniqueIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createUniqueIndexIfNotExists(String index)
Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.
-
createUniqueIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createUniqueIndexIfNotExists(Name index)
Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.
-
createUniqueIndexIfNotExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HANA,HSQLDB,ORACLE,POSTGRES,SQLITE,SQLSERVER,SYBASE}) public static @NotNull CreateIndexStep createUniqueIndexIfNotExists(Index index)
Create a new DSLCREATE UNIQUE INDEX IF NOT EXISTSstatement.
-
alterSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static @NotNull AlterSequenceStep<BigInteger> alterSequence(String sequence)
Create a new DSLALTER SEQUENCEstatement.- See Also:
DSLContext.alterSequence(String)
-
alterSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static @NotNull AlterSequenceStep<BigInteger> alterSequence(Name sequence)
Create a new DSLALTER SEQUENCEstatement.- See Also:
DSLContext.alterSequence(Name)
-
alterSequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static <T extends Number> @NotNull AlterSequenceStep<T> alterSequence(Sequence<T> sequence)
Create a new DSLALTER SEQUENCEstatement.- See Also:
DSLContext.alterSequence(Sequence)
-
alterSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES}) public static @NotNull AlterSequenceStep<BigInteger> alterSequenceIfExists(String sequence)
Create a new DSLALTER SEQUENCEstatement.- See Also:
DSLContext.alterSequenceIfExists(String)
-
alterSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES}) public static @NotNull AlterSequenceStep<BigInteger> alterSequenceIfExists(Name sequence)
Create a new DSLALTER SEQUENCEstatement.- See Also:
DSLContext.alterSequenceIfExists(Name)
-
alterSequenceIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,MARIADB_10_3,ORACLE,POSTGRES}) public static <T extends Number> @NotNull AlterSequenceStep<T> alterSequenceIfExists(Sequence<T> sequence)
Create a new DSLALTER SEQUENCEstatement.
-
alterTable
@NotNull @Support public static @NotNull AlterTableStep alterTable(String table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTable(String)
-
alterTable
@NotNull @Support public static @NotNull AlterTableStep alterTable(Name table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTable(Name)
-
alterTable
@NotNull @Support public static @NotNull AlterTableStep alterTable(Table<?> table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTable(Table)
-
alterTableIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,MARIADB,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterTableStep alterTableIfExists(String table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTableIfExists(String)
-
alterTableIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,MARIADB,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterTableStep alterTableIfExists(Name table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTableIfExists(Name)
-
alterTableIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,MARIADB,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterTableStep alterTableIfExists(Table<?> table)
Create a new DSLALTER TABLEstatement.- See Also:
DSLContext.alterTableIfExists(Table)
-
alterView
@NotNull @Support({ASE,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull AlterViewStep alterView(String view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterView(String)
-
alterView
@NotNull @Support({ASE,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull AlterViewStep alterView(Name view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterView(Name)
-
alterView
@NotNull @Support({ASE,AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,TERADATA,VERTICA}) public static @NotNull AlterViewStep alterView(Table<?> view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterView(Table)
-
alterViewIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterViewStep alterViewIfExists(String view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterViewIfExists(String)
-
alterViewIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterViewStep alterViewIfExists(Name view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterViewIfExists(Name)
-
alterViewIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,ORACLE,POSTGRES,SQLSERVER}) public static @NotNull AlterViewStep alterViewIfExists(Table<?> view)
Create a new DSLALTER VIEWstatement.- See Also:
DSLContext.alterViewIfExists(Table)
-
alterIndex
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexOnStep alterIndex(String index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndex(String)
-
alterIndex
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexOnStep alterIndex(Name index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndex(Name)
-
alterIndex
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexOnStep alterIndex(Index index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndex(Index)
-
alterIndexIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexStep alterIndexIfExists(String index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndexIfExists(String)
-
alterIndexIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexStep alterIndexIfExists(Name index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndexIfExists(Name)
-
alterIndexIfExists
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER2016}) public static @NotNull AlterIndexStep alterIndexIfExists(Index index)
Create a new DSLALTER INDEXstatement.- See Also:
DSLContext.alterIndexIfExists(Index)
-
dropView
@NotNull @Support public static @NotNull DropViewFinalStep dropView(String view)
Create a new DSLDROP VIEWstatement.- See Also:
DSLContext.dropView(String)
-
dropView
@NotNull @Support public static @NotNull DropViewFinalStep dropView(Name view)
Create a new DSLDROP VIEWstatement.- See Also:
DSLContext.dropView(Name)
-
dropView
@NotNull @Support public static @NotNull DropViewFinalStep dropView(Table<?> view)
Create a new DSLDROP VIEWstatement.- See Also:
DSLContext.dropView(Table)
-
dropViewIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropViewFinalStep dropViewIfExists(String view)
Create a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropViewIfExists(String)
-
dropViewIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropViewFinalStep dropViewIfExists(Name view)
Create a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropViewIfExists(Name)
-
dropViewIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropViewFinalStep dropViewIfExists(Table<?> view)
Create a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropViewIfExists(Table)
-
dropTable
@NotNull @Support public static @NotNull DropTableStep dropTable(String table)
Create a new DSLDROP TABLEstatement.- See Also:
DSLContext.dropTable(String)
-
dropTable
@NotNull @Support public static @NotNull DropTableStep dropTable(Name table)
Create a new DSLDROP TABLEstatement.- See Also:
DSLContext.dropTable(Name)
-
dropTable
@NotNull @Support public static @NotNull DropTableStep dropTable(Table<?> table)
Create a new DSLDROP TABLEstatement.- See Also:
DSLContext.dropTable(Table)
-
dropTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull DropTableStep dropTemporaryTable(String table)
Create a new DSLDROP TEMPORARY TABLEstatement.- See Also:
DSLContext.dropTemporaryTable(String)
-
dropTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull DropTableStep dropTemporaryTable(Name table)
Create a new DSLDROP TEMPORARY TABLEstatement.- See Also:
DSLContext.dropTemporaryTable(Name)
-
dropTemporaryTable
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,TERADATA,VERTICA}) public static @NotNull DropTableStep dropTemporaryTable(Table<?> table)
Create a new DSLDROP TEMPORARY TABLEstatement.- See Also:
DSLContext.dropTemporaryTable(Table)
-
dropTemporaryTableIfExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,VERTICA}) public static @NotNull DropTableStep dropTemporaryTableIfExists(String table)
Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.
-
dropTemporaryTableIfExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,VERTICA}) public static @NotNull DropTableStep dropTemporaryTableIfExists(Name table)
Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.
-
dropTemporaryTableIfExists
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,FIREBIRD,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,VERTICA}) public static @NotNull DropTableStep dropTemporaryTableIfExists(Table<?> table)
Create a new DSLDROP TEMPORARY TABLE IF EXISTSstatement.
-
dropTableIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropTableStep dropTableIfExists(String table)
Create a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropTableIfExists(String)
-
dropTableIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropTableStep dropTableIfExists(Name table)
Create a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropTableIfExists(Name)
-
dropTableIfExists
@NotNull @Support({ACCESS,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull DropTableStep dropTableIfExists(Table<?> table)
Create a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropTableIfExists(Table)
-
dropIndex
@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}) public static @NotNull DropIndexOnStep dropIndex(String index)
Create a new DSLDROP INDEXstatement.- See Also:
DSLContext.dropIndex(String)
-
dropIndex
@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}) public static @NotNull DropIndexOnStep dropIndex(Name index)
Create a new DSLDROP INDEXstatement.- See Also:
DSLContext.dropIndex(Name)
-
dropIndex
@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}) public static @NotNull DropIndexOnStep dropIndex(Index index)
Create a new DSLDROP INDEXstatement.- See Also:
DSLContext.dropIndex(Index)
-
dropIndexIfExists
@NotNull @Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull DropIndexOnStep dropIndexIfExists(String index)
Create a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropIndexIfExists(String)
-
dropIndexIfExists
@NotNull @Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull DropIndexOnStep dropIndexIfExists(Name index)
Create a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropIndexIfExists(Name)
-
dropIndexIfExists
@NotNull @Support({ACCESS,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE}) public static @NotNull DropIndexOnStep dropIndexIfExists(Index index)
Create a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- See Also:
DSLContext.dropIndexIfExists(Index)
-
truncate
@NotNull @Support public static @NotNull TruncateIdentityStep<Record> truncate(String table)
Create a new DSL truncate statement.Synonym for
truncateTable(String)
-
truncate
@NotNull @Support public static @NotNull TruncateIdentityStep<Record> truncate(Name table)
Create a new DSL truncate statement.Synonym for
truncateTable(Name)
-
truncate
@NotNull @Support public static <R extends Record> @NotNull TruncateIdentityStep<R> truncate(Table<R> table)
Create a new DSL truncate statement.Synonym for
truncateTable(Table)
-
truncateTable
@NotNull @Support public static @NotNull TruncateIdentityStep<Record> truncateTable(String table)
Create a new DSL truncate statement.Unlike
Deletefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableDELETEstatement.Example:
import static org.jooq.impl.DSL.*; // [...] truncate(table);
Simulation of
TRUNCATEMost dialects implement the
TRUNCATEstatement. If it is not supported, it is emulated using an equivalentDELETEstatement. This is particularly true for these dialects:Vendor-specific extensions of
TRUNCATESome statements also support extensions of the
TRUNCATEstatement, such as Postgres:truncate(table) .restartIdentity() .cascade()
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- See Also:
DSLContext.truncate(String)
-
truncateTable
@NotNull @Support public static @NotNull TruncateIdentityStep<Record> truncateTable(Name table)
Create a new DSL truncate statement.Unlike
Deletefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableDELETEstatement.Example:
import static org.jooq.impl.DSL.*; // [...] truncate(table);
Simulation of
TRUNCATEMost dialects implement the
TRUNCATEstatement. If it is not supported, it is emulated using an equivalentDELETEstatement. This is particularly true for these dialects:Vendor-specific extensions of
TRUNCATESome statements also support extensions of the
TRUNCATEstatement, such as Postgres:truncate(table) .restartIdentity() .cascade()
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- See Also:
DSLContext.truncate(Name)
-
truncateTable
@NotNull @Support public static <R extends Record> @NotNull TruncateIdentityStep<R> truncateTable(Table<R> table)
Create a new DSL truncate statement.Unlike
Deletefactory methods in theDSLContextAPI, this creates an unattached, and thus not directly renderable or executableDELETEstatement.Example:
import static org.jooq.impl.DSL.*; // [...] truncate(table);
Simulation of
TRUNCATEMost dialects implement the
TRUNCATEstatement. If it is not supported, it is emulated using an equivalentDELETEstatement. This is particularly true for these dialects:Vendor-specific extensions of
TRUNCATESome statements also support extensions of the
TRUNCATEstatement, such as Postgres:truncate(table) .restartIdentity() .cascade()
These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- See Also:
DSLContext.truncate(Table)
-
all
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <R extends Record> @NotNull QuantifiedSelect<R> all(Select<R> select)
Create anALLquantified 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,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull QuantifiedSelect<Record1<T>> all(T... array)
Create anALLquantified 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 anALLquantified 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 anALLquantified 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,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <R extends Record> @NotNull QuantifiedSelect<R> any(Select<R> select)
Create anANYquantified 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,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull QuantifiedSelect<Record1<T>> any(T... array)
Create anANYquantified 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 anANYquantified 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 anANYquantified 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
@PlainSQL @NotNull @Support public static @NotNull Privilege privilege(String 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
@NotNull @Support public static @NotNull User user(String name)
Create a new user reference.- See Also:
user(Name)
-
role
@NotNull @Support public static @NotNull Role role(String name)
Create a new role reference.- See Also:
role(Name)
-
table
@NotNull @Support public static <R extends Record> @NotNull Table<R> table(Select<R> select)
A synonym forTableLike.asTable(), which might look a bit more fluent like this, to some users.- See Also:
TableLike.asTable()
-
table
@NotNull @Support public static <R extends Record> @NotNull Table<R> table(Result<R> result)
Use a previously obtained result as a newTablethat can be used in SQL statements throughvalues(RowN...).- See Also:
values(RowN...)
-
table
@NotNull @Support public static <R extends Record> @NotNull Table<R> table(R record)
Use a previously obtained record as a new Table
-
table
@NotNull @Support public static <R extends Record> @NotNull Table<R> table(R... records)
Use a previously obtained set of records as a new Table
-
table
@NotNull @Support public static @NotNull Table<?> table(Collection<?> list)
A synonym forunnest(Collection).- See Also:
unnest(Collection)
-
table
@NotNull @Support public static @NotNull Table<?> table(Object[] array)
A synonym forunnest(Object[]).- See Also:
unnest(Object[])
-
table
@NotNull @Support(ORACLE) @Pro public static @NotNull Table<?> table(ArrayRecord<?> array)
A synonym forunnest(ArrayRecord).- See Also:
unnest(ArrayRecord)
-
table
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,ORACLE,POSTGRES}) public static @NotNull Table<?> table(Field<?> cursor)
A synonym forunnest(Field).- See Also:
unnest(Field)
-
unnest
@NotNull @Support public static @NotNull Table<?> unnest(Collection<?> list)
Create a table from a list of values.This is equivalent to the
TABLEfunction for H2, or theUNNESTfunction in HSQLDB and PostgresFor Oracle, use
table(ArrayRecord)instead, as Oracle knows only typed arraysIn all other dialects, unnesting of arrays is emulated using several
UNION ALLconnected subqueries.
-
unnest
@NotNull @Support public static @NotNull Table<?> unnest(Object[] array)
Create a table from an array of values.This is equivalent to the
TABLEfunction for H2, or theUNNESTfunction in HSQLDB and PostgresFor Oracle, use
table(ArrayRecord)instead, as Oracle knows only typed arraysIn all other dialects, unnesting of arrays is emulated using several
UNION ALLconnected subqueries.
-
unnest
@NotNull @Support(ORACLE) @Pro public static @NotNull Table<?> unnest(ArrayRecord<?> array)
Create a table from an array of values.This wraps the argument array in a
TABLEfunction for Oracle. Currently, only Oracle knows typed arrays
-
unnest
@NotNull @Support({AURORA_POSTGRES,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: ForCURSORorREF CURSORfields, typically fetched from stored functions or from nested tables -
ArrayRecord: For Oracle-styleVARRAYtypes. -
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 intoVARCHARarrays by jOOQ.In all dialects where arrays are not supported, unnesting of arrays is emulated using several
UNION ALLconnected subqueries. -
-
dual
@NotNull @Support public static @NotNull Table<Record> dual()
TheDUALtable to be used for syntactic completeness.In general, jOOQ will generate a
DUALtable (or any equivalent construct, see below), if this is needed syntactically in generated SQL. You may still wish to explicitly use aDUALconstruct in jOOQ code for various reasons. ThisDUALtable will always contain a single record with a single varchar(1) value:+-------+ | DUMMY | +-------+ | X | +-------+
-
generateSeries
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull Table<Record1<Integer>> generateSeries(int from, int to)
A table function generating a series of values fromfromtoto(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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MYSQL_8_0,ORACLE,POSTGRES,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 fromfromtoto(inclusive), increasing values bystep.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}) public static <R extends Record> @NotNull Table<R> lateral(TableLike<R> table)
Create aLATERALjoined 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 aROWS 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
@NotNull @Support public static @NotNull Keyword keyword(String keyword)
Create a SQL keyword.A
Keywordis aQueryPartthat renders a SQL keyword according to the settings specified inSettings.getRenderKeywordCase(). It can be embedded in other plain SQLQueryPartsas shown in this example:Condition c = condition("{0} {1} {2} {3} {4}", value1, keyword("between") value2, keyword("and") value3 );
-
name
@NotNull @Support public static @NotNull Name name(String unqualifiedName)
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
QueryPartobjects 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
QueryPartthat will render the SQL identifier
-
name
@NotNull @Support public static @NotNull Name name(String... qualifiedName)
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
QueryPartobjects 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
QueryPartthat will render the SQL identifier
-
name
@NotNull @Support public static @NotNull Name name(Name... nameParts)
Create a new SQL identifier using a qualified name.Unlike other
name(String...)constructors, this one constructs a name from its argumentName.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
QueryPartobjects 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
QueryPartthat will render the SQL identifier
-
name
@NotNull @Support public static @NotNull Name name(Collection<String> qualifiedName)
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
QueryPartobjects 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
QueryPartthat will render the SQL identifier
-
quotedName
@NotNull @Support public static @NotNull Name quotedName(String unqualifiedName)
Create a new SQL identifier using an unqualified, quoted name.This works like
name(String...), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
unqualifiedName- The SQL identifier's unqualified name- Returns:
- A
QueryPartthat will render the SQL identifier
-
quotedName
@NotNull @Support public static @NotNull Name quotedName(String... qualifiedName)
Create a new SQL identifier using a qualified, quoted name.This works like
name(String...), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
qualifiedName- The SQL identifier's qualified name parts- Returns:
- A
QueryPartthat will render the SQL identifier
-
quotedName
@NotNull @Support public static @NotNull Name quotedName(Collection<String> qualifiedName)
Create a new SQL identifier using a qualified, quoted name.This works like
name(Collection), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
qualifiedName- The SQL identifier's qualified name parts- Returns:
- A
QueryPartthat will render the SQL identifier
-
unquotedName
@NotNull @Support public static @NotNull Name unquotedName(String unqualifiedName)
Create a new SQL identifier using an unqualified, quoted name.This works like
name(String...), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
unqualifiedName- The SQL identifier's unqualified name- Returns:
- A
QueryPartthat will render the SQL identifier
-
unquotedName
@NotNull @Support public static @NotNull Name unquotedName(String... qualifiedName)
Create a new SQL identifier using a qualified, quoted name.This works like
name(String...), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
qualifiedName- The SQL identifier's qualified name parts- Returns:
- A
QueryPartthat will render the SQL identifier
-
unquotedName
@NotNull @Support public static @NotNull Name unquotedName(Collection<String> qualifiedName)
Create a new SQL identifier using a qualified, quoted name.This works like
name(Collection), except that generated identifiers will be guaranteed to be quoted in databases that support quoted identifiers.- Parameters:
qualifiedName- The SQL identifier's qualified name parts- Returns:
- A
QueryPartthat will render the SQL identifier
-
list
@NotNull @Support public static @NotNull QueryPart list(QueryPart... parts)
Compose a list ofQueryPartsinto a newQueryPart, with individual parts being comma-separated.
-
list
@NotNull @Support public static @NotNull QueryPart list(Collection<? extends QueryPart> parts)
Compose a list ofQueryPartsinto a newQueryPart, with individual parts being comma-separated.
-
defaultValue
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Object> defaultValue()
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.While the
DEFAULTkeyword works with all data types, you may still prefer to associate aFieldtype with yourDEFAULTvalue. In that case, usedefaultValue(Class)ordefaultValue(DataType)instead.This is an alias for
default_().- See Also:
default_()
-
defaultValue
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> defaultValue(Class<T> type)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.This is an alias for
default_(Class).- See Also:
default_(Class)
-
defaultValue
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> defaultValue(DataType<T> type)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.This is an alias for
default_(DataType).- See Also:
default_(DataType)
-
defaultValue
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> defaultValue(Field<T> field)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.This is an alias for
default_(Field).- See Also:
default_(Field)
-
default_
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Object> default_()
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.While the
DEFAULTkeyword works with all data types, you may still prefer to associate aFieldtype with yourDEFAULTvalue. In that case, usedefaultValue(Class)ordefaultValue(DataType)instead.
-
default_
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> default_(Class<T> type)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.
-
default_
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> default_(DataType<T> type)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.
-
default_
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static <T> @NotNull Field<T> default_(Field<T> field)
Create aDEFAULTkeyword for use withINSERT,UPDATE, orMERGEstatements.
-
schemaByName
@Deprecated @NotNull @Support public static @NotNull Schema schemaByName(String name)
Deprecated.- [#3843] - 3.6.0 - useschema(Name)insteadCreate 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
@NotNull @Support public static @NotNull Catalog catalog(String name)
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
@NotNull @Support public static @NotNull Catalog catalog(Name name)
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
@NotNull @Support public static @NotNull Schema schema(String name)
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
@NotNull @Support public static @NotNull Schema schema(Name name)
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 @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static @NotNull Sequence<BigInteger> sequenceByName(String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usesequence(Name)insteadCreate 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 @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static <T extends Number> @NotNull Sequence<T> sequenceByName(Class<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usesequence(Name, Class)insteadCreate 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 @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) public static <T extends Number> @NotNull Sequence<T> sequenceByName(DataType<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usesequence(Name, DataType)insteadCreate 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,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,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]
-
sequence
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,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 @NotNull @Support public static @NotNull Table<Record> tableByName(String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usetable(Name)insteadCreate 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
@NotNull @Support public static @NotNull Table<Record> table(Name name)
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.
TableLike.fields()returns an empty array.
-
table
@NotNull @Support public static @NotNull Table<Record> table(Name name, Comment comment)
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.
TableLike.fields()returns an empty array.
-
fieldByName
@Deprecated @NotNull @Support public static @NotNull Field<Object> fieldByName(String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usefield(Name)insteadCreate 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 @NotNull @Support public static <T> @NotNull Field<T> fieldByName(Class<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usefield(Name, Class)insteadCreate 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 @NotNull @Support public static <T> @NotNull Field<T> fieldByName(DataType<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - usefield(Name, DataType)insteadCreate 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
@NotNull @Support public static @NotNull Field<Object> field(Name name)
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, Class<T> type)
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)
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
@NotNull @Support public static @NotNull Index index(Name name)
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 namedPeriodreference.
-
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 namedPeriodreference.
-
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 namedPeriodreference.
-
systemTime
@NotNull @Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016}) @Pro public static @NotNull Period<Timestamp> systemTime()
Create aSYSTEM_TIMEPeriodreference.
-
systemTime
@NotNull @Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016}) @Pro public static <T> @NotNull Period<T> systemTime(Class<T> type)
Create aSYSTEM_TIMEPeriodreference.
-
systemTime
@NotNull @Support({DB2,HSQLDB,MARIADB_10_3,ORACLE12C,SQLSERVER2016}) @Pro public static <T> @NotNull Period<T> systemTime(DataType<T> type)
Create aSYSTEM_TIMEPeriodreference.
-
queries
@NotNull @Support public static @NotNull Queries queries(Query... queries)
Wrap a collection of queries.- See Also:
DSLContext.queries(Query...)
-
queries
@NotNull @Support public static @NotNull Queries queries(Collection<? extends Query> queries)
Wrap a collection of queries.- See Also:
DSLContext.queries(Collection)
-
begin
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) 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,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) 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
@NotNull @Support @PlainSQL @Pro public static @NotNull Statement statement(String sql)
A custom procedural fragment that can render arbitrary statements.A plain SQL
QueryPartis aQueryPartthat 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
QueryPartis aQueryPartthat 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
QueryPartis aQueryPartthat 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(SQL sql)
A custom procedural fragment that can render arbitrary statements.A plain SQL
QueryPartis aQueryPartthat 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,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) @Pro public static @NotNull Block statements(Statement... statements)
Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN .. END;, unless explicitly needed.- See Also:
DSLContext.statements(Statement...)
-
statements
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) @Pro public static @NotNull Block statements(Collection<? extends Statement> statements)
Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN .. END;, unless explicitly needed.- See Also:
DSLContext.statements(Collection)
-
var
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,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,DB2,FIREBIRD,H2,HANA,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,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static <T> @NotNull Variable<T> variable(String name, DataType<T> type)
A synonym forvar(Name, DataType)to be used in Scala and Groovy, wherevaris a reserved keyword.- See Also:
val(Object),begin(Statement...)
-
variable
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static <T> @NotNull Variable<T> variable(Name name, DataType<T> type)
A synonym forvar(Name, DataType)to be used in Scala and Groovy, wherevaris a reserved keyword.- See Also:
val(Object),begin(Statement...)
-
declare
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,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
Blockas is supported by databases likeSQLDialect.MYSQLorSQLDialect.SQLSERVER. If the underlying database requires a dedicatedDECLAREsection, the section will be generated automatically and if needed, a nestedBlockis generated.- See Also:
begin(Statement...)
-
execute
@NotNull @Support({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({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({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,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull IfThenStep if_(Condition condition)
Create anIFstatement for use in procedural code.- See Also:
begin(Statement...)
-
while_
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull LoopStep while_(Condition condition)
Create aWHILEloop for use in procedural code.- See Also:
begin(Statement...)
-
repeat
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull RepeatUntilStep repeat(Statement... statements)
Create aREPEATloop for use in procedural code.- See Also:
begin(Statement...)
-
repeat
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull RepeatUntilStep repeat(Collection<? extends Statement> statements)
Create aREPEATloop for use in procedural code.- See Also:
begin(Statement...)
-
for_
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB_10_3,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static <T> @NotNull ForInStep<T> for_(Variable<T> index)
Create aFORloop for use in procedural code.- See Also:
begin(Statement...)
-
loop
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement loop(Statement... statements)
Create aLOOPfor use in procedural code.- See Also:
begin(Statement...)
-
loop
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,HANA,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement loop(Collection<? extends Statement> statements)
Create aLOOPfor use in procedural code.- See Also:
begin(Statement...)
-
label
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,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,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,ORACLE,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement goto_(Label label)
Create anGOTOstatement for use in procedural code.- See Also:
begin(Statement...)
-
return_
@NotNull @Support({FIREBIRD,ORACLE,POSTGRES}) @Pro public static @NotNull Statement return_()
Create anRETURNstatement for use in procedural code.- See Also:
begin(Statement...)
-
return_
@NotNull @Support({FIREBIRD,ORACLE,POSTGRES}) @Pro public static @NotNull Statement return_(Object value)
Create anRETURNstatement for use in procedural code.- See Also:
begin(Statement...)
-
return_
@NotNull @Support({FIREBIRD,ORACLE,POSTGRES}) @Pro public static @NotNull Statement return_(Field<?> value)
Create anRETURNstatement for use in procedural code.- See Also:
begin(Statement...)
-
exit
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull ExitWhenStep exit()
Create anEXITstatement for use in procedural code.- See Also:
begin(Statement...)
-
exit
@NotNull @Support({AURORA_POSTGRES,DB2,FIREBIRD,H2,MARIADB,MYSQL,ORACLE,POSTGRES}) @Pro public static @NotNull ExitWhenStep exit(Label label)
Create anEXITstatement for use in procedural code.- See Also:
begin(Statement...)
-
exitWhen
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement exitWhen(Condition condition)
Create anEXITstatement for use in procedural code.- See Also:
begin(Statement...)
-
exitWhen
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement exitWhen(Field<Boolean> condition)
Create anEXITstatement for use in procedural code.- See Also:
begin(Statement...)
-
continue_
@NotNull @Support({AURORA_POSTGRES,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull ContinueWhenStep continue_()
Create anCONTINUEstatement for use in procedural code.- See Also:
begin(Statement...)
-
continue_
@NotNull @Support({AURORA_POSTGRES,DB2,H2,MARIADB,MYSQL,ORACLE,POSTGRES}) @Pro public static @NotNull ContinueWhenStep continue_(Label label)
Create anCONTINUEstatement for use in procedural code.- See Also:
begin(Statement...)
-
continueWhen
@NotNull @Support({AURORA_POSTGRES,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement continueWhen(Condition condition)
Create anCONTINUEstatement for use in procedural code.- See Also:
begin(Statement...)
-
continueWhen
@NotNull @Support({AURORA_POSTGRES,H2,HANA,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) @Pro public static @NotNull Statement continueWhen(Field<Boolean> condition)
Create anCONTINUEstatement for use in procedural code.- See Also:
begin(Statement...)
-
link
@NotNull @Support(ORACLE) @Pro public static @NotNull Link link(String name)
Create a database link reference.
-
link
@NotNull @Support(ORACLE) @Pro public static @NotNull Link link(String name, Schema schema)
Create a database link reference.
-
link
@NotNull @Support(ORACLE) @Pro public static @NotNull Link link(Name name)
Create a database link reference.
-
sql
@NotNull @Support @PlainSQL public static @NotNull SQL sql(String sql)
A custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat 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
@NotNull @Support @PlainSQL public static @NotNull SQL sql(String sql, QueryPart... parts)
A custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat can contain user-defined plain SQL, because sometimes it is easier to express things directly in SQL.This overload takes a set of
QueryPartarguments 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 injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
sql
@NotNull @Support @PlainSQL public static @NotNull SQL sql(String sql, Object... bindings)
A custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat 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 parameterThis 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 @NotNull @Support @PlainSQL public static @NotNull QueryPart queryPart(String sql)
Deprecated.- 3.6.0 - [#3854] - Usesql(String)insteadA custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat 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 @NotNull @Support @PlainSQL public static @NotNull QueryPart queryPart(String sql, QueryPart... parts)
Deprecated.- 3.6.0 - [#3854] - Usesql(String, QueryPart...)insteadA custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat 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 injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A query part wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
queryPart
@Deprecated @NotNull @Support @PlainSQL public static @NotNull QueryPart queryPart(String sql, Object... bindings)
Deprecated.- 3.6.0 - [#3854] - Usesql(String, Object...)insteadA custom SQL clause that can render arbitrary expressions.A plain SQL
QueryPartis aQueryPartthat 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 parameterNOTE: 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
@NotNull @Support @PlainSQL public static @NotNull RowCountQuery query(SQL sql)
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)
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 SQLbindings- 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 passQueryPartobjects 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 injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A query wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
resultQuery
@NotNull @Support @PlainSQL public static @NotNull ResultQuery<Record> resultQuery(SQL sql)
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) ResultQuery.fetchInto(RecordHandler)Fetch records into a custom callback (similar to Spring's RowMapper) Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
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)
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) ResultQuery.fetchInto(RecordHandler)Fetch records into a custom callback (similar to Spring's RowMapper) Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
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) ResultQuery.fetchInto(RecordHandler)Fetch records into a custom callback (similar to Spring's RowMapper) Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<unnamed cursor 1>\"";
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 SQLbindings- 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 passQueryPartobjects 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 injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A query wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
table
@NotNull @Support @PlainSQL public static @NotNull Table<Record> table(SQL sql)
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.
TableLike.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)
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.
TableLike.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.
TableLike.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.
TableLike.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 injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A table wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
sequence
@Deprecated @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) @PlainSQL public static @NotNull Sequence<BigInteger> sequence(String sql)
Deprecated.- 3.10 - [#6162] - Usesequence(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 @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) @PlainSQL public static <T extends Number> @NotNull Sequence<T> sequence(String sql, Class<T> type)
Deprecated.- 3.10 - [#6162] - Usesequence(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 SQLtype- The field type- Returns:
- A field wrapping the plain SQL
- See Also:
SQL
-
sequence
@Deprecated @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE}) @PlainSQL public static <T extends Number> @NotNull Sequence<T> sequence(String sql, DataType<T> type)
Deprecated.- 3.10 - [#6162] - Usesequence(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 SQLtype- 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 theVALUEpseudo field for usage withDOMAINspecifications.
-
value
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static <T> @NotNull Field<T> value(DataType<T> type)
Create theVALUEpseudo field for usage withDOMAINspecifications.
-
domain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static @NotNull Domain<?> domain(String name)
Create aDOMAINreference.
-
domain
@NotNull @Support({AURORA_POSTGRES,FIREBIRD,H2,HSQLDB,POSTGRES,SQLSERVER}) public static @NotNull Domain<?> domain(Name name)
Create aDOMAINreference.
-
field
@NotNull @Support @PlainSQL public static @NotNull Field<Object> field(SQL sql)
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)
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 SQLbindings- 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(SQL sql, Class<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 SQLtype- 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, Class<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 SQLtype- 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, 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 SQLtype- The field typebindings- 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(SQL 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 SQLtype- 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 SQLtype- 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 SQLtype- The field typebindings- 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
Fieldtypes are expected. An example for this is MySQL'sGROUP_CONCATaggregate 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 SQLtype- The field typeparts- TheQueryPartobjects 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
Fieldtypes are expected. An example for this is MySQL'sGROUP_CONCATaggregate 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 injectedparts- TheQueryPartobjects 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
Fieldtypes are expected. An example for this is MySQL'sGROUP_CONCATaggregate 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 injectedtype- The field typeparts- TheQueryPartobjects 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 typearguments- 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 typearguments- 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 typearguments- 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 typearguments- 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 typearguments- 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 nametype- The aggregate function return typearguments- 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 typearguments- 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 typearguments- 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 typearguments- 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 nametype- The aggregate function return typearguments- 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 typearguments- 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 typearguments- The aggregate function arguments
-
condition
@NotNull @Support @PlainSQL public static @NotNull Condition condition(SQL sql)
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)
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 SQLbindings- 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
Conditiontypes 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 SQLparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- A condition wrapping the plain SQL
- See Also:
SQL,sql(String, QueryPart...)
-
condition
@NotNull @Support public static @NotNull Condition condition(Boolean value)
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
@NotNull @Support public static @NotNull Condition condition(Field<Boolean> field)
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
@NotNull @Support public static @NotNull Condition condition(Map<Field<?>,?> map)
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
@NotNull @Support public static @NotNull Condition condition(Record record)
Create a "Query By Example" (QBE)Conditionfrom aRecord.This will take all the non-null values in the argument
recordto form a predicate from them. If all values in therecordarenull, the predicate will be thetrueCondition().- Parameters:
record- The record from which to create a condition.- Returns:
- The condition.
- See Also:
- https://en. wikipedia.org/wiki/Query_by_Example
-
noCondition
@NotNull @Support public static @NotNull Condition noCondition()
Return aConditionthat behaves like no condition being present.This is useful as an "identity" condition for reduction operations, for both
ANDandORreductions, e.g.Condition combined = Stream.of(cond1, cond2, cond3) .reduce(noCondition(), Condition::and);When this condition is passed to SQL clauses, such as the
WHEREclause, the entire clause is omitted:selectFrom(T).where(noCondition())
... will produce
SELECT * FROM t
-
trueCondition
@NotNull @Support public static @NotNull True trueCondition()
Return aConditionthat will always evaluate to true.
-
falseCondition
@NotNull @Support public static @NotNull False falseCondition()
Return aConditionthat will always evaluate to false.
-
and
@NotNull @Support public static @NotNull Condition and(Collection<? extends Condition> conditions)
-
or
@NotNull @Support public static @NotNull Condition or(Collection<? extends Condition> conditions)
-
condition
@NotNull @Support public static @NotNull Condition condition(Operator operator, Condition left, Condition right)
Return aConditionthat connects all argumentconditionswithOperator.
-
condition
@NotNull @Support public static @NotNull Condition condition(Operator operator, Condition... conditions)
Return aConditionthat connects all argumentconditionswithOperator.
-
condition
@NotNull @Support public static @NotNull Condition condition(Operator operator, Collection<? extends Condition> conditions)
Return aConditionthat connects all argumentconditionswithOperator.
-
exists
@NotNull @Support public static @NotNull Condition exists(Select<?> query)
Create an exists condition.EXISTS ([query])
-
notExists
@NotNull @Support public static @NotNull Condition notExists(Select<?> query)
Create a not exists condition.NOT EXISTS ([query])
-
unique
@NotNull @Support public static @NotNull Condition unique(Select<?> query)
Create a unique condition.UNIQUE ([query])
-
notUnique
@NotNull @Support public static @NotNull Condition notUnique(Select<?> query)
Create a not unique condition.NOT UNIQUE ([query])
-
not
@NotNull @Support public static @NotNull Condition not(Condition condition)
Invert a condition.This is the same as calling
Condition.not()
-
not
@Deprecated @NotNull @Support public static @NotNull Field<Boolean> not(Boolean value)
Deprecated.- 3.8.0 - [#4763] - Usenot(Condition)instead. Due to ambiguity between calling this method usingField.equals(Object)argument, vs. calling the other method via aField.equal(Object)argument, this method will be removed in the future.Invert a boolean value.This is convenience for calling
field(Condition),not(Condition),condition(Field), i.e.field(not(condition(field)));
-
not
@NotNull @Support public static @NotNull Field<Boolean> not(Field<Boolean> field)
Invert a boolean value.This is convenience for calling
field(Condition),not(Condition),condition(Field), i.e.field(not(condition(field)));
-
field
@NotNull @Support public static @NotNull Field<Boolean> field(Condition condition)
Transform a condition into a boolean field.
-
field
@NotNull @Support public static <T> @NotNull Field<T> field(SelectField<T> field)
Wrap aSelectFieldin a general-purposeField
-
rowField
@NotNull @Support public static <T1> @NotNull Field<Record1<T1>> rowField(Row1<T1> row)
EXPERIMENTAL: Turn a row value expression of degree1into aField.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.
-
rowField
@NotNull @Support public static <T1,T2> @NotNull Field<Record2<T1,T2>> rowField(Row2<T1,T2> row)
EXPERIMENTAL: Turn a row value expression of degree2into aField.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.
-
rowField
@NotNull @Support public static <T1,T2,T3> @NotNull Field<Record3<T1,T2,T3>> rowField(Row3<T1,T2,T3> row)
EXPERIMENTAL: Turn a row value expression of degree3into aField.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.
-
rowField
@NotNull @Support public static <T1,T2,T3,T4> @NotNull Field<Record4<T1,T2,T3,T4>> rowField(Row4<T1,T2,T3,T4> row)
EXPERIMENTAL: Turn a row value expression of degree4into aField.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.
-
rowField
@NotNull @Support public static <T1,T2,T3,T4,T5> @NotNull Field<Record5<T1,T2,T3,T4,T5>> rowField(Row5<T1,T2,T3,T4,T5> row)
EXPERIMENTAL: Turn a row value expression of degree5into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree6into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree7into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree8into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree9into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree10into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree11into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree12into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree13into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree14into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree15into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree16into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree17into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree18into aField.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.
-
rowField
@NotNull @Support 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)
EXPERIMENTAL: Turn a row value expression of degree19into aField.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.
-
rowField
@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 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)
EXPERIMENTAL: Turn a row value expression of degree20into aField.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.
-
rowField
@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 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)
EXPERIMENTAL: Turn a row value expression of degree21into aField.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.
-
rowField
@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 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)
EXPERIMENTAL: Turn a row value expression of degree22into aField.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.
-
rowField
@NotNull @Support public static @NotNull Field<Record> rowField(RowN row)
EXPERIMENTAL: Turn a row value expression of arbitrary degree into aField.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.
-
field
@NotNull @Support public static <T> @NotNull Field<T> field(Select<? extends Record1<T>> select)
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 styleIF(condition, ifTrue, ifFalse)function.
-
if_
@NotNull @Support public static <T> @NotNull Field<T> if_(Condition condition, T ifTrue, Field<T> ifFalse)
Create a MySQL styleIF(condition, ifTrue, ifFalse)function.
-
if_
@NotNull @Support public static <T> @NotNull Field<T> if_(Condition condition, Field<T> ifTrue, T ifFalse)
Create a MySQL styleIF(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 styleIF(condition, ifTrue, ifFalse)function.
-
choose
@NotNull @Support public static @NotNull Case choose()
Initialise aCasestatement.Choose is used as a method name to avoid name clashes with Java's reserved literal "case"
- See Also:
Case
-
choose
@NotNull @Support public static <V> @NotNull CaseValueStep<V> choose(V value)
Initialise aCasestatement.This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one' WHEN 2 THEN 'two' ELSE 'three' ENDChoose is used as a method name to avoid name clashes with Java's reserved literal "case".
- See Also:
Case
-
choose
@NotNull @Support public static <V> @NotNull CaseValueStep<V> choose(Field<V> value)
Initialise aCasestatement.This API can be used to create expressions of the type
CASE value WHEN 1 THEN 'one' WHEN 2 THEN 'two' ELSE 'three' ENDChoose is used as a method name to avoid name clashes with Java's reserved literal "case".
- See Also:
Case
-
choose
@NotNull @Support public static <T> @NotNull Field<T> choose(int index, T... values)
The T-SQLCHOOSE()function.
-
choose
@NotNull @Support @SafeVarargs public static <T> @NotNull Field<T> choose(int index, Field<T>... values)
The T-SQLCHOOSE()function.
-
choose
@NotNull @Support public static <T> @NotNull Field<T> choose(Field<Integer> index, T... values)
The T-SQLCHOOSE()function.
-
choose
@NotNull @Support @SafeVarargs public static <T> @NotNull Field<T> choose(Field<Integer> index, Field<T>... values)
The T-SQLCHOOSE()function.
-
case_
@NotNull @Support public static @NotNull Case case_()
Initialise aCasestatement.- See Also:
Case
-
case_
@NotNull @Support public static <V> @NotNull CaseValueStep<V> case_(V value)
Initialise aCasestatement.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_
@NotNull @Support public static <V> @NotNull CaseValueStep<V> case_(Field<V> value)
Initialise aCasestatement.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 aCasestatement.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 aCasestatement.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 aCasestatement.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 aCasestatement.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 aCasestatement.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 aCasestatement.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
@NotNull @Support public static @NotNull Case decode()
Initialise aCasestatement.Decode is used as a method name to avoid name clashes with Java's reserved literal "case"
- See Also:
Case
-
decode
@NotNull @Support public static <Z,T> @NotNull Field<Z> decode(T value, T search, Z result)
Gets the Oracle-styleDECODE(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-styleDECODE(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-styleDECODE(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-styleDECODE(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...] ENDNote the use of the
DISTINCTpredicate to produce the same, convenientlyNULL-agnostic behaviour as Oracle.- Parameters:
value- The value to decodesearch- the mandatory first search parameterresult- the mandatory first result candidate parametermore- the optional parameters. Ifmore.lengthis even, then it is assumed that it contains more search/result pairs. Ifmore.lengthis odd, then it is assumed that it contains more search/result pairs plus a default at the end.
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Object value, Field<T> as)
Coerce this field to the type of another field.- See Also:
coerce(Field, Field)
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Object value, Class<T> as)
Coerce this field to another type.- See Also:
coerce(Field, Class)
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Object value, DataType<T> as)
Coerce a field to another type.- See Also:
coerce(Field, DataType)
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Field<?> field, Field<T> as)
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 coercedas- The field whose type is used for the coercion- Returns:
- The coerced field
- See Also:
Field.coerce(DataType),Field.cast(Field)
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Field<?> field, Class<T> as)
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:
field- The field to be coercedas- The type that is used for the coercion- Returns:
- The coerced field
- See Also:
Field.coerce(DataType),Field.cast(Class)
-
coerce
@NotNull @Support public static <T> @NotNull Field<T> coerce(Field<?> field, DataType<T> as)
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 coercedas- 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,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 styleCONVERT()function.- Type Parameters:
T- The generic type of the converted field- Parameters:
type- The data type to convert tovalue- The expression to convertstyle- 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,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 styleCONVERT()function.- Type Parameters:
T- The generic type of the converted field- Parameters:
type- The data type to convert tovalue- The expression to convertstyle- 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
@NotNull @Support public static <T> @NotNull Field<T> cast(Object value, Field<T> as)
Cast a value to the type of another field.- Type Parameters:
T- The generic type of the cast field- Parameters:
value- The value to castas- The field whose type is used for the cast- Returns:
- The cast field
-
cast
@NotNull @Support public static <T> @NotNull Field<T> cast(Field<?> field, Field<T> as)
Cast a field to the type of another field.- Type Parameters:
T- The generic type of the cast field- Parameters:
field- The field to castas- The field whose type is used for the cast- Returns:
- The cast field
-
castNull
@NotNull @Support public static <T> @NotNull Field<T> castNull(Field<T> as)
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
@NotNull @Support public static <T> @NotNull Field<T> cast(Object value, Class<T> type)
Cast a value to another type.- Type Parameters:
T- The generic type of the cast field- Parameters:
value- The value to casttype- The type that is used for the cast- Returns:
- The cast field
-
cast
@NotNull @Support public static <T> @NotNull Field<T> cast(Field<?> field, Class<T> type)
Cast a field to another type.- Type Parameters:
T- The generic type of the cast field- Parameters:
field- The field to casttype- The type that is used for the cast- Returns:
- The cast field
-
castNull
@NotNull @Support public static <T> @NotNull Field<T> castNull(DataType<T> type)
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
@NotNull @Support public static <T> @NotNull Field<T> cast(Object value, DataType<T> type)
Cast a value to another type.- Type Parameters:
T- The generic type of the cast field- Parameters:
value- The value to casttype- The type that is used for the cast- Returns:
- The cast field
-
cast
@NotNull @Support public static <T> @NotNull Field<T> cast(Field<?> field, DataType<T> type)
Cast a field to another type.- Type Parameters:
T- The generic type of the cast field- Parameters:
field- The value to casttype- The type that is used for the cast- Returns:
- The cast field
-
castNull
@NotNull @Support public static <T> @NotNull Field<T> castNull(Class<T> type)
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
@NotNull @Support public static <T> @NotNull Field<T> coalesce(T value, T... values)
TheCOALESCE(value1, value2, ... , value n)function.- See Also:
coalesce(Field, Field...)
-
coalesce
@NotNull @Support public static <T> @NotNull Field<T> coalesce(Field<T> field, T value)
TheCOALESCE(field, value)function.- See Also:
coalesce(Field, Field...)
-
coalesce
@NotNull @Support public static <T> @NotNull Field<T> coalesce(Field<T> field, Field<?>... fields)
TheCOALESCE(field1, field2, ... , field n)function.
-
isnull
@NotNull @Support public static <T> @NotNull Field<T> isnull(T value, T defaultValue)
Gets the SQL Server-style ISNULL(value, defaultValue) function.- See Also:
nvl(Field, Field)
-
isnull
@NotNull @Support public static <T> @NotNull Field<T> isnull(T value, Field<T> defaultValue)
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, T defaultValue)
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
@NotNull @Support public static <T> @NotNull Field<T> nvl(T value, T defaultValue)
Gets the Oracle-style NVL(value, defaultValue) function.- See Also:
nvl(Field, Field)
-
nvl
@NotNull @Support public static <T> @NotNull Field<T> nvl(T value, Field<T> defaultValue)
Gets the Oracle-style NVL(value, defaultValue) function.- See Also:
nvl(Field, Field)
-
nvl
@NotNull @Support public static <T> @NotNull Field<T> nvl(Field<T> value, T defaultValue)
Gets the Oracle-style NVL(value, defaultValue) function.- See Also:
nvl(Field, Field)
-
nvl
@NotNull @Support public static <T> @NotNull Field<T> nvl(Field<T> value, Field<T> defaultValue)
-
ifnull
@NotNull @Support public static <T> @NotNull Field<T> ifnull(T value, T defaultValue)
TheIFNULL()function, a synonym ofNVL().- See Also:
nvl(Field, Field)
-
ifnull
@NotNull @Support public static <T> @NotNull Field<T> ifnull(T value, Field<T> defaultValue)
TheIFNULL()function, a synonym ofNVL().- See Also:
nvl(Field, Field)
-
ifnull
@NotNull @Support public static <T> @NotNull Field<T> ifnull(Field<T> value, T defaultValue)
TheIFNULL()function, a synonym ofNVL().- See Also:
nvl(Field, Object)
-
ifnull
@NotNull @Support public static <T> @NotNull Field<T> ifnull(Field<T> value, Field<T> defaultValue)
TheIFNULL()function, a synonym ofNVL().- 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
@NotNull @Support public static <T> @NotNull Field<T> nullif(T value, T other)
Gets the Oracle-style NULLIF(value, other) function.- See Also:
nullif(Field, Field)
-
nullif
@NotNull @Support public static <T> @NotNull Field<T> nullif(T value, Field<T> other)
Gets the Oracle-style NULLIF(value, other) function.- See Also:
nullif(Field, Field)
-
nullif
@NotNull @Support public static <T> @NotNull Field<T> nullif(Field<T> value, T other)
Gets the Oracle-style NULLIF(value, other) function.- See Also:
nullif(Field, Field)
-
nullif
@NotNull @Support public static <T> @NotNull Field<T> nullif(Field<T> value, Field<T> other)
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.
-
upper
@NotNull @Support public static @NotNull Field<String> upper(String value)
Get the upper(field) function.- See Also:
upper(Field)
-
upper
@NotNull @Support public static @NotNull Field<String> upper(Field<String> field)
Get the upper(field) function.This renders the upper function in all dialects:
upper([field])
-
lower
@NotNull @Support public static @NotNull Field<String> lower(String value)
Get the lower(field) function.- See Also:
lower(Field)
-
lower
@NotNull @Support public static @NotNull Field<String> lower(Field<String> field)
Get the lower(field) function.This renders the lower function in all dialects:
lower([field])
-
trim
@NotNull @Support public static @NotNull Field<String> trim(String value)
Get the trim(field) function.- See Also:
trim(Field)
-
trim
@NotNull @Support public static @NotNull Field<String> trim(Field<String> field)
Get the trim(field) function.This renders the trim function where available:
... or emulates it elsewhere using rtrim and ltrim:trim([field])
ltrim(rtrim([field]))
-
trim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER2017,TERADATA,VERTICA}) public static @NotNull Field<String> trim(String value, String characters)
Get thetrim(field, characters)ortrim(both characters from field)function.- See Also:
trim(Field, Field)
-
trim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,SQLSERVER2017,TERADATA,VERTICA}) public static @NotNull Field<String> trim(Field<String> field, Field<String> characters)
Get thetrim(field, characters)ortrim(both characters from field)function.This renders the trim function where available:
... or emulates it elsewhere using rtrim and ltrim:trim([field])
ltrim(rtrim([field]))
-
rtrim
@NotNull @Support public static @NotNull Field<String> rtrim(String value)
Get the rtrim(field) function.- See Also:
rtrim(Field)
-
rtrim
@NotNull @Support public static @NotNull Field<String> rtrim(Field<String> field)
Get the rtrim(field) function.This renders the rtrim function in all dialects:
rtrim([field])
-
rtrim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,TERADATA,VERTICA}) public static @NotNull Field<String> rtrim(String value, String characters)
Get thertrim(field, characters)ortrim(trailing characters from field)function.- See Also:
rtrim(Field, Field)
-
rtrim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,TERADATA,VERTICA}) public static @NotNull Field<String> rtrim(Field<String> field, Field<String> characters)
Get thertrim(field, characters)ortrim(trailing characters from field)function.This renders the rtrim function in all dialects:
rtrim([field])
-
ltrim
@NotNull @Support public static @NotNull Field<String> ltrim(String value)
Get the ltrim(field) function.- See Also:
ltrim(Field)
-
ltrim
@NotNull @Support public static @NotNull Field<String> ltrim(Field<String> field)
Get the ltrim(field) function.This renders the ltrim function in all dialects:
ltrim([field])
-
ltrim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,TERADATA,VERTICA}) public static @NotNull Field<String> ltrim(String value, String characters)
Get theltrim(field, characters)ortrim(leading characters from field)function.- See Also:
ltrim(Field, Field)
-
ltrim
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLITE,TERADATA,VERTICA}) public static @NotNull Field<String> ltrim(Field<String> field, Field<String> characters)
Get theltrim(field, characters)ortrim(leading characters from field)function.This renders the ltrim function in all dialects:
ltrim([field])
-
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)
Get the rpad(field, length) function.- See Also:
rpad(Field, Field)
-
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, Field<? extends Number> length)
Get the rpad(field, length) function.This renders the rpad function where available:
... or emulates it elsewhere using concat, repeat, and length, which may be emulated as well, depending on the RDBMS:rpad([field], [length])
concat([field], repeat(' ', [length] - length([field])))
-
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)
-
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, String character)
Get the rpad(field, length, character) function.- See Also:
rpad(Field, Field, Field)
-
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, Field<? extends Number> length, Field<String> character)
Get the rpad(field, length, character) function.This renders the rpad function where available:
... or emulates it elsewhere using concat, repeat, and length, which may be emulated as well, depending on the RDBMS:rpad([field], [length])
concat([field], repeat([character], [length] - length([field])))
In
SQLDialect.SQLITE, this is emulated as such:[field] || replace(replace(substr(quote(zeroblob(([length] + 1) / 2)), 3, ([length] - length([field]))), '\''', ''), '0', [character])
-
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)
Get the lpad(field, length) function.- See Also:
lpad(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, Field<? extends Number> length)
Get the lpad(field, length) function.This renders the lpad function where available:
... or emulates it elsewhere using concat, repeat, and length, which may be emulated as well, depending on the RDBMS:lpad([field], [length])
concat(repeat(' ', [length] - length([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)
-
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, String character)
Get the lpad(field, length, character) function.- See Also:
lpad(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, Field<? extends Number> length, Field<String> character)
Get the lpad(field, length, character) function.This renders the lpad function where available:
... or emulates it elsewhere using concat, repeat, and length, which may be emulated as well, depending on the RDBMS:lpad([field], [length])
concat(repeat([character], [length] - length([field])), [field])
In
SQLDialect.SQLITE, this is emulated as such:replace(replace(substr(quote(zeroblob(([length] + 1) / 2)), 3, ([length] - length([field]))), '\''', ''), '0', [character]) || [field]
-
translate
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER2017,TERADATA}) public static @NotNull Field<String> translate(Field<String> text, String from, String to)
Get the translate(field, from, to) function.- See Also:
translate(Field, Field, Field)
-
translate
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER2017,TERADATA}) public static @NotNull Field<String> translate(Field<String> text, Field<String> from, Field<String> to)
Get the translate(field, from, to) function.
-
repeat
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> repeat(String field, int count)
Get the repeat(field, count) function.- See Also:
repeat(Field, Field)
-
repeat
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> repeat(String field, Field<? extends Number> count)
Get the repeat(field, count) function.- See Also:
repeat(Field, Field)
-
repeat
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> repeat(Field<String> field, int count)
Get the repeat(count) function.- See Also:
repeat(Field, Field)
-
repeat
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> repeat(Field<String> field, Field<? extends Number> count)
Get the repeat(field, count) function.This renders the repeat or replicate function where available:
... or emulates it elsewhere using rpad and length, which may be emulated as well, depending on the RDBMS:repeat([field], [count]) or replicate([field], [count])
rpad([field], length([field]) * [count], [field])
In
SQLDialect.SQLITE, this is emulated as such:replace(substr(quote(zeroblob(([count] + 1) / 2)), 3, [count]), '0', [field])
-
space
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> space(int value)
Get the SQL Server specificSPACE()function.This function can be emulated using
repeat(String, int)in dialects that do not ship with a nativeSPACE()function.
-
space
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<String> space(Field<Integer> value)
Get the SQL Server specificSPACE()function.This function can be emulated using
repeat(String, int)in dialects that do not ship with a nativeSPACE()function.
-
reverse
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) public static @NotNull Field<String> reverse(String value)
Get thereverse(field)function.
-
reverse
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA}) public static @NotNull Field<String> reverse(Field<String> field)
Get thereverse(field)function.
-
escape
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull String escape(String value, char escape)
Convenience method forreplace(Field, String, String)to escape data for use withField.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,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) public static @NotNull Field<String> escape(Field<String> field, char escape)
Convenience method forreplace(Field, String, String)to escape data for use withField.like(Field, char).Essentially, this escapes
%and_characters
-
replace
@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> replace(Field<String> field, String search)
Get the replace(field, search) function.- See Also:
replace(Field, Field)
-
replace
@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> replace(Field<String> field, Field<String> search)
Get the replace(field, search) function.This renders the replace or str_replace function where available:
... or emulates it elsewhere using the three-argument replace function:replace([field], [search]) or str_replace([field], [search])
replace([field], [search], '')
-
replace
@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> replace(Field<String> field, String search, String replace)
Get the replace(field, search, replace) function.- See Also:
replace(Field, Field, Field)
-
replace
@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> replace(Field<String> field, Field<String> search, Field<String> replace)
Get the replace(field, search, replace) function.This renders the replace or str_replace function:
replace([field], [search]) or str_replace([field], [search])
-
regexpReplaceAll
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,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 theREGEXP_REPLACE_ALLfunction.
-
regexpReplaceAll
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,H2,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 theREGEXP_REPLACE_ALLfunction.
-
regexpReplaceFirst
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,INFORMIX,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,TERADATA,VERTICA}) public static @NotNull Field<String> regexpReplaceFirst(Field<String> field, String pattern, String replacement)
Get theREGEXP_REPLACE_ALLfunction.
-
regexpReplaceFirst
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,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 theREGEXP_REPLACE_ALLfunction.
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, String search)
Get the position(in, search) function.- See Also:
position(Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, Field<String> search)
Get the position(in, search) function.- See Also:
position(Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, String search)
Get the position(in, search) function.- See Also:
position(Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, Field<String> search)
Get the position(in, search) function.This renders the position or any equivalent function:
position([search] in [in]) or locate([in], [search]) or locate([search], [in]) or instr([in], [search]) or charindex([search], [in])
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, String search, int startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, Field<String> search, int startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, String search, int startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, Field<String> search, int startIndex)
Get the position(in, search, startindex) function.This renders the position or any equivalent function:
position([search] in [in]) or locate([in], [search]) or locate([search], [in]) or instr([in], [search]) or charindex([search], [in])
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, String search, Field<? extends Number> startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(String in, Field<String> search, Field<? extends Number> startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, String search, Field<? extends Number> startIndex)
Get the position(in, search, startindex) function.- See Also:
position(Field, Field)
-
position
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> position(Field<String> in, Field<String> search, Field<? extends Number> startIndex)
Get the position(in, search, startindex) function.This renders the position or any equivalent function:
position([search] in [in]) or locate([in], [search]) or locate([search], [in]) or instr([in], [search]) or charindex([search], [in])
-
overlay
@NotNull @Support public static @NotNull Field<String> overlay(Field<String> in, String placing, Number startIndex)
Get the overlay(in, placing, startIndex) function.
-
overlay
@NotNull @Support public static @NotNull Field<String> overlay(Field<String> in, Field<String> placing, Field<? extends Number> startIndex)
Get the overlay(in, placing, startIndex) function.
-
overlay
@NotNull @Support public static @NotNull Field<String> overlay(Field<String> in, String placing, Number startIndex, Number length)
Get the overlay(in, placing, startIndex, length) function.
-
overlay
@NotNull @Support public static @NotNull Field<String> overlay(Field<String> in, Field<String> placing, Field<? extends Number> startIndex, Field<? extends Number> length)
Get the overlay(in, placing, startIndex, length) 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.
-
ascii
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> ascii(String field)
Get the ascii(field) function.- See Also:
ascii(Field)
-
ascii
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> ascii(Field<String> field)
Get the ascii(field) function.This renders the ascii function:
ascii([field])
-
concat
@NotNull @Support public static @NotNull Field<String> concat(Field<String> field, String value)
Get theconcat(field, value)function.- See Also:
concat(Field...)
-
concat
@NotNull @Support public static @NotNull Field<String> concat(String value, Field<String> field)
Get theconcat(value, field)function.- See Also:
concat(Field...)
-
concat
@NotNull @Support public static @NotNull Field<String> concat(String... values)
Get the concat(value[, value, ...]) function.- See Also:
concat(Field...)
-
concat
@NotNull @Support public static @NotNull Field<String> concat(Field<?>... fields)
Get the concat(field[, field, ...]) function.This creates
fields[0] || fields[1] || ...as an expression, orconcat(fields[0], fields[1], ...), depending on the dialect.If any of the given fields is not a
Stringfield, they are cast toField<String>first usingcast(Object, Class)
-
substring
@NotNull @Support public static @NotNull Field<String> substring(Field<String> field, int startingPosition)
Get the substring(field, startingPosition) function.- See Also:
substring(Field, Field)
-
substring
@NotNull @Support public static @NotNull Field<String> substring(Field<String> field, Field<? extends Number> startingPosition)
Get the substring(field, startingPosition) function.This renders the substr or substring function:
substr([field], [startingPosition]) or substring([field], [startingPosition])
-
substring
@NotNull @Support public static @NotNull Field<String> substring(Field<String> field, int startingPosition, int length)
Get the substring(field, startingPosition, length) function.- See Also:
substring(Field, Field, Field)
-
substring
@NotNull @Support public static @NotNull Field<String> substring(Field<String> field, Field<? extends Number> startingPosition, Field<? extends Number> length)
Get the substring(field, startingPosition, length) function.This renders the substr or substring function:
substr([field], [startingPosition], [length]) or substring([field], [startingPosition], [length])
-
mid
@NotNull @Support public static @NotNull Field<String> mid(Field<String> field, int startingPosition, int length)
Get the mid(field, startingPosition, length) function.- See Also:
substring(Field, Field, Field)
-
mid
@NotNull @Support public static @NotNull Field<String> mid(Field<String> field, Field<? extends Number> startingPosition, Field<? extends Number> length)
Get the mid(field, startingPosition, length) function.This renders the substr or substring function:
substr([field], [startingPosition], [length]) or substring([field], [startingPosition], [length])
-
left
@NotNull @Support public static @NotNull Field<String> left(String field, int length)
Get the left outermost characters from a string.Example:
'abc' = LEFT('abcde', 3)
-
left
@NotNull @Support public static @NotNull Field<String> left(String field, Field<? extends Number> length)
Get the left outermost characters from a string.Example:
'abc' = LEFT('abcde', 3)
-
left
@NotNull @Support public static @NotNull Field<String> left(Field<String> field, int length)
Get the left outermost characters from a string.Example:
'abc' = LEFT('abcde', 3)
-
left
@NotNull @Support public static @NotNull Field<String> left(Field<String> field, Field<? extends Number> length)
Get the left outermost characters from a string.Example:
'abc' = LEFT('abcde', 3)
-
right
@NotNull @Support public static @NotNull Field<String> right(String field, int length)
Get the right outermost characters from a string.Example:
'cde' = RIGHT('abcde', 3)
-
right
@NotNull @Support public static @NotNull Field<String> right(String field, Field<? extends Number> length)
Get the right outermost characters from a string.Example:
'cde' = RIGHT('abcde', 3)
-
right
@NotNull @Support public static @NotNull Field<String> right(Field<String> field, int length)
Get the right outermost characters from a string.Example:
'cde' = RIGHT('abcde', 3)
-
right
@NotNull @Support public static @NotNull Field<String> right(Field<String> field, Field<? extends Number> length)
Get the right outermost characters from a string.Example:
'cde' = RIGHT('abcde', 3)
-
length
@NotNull @Support public static @NotNull Field<Integer> length(String value)
Get the length of aVARCHARtype. This is a synonym forcharLength(String).- See Also:
charLength(String)
-
length
@NotNull @Support public static @NotNull Field<Integer> length(Field<String> field)
Get the length of aVARCHARtype. This is a synonym forcharLength(Field).- See Also:
charLength(Field)
-
charLength
@NotNull @Support public static @NotNull Field<Integer> charLength(String value)
Get the char_length(field) function.This translates into any dialect
-
charLength
@NotNull @Support public static @NotNull Field<Integer> charLength(Field<String> field)
Get the char_length(field) function.This translates into any dialect
-
bitLength
@NotNull @Support public static @NotNull Field<Integer> bitLength(String value)
Get the bit_length(field) function.This translates into any dialect
-
bitLength
@NotNull @Support public static @NotNull Field<Integer> bitLength(Field<String> field)
Get the bit_length(field) function.This translates into any dialect
-
octetLength
@NotNull @Support public static @NotNull Field<Integer> octetLength(String value)
Get the octet_length(field) function.This translates into any dialect
-
octetLength
@NotNull @Support public static @NotNull Field<Integer> octetLength(Field<String> field)
Get the octet_length(field) function.This translates into any dialect
-
md5
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<String> md5(String string)
Get the MySQL-specificMD5()function.These are the implementations for various databases:
Database Implementation MySQL MD5( ... )Oracle 11g LOWER(RAWTOHEX(SYS.DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW( ... ), SYS.DBMS_CRYPTO.HASH_MD5)))Oracle 12c LOWER(STANDARD_HASH( ... , 'MD5'))
-
md5
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<String> md5(Field<String> string)
Get the MySQL-specificMD5()function.These are the implementations for various databases:
Database Implementation MySQL MD5( ... )Oracle 11g LOWER(RAWTOHEX(SYS.DBMS_CRYPTO.HASH(UTL_RAW.CAST_TO_RAW( ... ), SYS.DBMS_CRYPTO.HASH_MD5)))Oracle 12c LOWER(STANDARD_HASH( ... , 'MD5'))
-
currentDate
@NotNull @Support public static @NotNull Field<Date> currentDate()
Get the current_date() function returning a SQL standardSQLDataType.DATEtype.Note, while there is a
CURRENT_DATEfunction inSQLDialect.ORACLE, that function returns a seconds-precisionSQLDataType.TIMESTAMP, which is undesired from a vendor agnosticity perspective. This function thus produces an expression that conforms to the SQL standard idea of aSQLDataType.DATEtype.This translates into any dialect
-
currentTime
@NotNull @Support public static @NotNull Field<Time> currentTime()
Get the current_time() function returning a SQL standardSQLDataType.TIMEtype.This translates into any dialect
-
currentTimestamp
@NotNull @Support public static @NotNull Field<Timestamp> currentTimestamp()
Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype.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(Field<Integer> precision)
Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype with the specified fractional seconds precision.
-
now
@NotNull @Support public static @NotNull Field<Timestamp> now()
Synonym forcurrentTimestamp().
-
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 forcurrentTimestamp(Field).
-
currentLocalDate
@NotNull @Support public static @NotNull Field<LocalDate> currentLocalDate()
Get the current_date() function returning a SQL standardSQLDataType.DATEtype.Note, while there is a
CURRENT_DATEfunction inSQLDialect.ORACLE, that function returns a seconds-precisionSQLDataType.TIMESTAMP, which is undesired from a vendor agnosticity perspective. This function thus produces an expression that conforms to the SQL standard idea of aSQLDataType.DATEtype.This translates into any dialect
-
currentLocalTime
@NotNull @Support public static @NotNull Field<LocalTime> currentLocalTime()
Get the current_time() function returning a SQL standardSQLDataType.TIMEtype.This translates into any dialect
-
currentLocalDateTime
@NotNull @Support public static @NotNull Field<LocalDateTime> currentLocalDateTime()
Get the current_timestamp() function returning a SQL standardSQLDataType.TIMESTAMPtype.This translates into any dialect
-
currentOffsetTime
@NotNull @Support public static @NotNull Field<OffsetTime> currentOffsetTime()
Get the current_time() function.This translates into any dialect
-
currentOffsetDateTime
@NotNull @Support public static @NotNull Field<OffsetDateTime> currentOffsetDateTime()
Get the current_timestamp() function.This translates into any dialect
-
currentInstant
@NotNull @Support public static @NotNull Field<Instant> currentInstant()
Get the current_timestamp() function.This translates into any dialect
-
dateDiff
@NotNull @Support public static @NotNull Field<Integer> dateDiff(Date endDate, Date startDate)
Get the date difference betweenendDate - startDatein 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 betweenendDate - startDatein 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 betweenendDate - startDatein 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 betweenendDate - startDatein number of days.- See Also:
Field.sub(Field)
-
dateDiff
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> dateDiff(DatePart part, Date startDate, Date endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> dateDiff(DatePart part, Field<Date> startDate, Date endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> dateDiff(DatePart part, Date startDate, Field<Date> endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> dateDiff(DatePart part, Field<Date> startDate, Field<Date> endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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.
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Date date, Number interval)
Add an interval to a date.This translates into any dialect
- See Also:
Field.add(Number)
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Field<Date> date, Field<? extends Number> interval)
Add an interval to a date.This translates into any dialect
- See Also:
Field.add(Field)
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Date date, Number interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Date date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Field<Date> date, Number interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
dateAdd
@NotNull @Support public static @NotNull Field<Date> dateAdd(Field<Date> date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
dateSub
@NotNull @Support public static @NotNull Field<Date> dateSub(Date date, Number interval)
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
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Timestamp timestamp, Number interval)
Add an interval to a timestamp.This translates into any dialect
- See Also:
Field.add(Number)
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> timestamp, Field<? extends Number> interval)
Add an interval to a timestamp.This translates into any dialect
- See Also:
Field.add(Field)
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Timestamp date, Number interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Timestamp date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date, Number interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
timestampAdd
@NotNull @Support public static @NotNull Field<Timestamp> timestampAdd(Field<Timestamp> date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a timestamp, 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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.This translates into any dialect
- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull @Support public static @NotNull Field<Integer> localDateDiff(LocalDate endDate, LocalDate startDate)
Get the date difference betweenendDate - startDatein 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 betweenendDate - startDatein 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 betweenendDate - startDatein 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 betweenendDate - startDatein number of days.- See Also:
Field.sub(Field)
-
localDateDiff
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> localDateDiff(DatePart part, LocalDate startDate, LocalDate endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> localDateDiff(DatePart part, Field<LocalDate> startDate, LocalDate endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> localDateDiff(DatePart part, LocalDate startDate, Field<LocalDate> endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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,COCKROACHDB,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER}) public static @NotNull Field<Integer> localDateDiff(DatePart part, Field<LocalDate> startDate, Field<LocalDate> endDate)
Get the date difference betweenendDate - startDatein terms ofpart.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.
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(LocalDate date, Number interval)
Add an interval to a date.This translates into any dialect
- See Also:
Field.add(Number)
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date, Field<? extends Number> interval)
Add an interval to a date.This translates into any dialect
- See Also:
Field.add(Field)
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(LocalDate date, Number interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(LocalDate date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date, Number interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
localDateAdd
@NotNull @Support public static @NotNull Field<LocalDate> localDateAdd(Field<LocalDate> date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a date, given a date part.This translates into any dialect
-
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
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime timestamp, Number interval)
Add an interval to a timestamp.This translates into any dialect
- See Also:
Field.add(Number)
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> timestamp, Field<? extends Number> interval)
Add an interval to a timestamp.This translates into any dialect
- See Also:
Field.add(Field)
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date, Number interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(LocalDateTime date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date, Number interval, DatePart datePart)
Add an interval to a timestamp, given a date part.This translates into any dialect
-
localDateTimeAdd
@NotNull @Support public static @NotNull Field<LocalDateTime> localDateTimeAdd(Field<LocalDateTime> date, Field<? extends Number> interval, DatePart datePart)
Add an interval to a timestamp, 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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.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 aINTERVAL DAY TO SECONDtype.This translates into any dialect
- See Also:
Field.sub(Field)
-
trunc
@NotNull @Support({AURORA_POSTGRES,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,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,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,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,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,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,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,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,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,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
@NotNull @Support public static @NotNull Field<Integer> extract(Date value, DatePart datePart)
Get the extract(field, datePart) function.This translates into any dialect
-
extract
@NotNull @Support public static @NotNull Field<Integer> extract(Temporal value, DatePart datePart)
Get the extract(field, datePart) function.This translates into any dialect
-
extract
@NotNull @Support public static @NotNull Field<Integer> extract(Field<?> field, DatePart datePart)
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)withDatePart.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)withDatePart.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)withDatePart.EPOCH
-
millennium
@NotNull @Support public static @NotNull Field<Integer> millennium(Date value)
Get the millennium of a date.This is the same as calling
extract(Field, DatePart)withDatePart.MILLENNIUM
-
millennium
@NotNull @Support public static @NotNull Field<Integer> millennium(Temporal value)
Get the millennium of a date.This is the same as calling
extract(Field, DatePart)withDatePart.MILLENNIUM
-
millennium
@NotNull @Support public static @NotNull Field<Integer> millennium(Field<?> field)
Get the millennium of a date.This is the same as calling
extract(Field, DatePart)withDatePart.MILLENNIUM
-
century
@NotNull @Support public static @NotNull Field<Integer> century(Date value)
Get the century of a date.This is the same as calling
extract(Field, DatePart)withDatePart.CENTURY
-
century
@NotNull @Support public static @NotNull Field<Integer> century(Temporal value)
Get the century of a date.This is the same as calling
extract(Field, DatePart)withDatePart.CENTURY
-
century
@NotNull @Support public static @NotNull Field<Integer> century(Field<?> field)
Get the century of a date.This is the same as calling
extract(Field, DatePart)withDatePart.CENTURY
-
decade
@NotNull @Support public static @NotNull Field<Integer> decade(Date value)
Get the decade of a date.This is the same as calling
extract(Field, DatePart)withDatePart.DECADE
-
decade
@NotNull @Support public static @NotNull Field<Integer> decade(Temporal value)
Get the decade of a date.This is the same as calling
extract(Field, DatePart)withDatePart.DECADE
-
decade
@NotNull @Support public static @NotNull Field<Integer> decade(Field<?> field)
Get the decade of a date.This is the same as calling
extract(Field, DatePart)withDatePart.DECADE
-
quarter
@NotNull @Support public static @NotNull Field<Integer> quarter(Date value)
Get the quarter of a date.This is the same as calling
extract(Field, DatePart)withDatePart.QUARTER
-
quarter
@NotNull @Support public static @NotNull Field<Integer> quarter(Temporal value)
Get the quarter of a date.This is the same as calling
extract(Field, DatePart)withDatePart.QUARTER
-
quarter
@NotNull @Support public static @NotNull Field<Integer> quarter(Field<?> field)
Get the quarter of a date.This is the same as calling
extract(Field, DatePart)withDatePart.QUARTER
-
year
@NotNull @Support public static @NotNull Field<Integer> year(Date value)
Get the year part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.YEAR
-
year
@NotNull @Support public static @NotNull Field<Integer> year(Temporal value)
Get the year part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.YEAR
-
year
@NotNull @Support public static @NotNull Field<Integer> year(Field<?> field)
Get the year part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.YEAR
-
month
@NotNull @Support public static @NotNull Field<Integer> month(Date value)
Get the month part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.MONTH
-
month
@NotNull @Support public static @NotNull Field<Integer> month(Temporal value)
Get the month part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.MONTH
-
month
@NotNull @Support public static @NotNull Field<Integer> month(Field<?> field)
Get the month part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.WEEK
-
day
@NotNull @Support public static @NotNull Field<Integer> day(Date value)
Get the day part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.DAY
-
day
@NotNull @Support public static @NotNull Field<Integer> day(Temporal value)
Get the day part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.DAY
-
day
@NotNull @Support public static @NotNull Field<Integer> day(Field<?> field)
Get the day part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.DAY_OF_YEAR
-
hour
@NotNull @Support public static @NotNull Field<Integer> hour(Date value)
Get the hour part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.HOUR
-
hour
@NotNull @Support public static @NotNull Field<Integer> hour(Temporal value)
Get the hour part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.HOUR
-
hour
@NotNull @Support public static @NotNull Field<Integer> hour(Field<?> field)
Get the hour part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.HOUR
-
minute
@NotNull @Support public static @NotNull Field<Integer> minute(Date value)
Get the minute part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.MINUTE
-
minute
@NotNull @Support public static @NotNull Field<Integer> minute(Temporal value)
Get the minute part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.MINUTE
-
minute
@NotNull @Support public static @NotNull Field<Integer> minute(Field<?> field)
Get the minute part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.MINUTE
-
second
@NotNull @Support public static @NotNull Field<Integer> second(Date value)
Get the second part of a date.This is the same as calling
extract(java.util.Date, DatePart)withDatePart.SECOND
-
second
@NotNull @Support public static @NotNull Field<Integer> second(Temporal value)
Get the second part of a date.This is the same as calling
extract(Temporal, DatePart)withDatePart.SECOND
-
second
@NotNull @Support public static @NotNull Field<Integer> second(Field<?> field)
Get the second part of a date.This is the same as calling
extract(Field, DatePart)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.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)withDatePart.TIMEZONE_MINUTE
-
date
@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<Date> date(String value)
Convert a string value to aDATE.
-
date
@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<Date> date(Date value)
Convert a temporal value to aDATE.
-
date
@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<Date> date(Field<? extends Date> field)
Convert a temporal value to aDATE.
-
time
@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<Time> time(String value)
Convert a string value to aTIME.
-
time
@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<Time> time(Date value)
Convert a temporal value to aTIME.
-
time
@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<Time> time(Field<? extends Date> field)
Convert a temporal value to aTIME.
-
timestamp
@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<Timestamp> timestamp(String value)
Convert a string value to aTIMESTAMP.
-
timestamp
@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<Timestamp> timestamp(Date value)
Convert a temporal value to aTIMESTAMP.
-
timestamp
@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<Timestamp> timestamp(Field<? extends Date> field)
Convert a temporal value to aTIMESTAMP.
-
localDate
@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<LocalDate> localDate(String value)
Convert a string value to aDATE.
-
localDate
@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<LocalDate> localDate(LocalDate value)
Convert a temporal value to aDATE.
-
localDate
@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<LocalDate> localDate(Field<LocalDate> field)
Convert a temporal value to aDATE.
-
localTime
@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<LocalTime> localTime(String value)
Convert a string value to aTIME.
-
localTime
@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<LocalTime> localTime(LocalTime value)
Convert a temporal value to aTIME.
-
localTime
@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<LocalTime> localTime(Field<LocalTime> field)
Convert a temporal value to aTIME.
-
localDateTime
@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<LocalDateTime> localDateTime(String value)
Convert a string value to aTIMESTAMP.
-
localDateTime
@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<LocalDateTime> localDateTime(LocalDateTime value)
Convert a temporal value to aTIMESTAMP.
-
localDateTime
@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<LocalDateTime> localDateTime(Field<LocalDateTime> field)
Convert a temporal value to aTIMESTAMP.
-
offsetTime
@NotNull @Support({AURORA_POSTGRES,H2,HSQLDB,ORACLE,POSTGRES,SQLITE}) public static @NotNull Field<OffsetTime> offsetTime(String value)
Convert a string value to aTIME 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 sameInstant(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 aTIME 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 sameInstant(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 aTIME 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 sameInstant(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 aTIMESTAMP 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 sameInstant(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 aTIMESTAMP 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 sameInstant(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 aTIMESTAMP 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 sameInstant(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 aTIMESTAMP 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 sameInstant(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 aTIMESTAMP 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 sameInstant(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 aTIMESTAMP 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 sameInstant(in UTC) as the input.
-
toChar
@NotNull @Support public static @NotNull Field<String> toChar(Object value)
The Oracle-specificTO_CHARfunction.
-
toChar
@NotNull @Support public static @NotNull Field<String> toChar(Field<?> value)
The Oracle-specificTO_CHARfunction.
-
toChar
@NotNull @Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT}) public static @NotNull Field<String> toChar(Object value, String formatMask)
The Oracle-specificTO_CHARfunction.
-
toChar
@NotNull @Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT}) public static @NotNull Field<String> toChar(Object value, Field<String> formatMask)
The Oracle-specificTO_CHARfunction.
-
toChar
@NotNull @Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT}) public static @NotNull Field<String> toChar(Field<?> value, String formatMask)
The Oracle-specificTO_CHARfunction.
-
toChar
@NotNull @Support({AURORA_POSTGRES,DB2,H2,ORACLE,POSTGRES,REDSHIFT}) public static @NotNull Field<String> toChar(Field<?> value, Field<String> formatMask)
The Oracle-specificTO_CHARfunction.
-
toDate
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Date> toDate(String value, String format)
Parse a value to aDATE.- Parameters:
value- The formattedDATEvalue.format- The vendor-specific formatting string.
-
toDate
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Date> toDate(String value, Field<String> format)
Parse a value to aDATE.- Parameters:
value- The formattedDATEvalue.format- The vendor-specific formatting string.
-
toDate
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Date> toDate(Field<String> value, String format)
Parse a value to aDATE.- Parameters:
value- The formattedDATEvalue.format- The vendor-specific formatting string.
-
toDate
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Date> toDate(Field<String> value, Field<String> format)
Parse a value to aDATE.- Parameters:
value- The formattedDATEvalue.format- The vendor-specific formatting string.
-
toTimestamp
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Timestamp> toTimestamp(String value, String format)
Parse a value to aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.format- The vendor-specific formatting string.
-
toTimestamp
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Timestamp> toTimestamp(String value, Field<String> format)
Parse a value to aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.format- The vendor-specific formatting string.
-
toTimestamp
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Timestamp> toTimestamp(Field<String> value, String format)
Parse a value to aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.format- The vendor-specific formatting string.
-
toTimestamp
@NotNull @Support({AURORA_POSTGRES,DB2,H2,HSQLDB,ORACLE,POSTGRES,VERTICA}) public static @NotNull Field<Timestamp> toTimestamp(Field<String> value, Field<String> format)
Parse a value to aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.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, String format)
Parse a value to aDATE.- Parameters:
value- The formattedDATEvalue.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 aDATE.- Parameters:
value- The formattedDATEvalue.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 aDATE.- Parameters:
value- The formattedDATEvalue.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 aDATE.- Parameters:
value- The formattedDATEvalue.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 aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.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 aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.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 aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.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 aTIMESTAMP.- Parameters:
value- The formattedTIMESTAMPvalue.format- The vendor-specific formatting string.
-
rollup
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,HANA,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES_9_5,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,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, andGROUPING SETSclauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx- Parameters:
fields- The fields that are part of theROLLUPfunction- Returns:
- A field to be used in a
GROUP BYclause
-
cube
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) 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,SQLSERVER,SYBASE,TERADATA}) 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, andGROUPING SETSclauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx- Parameters:
fields- The fields that are part of theCUBEfunction- Returns:
- A field to be used in a
GROUP BYclause
-
groupingSets
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) 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, andGROUPING SETSclauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx- Parameters:
fields- The fields that are part of theGROUPING SETSfunction- Returns:
- A field to be used in a
GROUP BYclause
-
groupingSets
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) 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, andGROUPING SETSclauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx- Parameters:
fieldSets- The fields that are part of theGROUPING SETSfunction- Returns:
- A field to be used in a
GROUP BYclause
-
groupingSets
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) 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, andGROUPING SETSclauses in grouping contexts: http://msdn.microsoft.com/en-US/library/bb522495.aspx- Parameters:
fieldSets- The fields that are part of theGROUPING SETSfunction- Returns:
- A field to be used in a
GROUP BYclause
-
groupId
@NotNull @Support(ORACLE) @Pro public static @NotNull Field<Integer> groupId()
Create aGROUP_ID()aggregation function to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.- Returns:
- The
GROUPINGaggregation field - See Also:
cube(Field...),rollup(Field...)
-
groupingId
@NotNull @Support({HANA,ORACLE,SQLSERVER}) @Pro public static @NotNull Field<Integer> groupingId(Field<?>... fields)
Create a GROUPING_ID(field1, field2, .., fieldn) aggregation field to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.This has been observed to work with the following databases:
- Oracle
- SQL Server
- Parameters:
fields- The function arguments- Returns:
- The
GROUPING_IDaggregation field - See Also:
cube(Field...),rollup(Field...)
-
grouping
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,MEMSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) public static @NotNull Field<Integer> grouping(Field<?> field)
Create a GROUPING(field) aggregation field to be used along withCUBE,ROLLUP, andGROUPING SETSgroupings.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
GROUPINGaggregation field - See Also:
cube(Field...),rollup(Field...)
-
bitCount
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> bitCount(Number value)
The MySQLBIT_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,COCKROACHDB,CUBRID,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<Integer> bitCount(Field<? extends Number> field)
The MySQLBIT_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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the and function elsewhere:[field1] & [field2]
bitand([field1], [field2])
-
bitNand
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the not and function elsewhere:~([field1] & [field2])
bitnot(bitand([field1], [field2]))
- See Also:
bitNot(Field)
-
bitOr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the or function elsewhere:[field1] | [field2]
bitor([field1], [field2])
-
bitNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the not or function elsewhere:~([field1] | [field2])
bitnot(bitor([field1], [field2]))
- See Also:
bitNot(Field)
-
bitXor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the xor function elsewhere:[field1] ^ [field2]
bitxor([field1], [field2])
-
bitXNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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:
... or the not xor function elsewhere:~([field1] ^ [field2])
bitnot(bitxor([field1], [field2]))
-
shl
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,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)
-
rand
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> rand()
Get the rand() function.
-
greatest
@NotNull @Support public static <T> @NotNull Field<T> greatest(T value, T... values)
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 forn > 5! Better implementation suggestions are very welcome.- See Also:
greatest(Field, Field...)
-
greatest
@NotNull @Support 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 forn > 5! Better implementation suggestions are very welcome.
-
least
@NotNull @Support public static <T> @NotNull Field<T> least(T value, T... values)
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 forn > 5! Better implementation suggestions are very welcome.- See Also:
least(Field, Field...)
-
least
@NotNull @Support 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 forn > 5! Better implementation suggestions are very welcome.
-
widthBucket
@NotNull @Support public static <T extends Number> @NotNull Field<T> widthBucket(Field<T> field, T low, T high, int buckets)
Get theWIDTH_BUCKETfunction which divides a range (low, high) in buckets of equal size.
-
widthBucket
@NotNull @Support public static <T extends Number> @NotNull Field<T> widthBucket(Field<T> field, Field<T> low, Field<T> high, Field<Integer> buckets)
Get theWIDTH_BUCKETfunction which divides a range (low, high) in buckets of equal size.
-
neg
@NotNull @Support public static <T extends Number> @NotNull Field<T> neg(Field<T> field)
Negate a field to get its negative value.- See Also:
Field.neg()
-
minus
@NotNull @Support public static <T extends Number> @NotNull Field<T> minus(Field<T> field)
Negate a field to get its negative value.- See Also:
Field.neg()
-
sign
@NotNull @Support public static @NotNull Field<Integer> sign(Number value)
Get the sign of a numeric field: sign(field).- See Also:
sign(Field)
-
sign
@NotNull @Support public static @NotNull Field<Integer> sign(Field<? extends Number> field)
Get the sign of a numeric field: sign(field).This renders the sign function where available:
... or emulates it elsewhere (without bind variables on values -1, 0, 1):sign([field])
CASE WHEN [this] > 0 THEN 1 WHEN [this] < 0 THEN -1 ELSE 0 END
-
abs
@NotNull @Support public static <T extends Number> @NotNull Field<T> abs(T value)
Get the absolute value of a numeric field: abs(field).- See Also:
abs(Field)
-
abs
@NotNull @Support public static <T extends Number> @NotNull Field<T> abs(Field<T> field)
Get the absolute value of a numeric field: abs(field).This renders the same on all dialects:
abs([field])
-
round
@NotNull @Support public static <T extends Number> @NotNull Field<T> round(T value)
Get rounded value of a numeric field: round(field).- See Also:
round(Field)
-
round
@NotNull @Support public static <T extends Number> @NotNull Field<T> round(Field<T> field)
Get rounded value of a numeric field: round(field).This renders the round function where available:
... or emulates it elsewhere using floor and ceilround([field]) or round([field], 0)
-
round
@NotNull @Support public static <T extends Number> @NotNull Field<T> round(T value, int decimals)
Get rounded value of a numeric field: round(field, decimals).- See Also:
round(Field, int)
-
round
@NotNull @Support public static <T extends Number> @NotNull Field<T> round(Field<T> field, int decimals)
Get rounded value of a numeric field: round(field, decimals).This renders the round function where available:
... or emulates it elsewhere using floor and ceilround([field], [decimals])
-
round
@NotNull @Support public static <T extends Number> @NotNull Field<T> round(Field<T> field, Field<Integer> decimals)
Get rounded value of a numeric field: round(field, decimals).This renders the round function where available:
... or emulates it elsewhere using floor and ceilround([field], [decimals])
-
floor
@NotNull @Support public static <T extends Number> @NotNull Field<T> floor(T value)
Get the largest integer value not greater than [this].- See Also:
floor(Field)
-
floor
@NotNull @Support public static <T extends Number> @NotNull Field<T> floor(Field<T> field)
Get the largest integer value not greater than [this].This renders the floor function where available:
... or emulates it elsewhere using round:floor([this])
round([this] - 0.499999999999999)
-
ceil
@NotNull @Support public static <T extends Number> @NotNull Field<T> ceil(T value)
Get the smallest integer value not less than [this].- See Also:
ceil(Field)
-
ceil
@NotNull @Support public static <T extends Number> @NotNull Field<T> ceil(Field<T> field)
Get the smallest integer value not less than [field].This renders the ceil or ceiling function where available:
... or emulates it elsewhere using round:ceil([field]) or ceiling([field])
round([field] + 0.499999999999999)
-
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)
-
trunc
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,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, int decimals)
Truncate a number to a given number of decimals.- See Also:
trunc(Field, Field)
-
trunc
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,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(Field<T> number, int decimals)
Truncate a number to a given number of decimals.- See Also:
trunc(Field, Field)
-
trunc
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,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, Field<Integer> decimals)
Truncate a number to a given number of decimals.- See Also:
trunc(Field, Field)
-
trunc
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) public static <T extends Number> @NotNull Field<T> trunc(Field<T> number, Field<Integer> decimals)
Truncate a number to a given number of decimals.This function truncates
numberto the amount of decimals specified indecimals. Passingdecimals = 0to this function is the same as usingfloor(Field). Passing positive values fordecimalhas a similar effect asround(Field, int). Passing negative values fordecimalwill truncatenumberto a given power of 10. Some examplesFunction call yields... trunc(125.815) 125 trunc(125.815, 0) 125 trunc(125.815, 1) 125.8 trunc(125.815, 2) 125.81 trunc(125.815, -1) 120 trunc(125.815, -2) 100 - See Also:
trunc(Field, Field)
-
sqrt
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sqrt(Number value)
Get the sqrt(field) function.- See Also:
sqrt(Field)
-
sqrt
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sqrt(Field<? extends Number> field)
Get the sqrt(field) function.This renders the sqrt function where available:
... or emulates it elsewhere using power (which in turn may also be emulated using ln and exp functions):sqrt([field])
power([field], 0.5)
-
exp
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> exp(Number value)
Get the exp(field) function, taking this field as the power of e.- See Also:
exp(Field)
-
exp
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> exp(Field<? extends Number> field)
Get the exp(field) function, taking this field as the power of e.This renders the same on all dialects:
exp([field])
-
ln
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> ln(Number value)
Get the ln(field) function, taking the natural logarithm of this field.- See Also:
ln(Field)
-
ln
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> ln(Field<? extends Number> field)
Get the ln(field) function, taking the natural logarithm of this field.This renders the ln or log function where available:
ln([field]) or log([field])
-
log
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> log(Number value, int base)
Get the log(field, base) function.- See Also:
log(Field, int)
-
log
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> log(Field<? extends Number> field, int base)
Get the log(field, base) function.This renders the log function where available:
... or emulates it elsewhere (in most RDBMS) using the natural logarithm:log([field])
ln([field]) / ln([base])
-
log
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> log(Field<? extends Number> field, Field<? extends Number> base)
Get the log(field, base) function.This renders the log function where available:
... or emulates it elsewhere (in most RDBMS) using the natural logarithm:log([field])
ln([field]) / ln([base])
-
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> power(Number value, Number exponent)
Get the power(field, exponent) function.- See Also:
power(Field, Field)
-
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> power(Field<? extends Number> field, Number exponent)
Get the power(field, exponent) function.- See Also:
power(Field, Field)
-
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,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)
Get the power(field, exponent) function.- See Also:
power(Field, Field)
-
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> power(Field<? extends Number> field, Field<? extends Number> exponent)
Get the power(field, exponent) function.This renders the power function where available:
... or emulates it elsewhere using ln and exp:power([field], [exponent])
exp(ln([field]) * [exponent])
-
acos
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> acos(Number value)
Get the arc cosine(field) function.- See Also:
acos(Field)
-
acos
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> acos(Field<? extends Number> field)
Get the arc cosine(field) function.This renders the acos function where available:
acos([field])
-
asin
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> asin(Number value)
Get the arc sine(field) function.- See Also:
asin(Field)
-
asin
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> asin(Field<? extends Number> field)
Get the arc sine(field) function.This renders the asin function where available:
asin([field])
-
atan
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan(Number value)
Get the arc tangent(field) function.- See Also:
atan(Field)
-
atan
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan(Field<? extends Number> field)
Get the arc tangent(field) function.This renders the atan function where available:
atan([field])
-
atan2
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan2(Number x, Number y)
Get the atan2(field, y) function.- See Also:
atan2(Field, Field)
-
atan2
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan2(Number x, Field<? extends Number> y)
Get the atan2(field, y) function.- See Also:
atan2(Field, Field)
-
atan2
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan2(Field<? extends Number> x, Number y)
Get the atan2(field, y) function.- See Also:
atan2(Field, Field)
-
atan2
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> atan2(Field<? extends Number> x, Field<? extends Number> y)
Get the atan2(field, y) function.This renders the atan2 or atn2 function where available:
atan2([x], [y]) or atn2([x], [y])
-
cos
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cos(Number value)
Get the cosine(field) function.- See Also:
cos(Field)
-
cos
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cos(Field<? extends Number> field)
Get the cosine(field) function.This renders the cos function where available:
cos([field])
-
sin
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sin(Number value)
Get the sine(field) function.- See Also:
sin(Field)
-
sin
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sin(Field<? extends Number> field)
Get the sine(field) function.This renders the sin function where available:
sin([field])
-
tan
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> tan(Number value)
Get the tangent(field) function.- See Also:
tan(Field)
-
tan
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> tan(Field<? extends Number> field)
Get the tangent(field) function.This renders the tan function where available:
tan([field])
-
cot
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cot(Number value)
Get the cotangent(field) function.- See Also:
cot(Field)
-
cot
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cot(Field<? extends Number> field)
Get the cotangent(field) function.This renders the cot function where available:
... or emulates it elsewhere using sin and cos:cot([field])
cos([field]) / sin([field])
-
sinh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sinh(Number value)
Get the hyperbolic sine function: sinh(field).- See Also:
sinh(Field)
-
sinh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> sinh(Field<? extends Number> field)
Get the hyperbolic sine function: sinh(field).This renders the sinh function where available:
... or emulates it elsewhere using exp:sinh([field])
(exp([field] * 2) - 1) / (exp([field] * 2))
-
cosh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cosh(Number value)
Get the hyperbolic cosine function: cosh(field).- See Also:
cosh(Field)
-
cosh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> cosh(Field<? extends Number> field)
Get the hyperbolic cosine function: cosh(field).This renders the cosh function where available:
... or emulates it elsewhere using exp:cosh([field])
(exp([field] * 2) + 1) / (exp([field] * 2))
-
tanh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> tanh(Number value)
Get the hyperbolic tangent function: tanh(field).- See Also:
tanh(Field)
-
tanh
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> tanh(Field<? extends Number> field)
Get the hyperbolic tangent function: tanh(field).This renders the tanh function where available:
... or emulates it elsewhere using exp:tanh([field])
(exp([field] * 2) - 1) / (exp([field] * 2) + 1)
-
coth
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> coth(Number value)
Get the hyperbolic cotangent function: coth(field).- See Also:
coth(Field)
-
coth
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull Field<BigDecimal> coth(Field<? extends Number> field)
Get the hyperbolic cotangent function: coth(field).This is not supported by any RDBMS, but emulated using exp exp:
(exp([field] * 2) + 1) / (exp([field] * 2) - 1)
-
deg
@NotNull @Support public static @NotNull Field<BigDecimal> deg(Number value)
Calculate degrees from radians from this field.- See Also:
deg(Field)
-
deg
@NotNull @Support public static @NotNull Field<BigDecimal> deg(Field<? extends Number> field)
Calculate degrees from radians from this field.This renders the degrees function where available:
... or emulates it elsewhere:degrees([field])
[field] * 180 / PI
-
rad
@NotNull @Support public static @NotNull Field<BigDecimal> rad(Number value)
Calculate radians from degrees from this field.- See Also:
rad(Field)
-
rad
@NotNull @Support public static @NotNull Field<BigDecimal> rad(Field<? extends Number> field)
Calculate radians from degrees from this field.This renders the degrees function where available:
... or emulates it elsewhere:degrees([field])
[field] * PI / 180
-
level
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static @NotNull Field<Integer> level()
Retrieve the Oracle-specificLEVELpseudo-field (to be used along withCONNECT BYclauses).
-
connectByIsCycle
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static @NotNull Field<Boolean> connectByIsCycle()
Retrieve the Oracle-specificCONNECT_BY_ISCYCLEpseudo-field (to be used along withCONNECT BYclauses).
-
connectByIsLeaf
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static @NotNull Field<Boolean> connectByIsLeaf()
Retrieve the Oracle-specificCONNECT_BY_ISLEAFpseudo-field (to be used along withCONNECT BYclauses).
-
connectByRoot
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static <T> @NotNull Field<T> connectByRoot(Field<T> field)
Retrieve the Oracle-specificCONNECT_BY_ROOTpseudo-column (to be used along withCONNECT BYclauses).
-
sysConnectByPath
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static @NotNull Field<String> sysConnectByPath(Field<?> field, String separator)
Retrieve the Oracle-specificSYS_CONNECT_BY_PATH(field, separator)function (to be used along withCONNECT BYclauses).
-
prior
@NotNull @Support({CUBRID,INFORMIX,ORACLE}) @Pro public static <T> @NotNull Field<T> prior(Field<T> field)
Add the Oracle-specificPRIORunary operator before a field (to be used along withCONNECT BYclauses).
-
rownum
@NotNull @Support @Pro public static @NotNull Field<Integer> rownum()
Retrieve the Oracle-specificROWNUMpseudo-field.Depending on its usage, it can be emulated using
LIMITorROW_NUMBER().
-
xmlparseDocument
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlparseDocument(String content)
The XML parse function.
-
xmlparseDocument
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlparseDocument(Field<String> content)
The XML parse function.
-
xmlparseContent
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlparseContent(String content)
The XML parse function.
-
xmlparseContent
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlparseContent(Field<String> content)
The XML parse function.
-
xmlcomment
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlcomment(String comment)
The XML comment constructor.
-
xmlcomment
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlcomment(Field<String> comment)
The XML comment constructor.
-
xmlconcat
@NotNull @Support({DB2,ORACLE,POSTGRES}) @SafeVarargs public static @NotNull Field<XML> xmlconcat(Field<?>... fields)
The XML concat function.
-
xmlconcat
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlconcat(Collection<? extends Field<?>> fields)
The XML concat function.
-
xmldocument
@NotNull @Support(DB2) @Pro public static @NotNull Field<XML> xmldocument(Field<XML> content)
The XML document constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(String name, Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(String name, Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(Name name, Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(Name name, Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(String name, XMLAttributes attributes, Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(String name, XMLAttributes attributes, Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(Name name, XMLAttributes attributes, Field<?>... content)
The XML element constructor.
-
xmlelement
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlelement(Name name, XMLAttributes attributes, Collection<? extends Field<?>> content)
The XML element constructor.
-
xmlattributes
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLAttributes xmlattributes(Field<?>... attributes)
The XML attributes constructor.
-
xmlattributes
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLAttributes xmlattributes(Collection<? extends Field<?>> attributes)
The XML attributes constructor.
-
xmlpi
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlpi(String target)
The XML processing instruction constructor.
-
xmlpi
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlpi(Name target)
The XML processing instruction constructor.
-
xmlpi
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlpi(String target, Field<?> content)
The XML processing instruction constructor.
-
xmlpi
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlpi(Name target, Field<?> content)
The XML processing instruction constructor.
-
xmlforest
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlforest(Field<?>... fields)
The XML forest constructor.
-
xmlforest
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull Field<XML> xmlforest(Collection<? extends Field<?>> fields)
The XML forest constructor.
-
xmlagg
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLAggOrderByStep<XML> xmlagg(Field<XML> field)
The XML aggregate function.
-
xmlquery
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLQueryPassingStep xmlquery(String xpath)
The XML query function.
-
xmlquery
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLQueryPassingStep xmlquery(Field<String> xpath)
The XML query function.
-
xmlexists
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLExistsPassingStep xmlexists(String xpath)
The XML exists function.
-
xmlexists
@NotNull @Support({DB2,ORACLE,POSTGRES}) public static @NotNull XMLExistsPassingStep xmlexists(Field<String> xpath)
The XML exists function.
-
xmltable
@NotNull @Support({DB2,HANA,ORACLE,POSTGRES_10,SQLSERVER}) public static @NotNull XMLTablePassingStep xmltable(String xpath)
The XML table function.
-
xmltable
@NotNull @Support({DB2,HANA,ORACLE,POSTGRES_10,SQLSERVER}) 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.
-
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 constructor.
-
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 constructor.
-
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 constructor.
-
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 constructor.
-
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 withjsonObject(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 withjsonObject(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 withjsonObject(JSONEntry...).This is the same as calling
jsonEntry(String, Field)withField.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, Field<T> value)
A constructor for JSON entries to be used withjsonObject(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 withjsonObject(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 withjsonObject(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()
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<?>... entries)
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(JSONEntry<?>... entries)
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(Collection<? extends JSONEntry<?>> entries)
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(Field<?>... entries)
The JSONB object constructor.This is the same as calling
jsonEntry(String, Field)withField.getName()as a key.
-
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 constructor.
-
jsonbObject
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,MARIADB_10_2,MYSQL_5_7,ORACLE12C,POSTGRES,SQLSERVER2016}) public static @NotNull JSONObjectNullStep<JSONB> jsonbObject(Collection<? extends JSONEntry<?>> entries)
The JSONB 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)withField.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)withField.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.
-
count
@NotNull @Support public static @NotNull AggregateFunction<Integer> count()
Get the count(*) function.
-
count
@NotNull @Support public static @NotNull AggregateFunction<Integer> count(Field<?> field)
Get the count(field) function.
-
count
@NotNull @Support public static @NotNull AggregateFunction<Integer> count(SelectFieldOrAsterisk field)
Get the count(field) function.
-
count
@NotNull @Support public static @NotNull AggregateFunction<Integer> count(Table<?> table)
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 withcount(Field), instead.
-
countDistinct
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull AggregateFunction<Integer> countDistinct(Field<?> field)
Get the count(distinct field) function.
-
countDistinct
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) public static @NotNull AggregateFunction<Integer> countDistinct(SelectFieldOrAsterisk field)
Get the count(distinct field) function.
-
countDistinct
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA}) 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 withcount(Field), instead.
-
countDistinct
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES}) 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.POSTGRESsupports this asCOUNT(DISTINCT(expr1, expr2)).
-
every
@NotNull @Support public static @NotNull AggregateFunction<Boolean> every(Field<Boolean> field)
Get the every value over a field: every(field).This is a synonym for
boolAnd(Field).
-
every
@NotNull @Support public static @NotNull AggregateFunction<Boolean> every(Condition condition)
Get the every value over a condition: every(condition).This is a synonym for
boolAnd(Condition).
-
boolAnd
@NotNull @Support public static @NotNull AggregateFunction<Boolean> boolAnd(Field<Boolean> field)
Get the every value over a field: bool_and(field).
-
boolAnd
@NotNull @Support public static @NotNull AggregateFunction<Boolean> boolAnd(Condition condition)
Get the every value over a condition: bool_and(condition).
-
boolOr
@NotNull @Support public static @NotNull AggregateFunction<Boolean> boolOr(Field<Boolean> field)
Get the every value over a field: bool_and(field).
-
boolOr
@NotNull @Support public static @NotNull AggregateFunction<Boolean> boolOr(Condition condition)
Get the every value over a condition: bool_and(condition).
-
arrayAgg
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES}) public static <T> @NotNull ArrayAggOrderByStep<T[]> arrayAgg(Field<T> field)
Get thearray_agg()aggregate function.
-
arrayAggDistinct
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,H2,HSQLDB,POSTGRES}) public static <T> @NotNull ArrayAggOrderByStep<T[]> arrayAggDistinct(Field<T> field)
Get thearray_agg()aggregate function.
-
collect
@NotNull @Support(ORACLE) @Pro public static <T,A extends ArrayRecord<T>> @NotNull ArrayAggOrderByStep<A> collect(Field<T> field, Class<A> type)
Get thecollect()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 thecollect()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 thecollect()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 thecollect()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.
-
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:
SQLDialectJava SQL SQLDialect.H2array(1, 2) (1, 2) SQLDialect.HSQLDB,SQLDialect.POSTGRESarray(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:
SQLDialectJava SQL SQLDialect.H2array(1, 2) (1, 2) SQLDialect.HSQLDB,SQLDialect.POSTGRESarray(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:
SQLDialectJava SQL SQLDialect.H2array(1, 2) (1, 2) SQLDialect.HSQLDB,SQLDialect.POSTGRESarray(1, 2) array[1, 2]
-
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)
-
max
@NotNull @Support public static <T> @NotNull AggregateFunction<T> max(Field<T> field)
Get the max value over a field: max(field).
-
maxDistinct
@NotNull @Support public static <T> @NotNull AggregateFunction<T> maxDistinct(Field<T> field)
Get the max value over a field: max(distinct field).
-
min
@NotNull @Support public static <T> @NotNull AggregateFunction<T> min(Field<T> field)
Get the min value over a field: min(field).
-
minDistinct
@NotNull @Support public static <T> @NotNull AggregateFunction<T> minDistinct(Field<T> field)
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,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,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,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,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}) public static <T> @NotNull AggregateFunction<T> mode(Field<T> field)
Themode(field)aggregate function.
-
median
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2_11,H2,HSQLDB,MARIADB,ORACLE,POSTGRES_9_4,SYBASE,TERADATA}) public static @NotNull AggregateFunction<BigDecimal> median(Field<? extends Number> field)
Get the median over a numeric field: median(field).
-
stddevPop
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> stddevPop(Field<? extends Number> field)
Get the population standard deviation of a numeric field: stddev_pop(field).
-
stddevSamp
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2_11,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> stddevSamp(Field<? extends Number> field)
Get the sample standard deviation of a numeric field: stddev_samp(field).
-
varPop
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> varPop(Field<? extends Number> field)
Get the population variance of a numeric field: var_pop(field).
-
varSamp
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2_11,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> varSamp(Field<? extends Number> field)
Get the sample variance of a numeric field: var_samp(field).
-
regrSlope
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrSlope(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_SLOPElinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrIntercept
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrIntercept(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_INTERCEPTlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrCount
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrCount(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_COUNTlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrR2
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrR2(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_R2linear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrAvgX
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrAvgX(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_AVGXlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrAvgY
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrAvgY(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_AVGYlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrSXX
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrSXX(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_SXXlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrSYY
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrSYY(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_SYYlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
regrSXY
@NotNull @Support({AURORA_POSTGRES,DB2,ORACLE,POSTGRES,SYBASE,TERADATA,VERTICA}) public static @NotNull AggregateFunction<BigDecimal> regrSXY(Field<? extends Number> y, Field<? extends Number> x)
Get theREGR_SXYlinear regression function.The linear regression functions fit an ordinary-least-squares regression line to a set of number pairs. You can use them as both aggregate and window functions, where this is supported.
Note that
SQLDialect.DB2does not support linear regression window functions.
-
listAgg
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,MARIADB,MYSQL,ORACLE11G,POSTGRES,SQLSERVER2017,SYBASE}) public static @NotNull OrderedAggregateFunction<String> listAgg(Field<?> field)
Get the aggregated concatenation for a field.This is natively supported by
SQLDialect.ORACLE11Gupwards. It is emulated by the following dialects:-
SQLDialect.AURORA_MYSQL: UsingGROUP_CONCAT -
SQLDialect.DB2: UsingXMLAGG() -
SQLDialect.H2: UsingGROUP_CONCAT() -
SQLDialect.HSQLDB: UsingGROUP_CONCAT() -
SQLDialect.MYSQL: UsingGROUP_CONCAT() -
SQLDialect.POSTGRES: UsingSTRING_AGG() -
SQLDialect.SYBASE: UsingLIST()
- See Also:
groupConcat(Field)
-
-
listAgg
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,MARIADB,MYSQL,ORACLE11G,POSTGRES,SQLSERVER2017,SYBASE}) public static @NotNull OrderedAggregateFunction<String> listAgg(Field<?> field, String separator)
Get the aggregated concatenation for a field.This is natively supported by
SQLDialect.ORACLE11Gupwards. It is emulated by the following dialects:-
SQLDialect.AURORA_MYSQL: UsingGROUP_CONCAT -
SQLDialect.DB2: UsingXMLAGG() -
SQLDialect.H2: UsingGROUP_CONCAT -
SQLDialect.HSQLDB: UsingGROUP_CONCAT -
SQLDialect.MYSQL: UsingGROUP_CONCAT -
SQLDialect.POSTGRES: UsingSTRING_AGG() -
SQLDialect.SYBASE: UsingLIST()
- See Also:
groupConcat(Field)
-
-
groupConcat
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER2017,SYBASE}) 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 withoutORDER BY) -
SQLDialect.MYSQL -
SQLDialect.SQLITE(but withoutORDER BY)
It is emulated by the following dialects:
-
SQLDialect.DB2: UsingXMLAGG() -
SQLDialect.ORACLE: UsingLISTAGG() -
SQLDialect.POSTGRES: UsingSTRING_AGG() -
SQLDialect.SYBASE: UsingLIST()
- See Also:
listAgg(Field)
-
-
groupConcat
@Deprecated @NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SQLSERVER2017,SYBASE}) public static @NotNull AggregateFunction<String> groupConcat(Field<?> field, String separator)
Deprecated.- [#7956] - 3.12.0 - UsegroupConcat(Field)andGroupConcatSeparatorStep.separator(String)instead.Get the aggregated concatenation for a field.This is natively supported by
SQLDialect.AURORA_MYSQLSQLDialect.H2SQLDialect.HSQLDBSQLDialect.MEMSQLSQLDialect.MYSQLSQLDialect.SQLITE
It is emulated by the following dialects:
SQLDialect.DB2: UsingXMLAGG()SQLDialect.ORACLE: UsingLISTAGG()SQLDialect.POSTGRES: UsingSTRING_AGG()SQLDialect.SYBASE: UsingLIST()
- See Also:
listAgg(Field)
-
groupConcatDistinct
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,POSTGRES,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: UsingLIST() -
SQLDialect.POSTGRES: UsingSTRING_AGG()
- See Also:
listAgg(Field)
-
-
mode
@NotNull @Support({AURORA_POSTGRES,H2,POSTGRES_9_4}) public static @NotNull OrderedAggregateFunctionOfDeferredType mode()
Themode() 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)
Therank(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)
Therank(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)
Thedense_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)
Thedense_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)
Thepercent_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)
Thepercent_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)
Thecume_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)
Thecume_dist(expr) within group (order by [order clause])ordered-set aggregate function.
-
percentileCont
@NotNull @Support({AURORA_POSTGRES,DB2_11,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA}) public static @NotNull OrderedAggregateFunction<BigDecimal> percentileCont(Number number)
Thepercentile_cont([number]) within group (order by [column])function.While
SQLDialect.ORACLEandSQLDialect.POSTGRESsupport this as an aggregate function,SQLDialect.SQLSERVERandSQLDialect.REDSHIFTsupport only its window function variant.
-
percentileCont
@NotNull @Support({AURORA_POSTGRES,DB2_11,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA}) public static @NotNull OrderedAggregateFunction<BigDecimal> percentileCont(Field<? extends Number> field)
Thepercentile_cont([number]) within group (order by [column])function.While
SQLDialect.ORACLEandSQLDialect.POSTGRESsupport this as an aggregate function,SQLDialect.SQLSERVERandSQLDialect.REDSHIFTsupport only its window function variant.
-
percentileDisc
@NotNull @Support({AURORA_POSTGRES,DB2_11,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA}) public static @NotNull OrderedAggregateFunction<BigDecimal> percentileDisc(Number number)
Thepercentile_disc([number]) within group (order by [column])function.While
SQLDialect.ORACLEandSQLDialect.POSTGRESsupport this as an aggregate function,SQLDialect.SQLSERVERandSQLDialect.REDSHIFTsupport only its window function variant.
-
percentileDisc
@NotNull @Support({AURORA_POSTGRES,DB2_11,H2,MEMSQL,ORACLE,POSTGRES_9_4,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER2012,TERADATA}) public static @NotNull OrderedAggregateFunction<BigDecimal> percentileDisc(Field<? extends Number> field)
Thepercentile_disc([number]) within group (order by [column])function.While
SQLDialect.ORACLEandSQLDialect.POSTGRESsupport this as an aggregate function,SQLDialect.SQLSERVERandSQLDialect.REDSHIFTsupport only its window function variant.
-
partitionBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationOrderByStep partitionBy(Field<?>... fields)
Create aWindowSpecificationwith aPARTITION BYclause.
-
partitionBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationOrderByStep partitionBy(Collection<? extends Field<?>> fields)
Create aWindowSpecificationwith aPARTITION BYclause.
-
orderBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsStep orderBy(Field<?>... fields)
Create aWindowSpecificationwith anORDER BYclause.
-
orderBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsStep orderBy(OrderField<?>... fields)
Create aWindowSpecificationwith anORDER BYclause.
-
orderBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsStep orderBy(Collection<? extends OrderField<?>> fields)
Create aWindowSpecificationwith anORDER BYclause.
-
rowsUnboundedPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rowsUnboundedPreceding()
Create aWindowSpecificationwith aROWSclause.
-
rowsPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rowsPreceding(int number)
Create aWindowSpecificationwith aROWSclause.
-
rowsCurrentRow
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rowsCurrentRow()
Create aWindowSpecificationwith aROWSclause.
-
rowsUnboundedFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rowsUnboundedFollowing()
Create aWindowSpecificationwith aROWSclause.
-
rowsFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rowsFollowing(int number)
Create aWindowSpecificationwith aROWSclause.
-
rowsBetweenUnboundedPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedPreceding()
Create aWindowSpecificationwith aROWSclause.
-
rowsBetweenPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rowsBetweenPreceding(int number)
Create aWindowSpecificationwith aROWSclause.
-
rowsBetweenCurrentRow
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rowsBetweenCurrentRow()
Create aWindowSpecificationwith aROWSclause.
-
rowsBetweenUnboundedFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rowsBetweenUnboundedFollowing()
Create aWindowSpecificationwith aROWSclause.
-
rowsBetweenFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rowsBetweenFollowing(int number)
Create aWindowSpecificationwith aROWSclause.
-
rangeUnboundedPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rangeUnboundedPreceding()
Create aWindowSpecificationwith aRANGEclause.
-
rangePreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rangePreceding(int number)
Create aWindowSpecificationwith aRANGEclause.
-
rangeCurrentRow
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rangeCurrentRow()
Create aWindowSpecificationwith aRANGEclause.
-
rangeUnboundedFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rangeUnboundedFollowing()
Create aWindowSpecificationwith aRANGEclause.
-
rangeFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationExcludeStep rangeFollowing(int number)
Create aWindowSpecificationwith aRANGEclause.
-
rangeBetweenUnboundedPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedPreceding()
Create aWindowSpecificationwith aRANGEclause.
-
rangeBetweenPreceding
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rangeBetweenPreceding(int number)
Create aWindowSpecificationwith aRANGEclause.
-
rangeBetweenCurrentRow
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rangeBetweenCurrentRow()
Create aWindowSpecificationwith aRANGEclause.
-
rangeBetweenUnboundedFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rangeBetweenUnboundedFollowing()
Create aWindowSpecificationwith aRANGEclause.
-
rangeBetweenFollowing
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,H2,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowSpecificationRowsAndStep rangeBetweenFollowing(int number)
Create aWindowSpecificationwith aRANGEclause.
-
groupsUnboundedPreceding
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationExcludeStep groupsUnboundedPreceding()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsPreceding
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationExcludeStep groupsPreceding(int number)
Create aWindowSpecificationwith aGROUPSclause.
-
groupsCurrentRow
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationExcludeStep groupsCurrentRow()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsUnboundedFollowing
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationExcludeStep groupsUnboundedFollowing()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsFollowing
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationExcludeStep groupsFollowing(int number)
Create aWindowSpecificationwith aGROUPSclause.
-
groupsBetweenUnboundedPreceding
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedPreceding()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsBetweenPreceding
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationRowsAndStep groupsBetweenPreceding(int number)
Create aWindowSpecificationwith aGROUPSclause.
-
groupsBetweenCurrentRow
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationRowsAndStep groupsBetweenCurrentRow()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsBetweenUnboundedFollowing
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationRowsAndStep groupsBetweenUnboundedFollowing()
Create aWindowSpecificationwith aGROUPSclause.
-
groupsBetweenFollowing
@NotNull @Support({COCKROACHDB,H2,POSTGRES_11,SQLITE_3_28}) public static @NotNull WindowSpecificationRowsAndStep groupsBetweenFollowing(int number)
Create aWindowSpecificationwith aGROUPSclause.
-
rowNumber
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowOverStep<Integer> rowNumber()
Therow_number() over ([analytic clause])function.Newer versions of
SQLDialect.DERBYandSQLDialect.H2also support theROW_NUMBER() OVER()window function without any window clause. See the respective docs for details.SQLDialect.HSQLDBcan emulate this function usingROWNUM()
-
rank
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowOverStep<Integer> rank()
Therank() over ([analytic clause])function.
-
denseRank
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowOverStep<Integer> denseRank()
Thedense_rank() over ([analytic clause])function.
-
percentRank
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowOverStep<BigDecimal> percentRank()
Theprecent_rank() over ([analytic clause])function.
-
cumeDist
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) public static @NotNull WindowOverStep<BigDecimal> cumeDist()
Thecume_dist() over ([analytic clause])function.
-
ntile
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2_11,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,VERTICA}) public static @NotNull WindowOverStep<Integer> ntile(int number)
Thentile([number]) over ([analytic clause])function.
-
ratioToReport
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2_11,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA}) public static @NotNull WindowOverStep<BigDecimal> ratioToReport(Number number)
Theratio_to_report([expression]) over ([analytic clause])function.
-
ratioToReport
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2_11,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA}) public static @NotNull WindowOverStep<BigDecimal> ratioToReport(Field<? extends Number> field)
Theratio_to_report([expression]) over ([analytic clause])function.
-
firstValue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA}) public static <T> @NotNull WindowIgnoreNullsStep<T> firstValue(Field<T> field)
Thefirst_value(field) over ([analytic clause])function.
-
lastValue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,SYBASE,TERADATA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lastValue(Field<T> field)
Thelast_value(field) over ([analytic clause])function.
-
nthValue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,FIREBIRD_3_0,H2,HANA,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLITE}) public static <T> @NotNull WindowFromFirstLastStep<T> nthValue(Field<T> field, int nth)
Thenth_value(field) over ([analytic clause])function.
-
nthValue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2_11,FIREBIRD_3_0,H2,HANA,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,SQLITE}) public static <T> @NotNull WindowFromFirstLastStep<T> nthValue(Field<T> field, Field<Integer> nth)
Thenth_value(field) over ([analytic clause])function.
-
lead
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field)
Thelead(field) over ([analytic clause])function.
-
lead
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field, int offset)
Thelead(field, offset) over ([analytic clause])function.
-
lead
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field, int offset, T defaultValue)
Thelead(field, offset, defaultValue) over ([analytic clause])function.
-
lead
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lead(Field<T> field, int offset, Field<T> defaultValue)
Thelead(field, offset, defaultValue) over ([analytic clause])function.
-
lag
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field)
Thelag(field) over ([analytic clause])function.
-
lag
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MARIADB,MEMSQL,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field, int offset)
Thelag(field, offset) over ([analytic clause])function.
-
lag
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field, int offset, T defaultValue)
Thelag(field, offset, defaultValue) over ([analytic clause])function.
-
lag
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,INFORMIX,MYSQL_8_0,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER2012,TERADATA,VERTICA}) public static <T> @NotNull WindowIgnoreNullsStep<T> lag(Field<T> field, int offset, Field<T> defaultValue)
Thelag(field, offset, defaultValue) over ([analytic clause])function.
-
param
@NotNull @Support public static <T> @NotNull Param<Object> 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)orparam(DataType)- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(Class<T> type)
Create an unnamed parameter with a defined type and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(DataType<T> type)
Create an unnamed parameter with a defined type and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(Field<T> field)
Create an unnamed parameter with the defined type of another field and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static @NotNull Param<Object> param(String name)
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)orparam(String, DataType)- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(String name, Class<T> type)
Create a named parameter with a defined type and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(String name, DataType<T> type)
Create a named parameter with a defined type and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(String name, Field<T> type)
Create a named parameter with a defined type of another field and no initial value.- See Also:
param(String, Object)
-
param
@NotNull @Support public static <T> @NotNull Param<T> param(String name, T value)
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. UseDSLContext.renderNamedParams(QueryPart)to render parameter names in SQL - Named parameters can be retrieved using a well-known name from
Query.getParam(String)andQuery.getParams().
- They can be used with Spring's
-
value
@NotNull @Support public static <T> @NotNull Param<T> value(T value)
A synonym forval(Object)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Object)
-
value
@NotNull @Support public static @NotNull Param<Byte> value(byte value)
A synonym forval(byte)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(byte)
-
value
@NotNull @Support public static @NotNull Param<Byte> value(Byte value)
A synonym forval(Byte)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Byte)
-
value
@NotNull @Support public static @NotNull Param<UByte> value(UByte value)
A synonym forval(UByte)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(UByte)
-
value
@NotNull @Support public static @NotNull Param<Short> value(short value)
A synonym forval(short)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(short)
-
value
@NotNull @Support public static @NotNull Param<Short> value(Short value)
A synonym forval(Short)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Short)
-
value
@NotNull @Support public static @NotNull Param<UShort> value(UShort value)
A synonym forval(UShort)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(UShort)
-
value
@NotNull @Support public static @NotNull Param<Integer> value(int value)
A synonym forval(int)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(int)
-
value
@NotNull @Support public static @NotNull Param<Integer> value(Integer value)
A synonym forval(Integer)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Integer)
-
value
@NotNull @Support public static @NotNull Param<UInteger> value(UInteger value)
A synonym forval(UInteger)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(UInteger)
-
value
@NotNull @Support public static @NotNull Param<Long> value(long value)
A synonym forval(long)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(long)
-
value
@NotNull @Support public static @NotNull Param<Long> value(Long value)
A synonym forval(Long)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Long)
-
value
@NotNull @Support public static @NotNull Param<ULong> value(ULong value)
A synonym forval(ULong)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(ULong)
-
value
@NotNull @Support public static @NotNull Param<Float> value(float value)
A synonym forval(float)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(float)
-
value
@NotNull @Support public static @NotNull Param<Float> value(Float value)
A synonym forval(Float)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Float)
-
value
@NotNull @Support public static @NotNull Param<Double> value(double value)
A synonym forval(double)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(double)
-
value
@NotNull @Support public static @NotNull Param<Double> value(Double value)
A synonym forval(Double)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Double)
-
value
@NotNull @Support public static @NotNull Param<Boolean> value(boolean value)
A synonym forval(boolean)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(boolean)
-
value
@NotNull @Support public static @NotNull Param<Boolean> value(Boolean value)
A synonym forval(Boolean)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Boolean)
-
value
@NotNull @Support public static @NotNull Param<BigDecimal> value(BigDecimal value)
A synonym forval(BigDecimal)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(BigDecimal)
-
value
@NotNull @Support public static @NotNull Param<BigInteger> value(BigInteger value)
A synonym forval(BigInteger)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(BigInteger)
-
value
@NotNull @Support public static @NotNull Param<byte[]> value(byte[] value)
A synonym forval(byte[])to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(byte[])
-
value
@NotNull @Support public static @NotNull Param<String> value(String value)
A synonym forval(String)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(String)
-
value
@NotNull @Support public static @NotNull Param<Date> value(Date value)
A synonym forval(Date)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Date)
-
value
@NotNull @Support public static @NotNull Param<Time> value(Time value)
A synonym forval(Time)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Time)
-
value
@NotNull @Support public static @NotNull Param<Timestamp> value(Timestamp value)
A synonym forval(Timestamp)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Timestamp)
-
value
@NotNull @Support public static @NotNull Param<LocalDate> value(LocalDate value)
A synonym forval(LocalDate)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(LocalDate)
-
value
@NotNull @Support public static @NotNull Param<LocalTime> value(LocalTime value)
A synonym forval(LocalTime)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(LocalTime)
-
value
@NotNull @Support public static @NotNull Param<LocalDateTime> value(LocalDateTime value)
A synonym forval(LocalDateTime)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(LocalDateTime)
-
value
@NotNull @Support public static @NotNull Param<OffsetTime> value(OffsetTime value)
A synonym forval(OffsetTime)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(OffsetTime)
-
value
@NotNull @Support public static @NotNull Param<OffsetDateTime> value(OffsetDateTime value)
A synonym forval(OffsetDateTime)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(OffsetDateTime)
-
value
@NotNull @Support public static @NotNull Param<Instant> value(Instant value)
A synonym forval(Instant)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Instant)
-
value
@NotNull @Support public static @NotNull Param<UUID> value(UUID value)
A synonym forval(UUID)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(UUID)
-
value
@NotNull @Support public static @NotNull Param<JSON> value(JSON value)
A synonym forval(JSON)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(JSON)
-
value
@NotNull @Support public static @NotNull Param<JSONB> value(JSONB value)
A synonym forval(JSONB)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(JSONB)
-
value
@NotNull @Support public static @NotNull Param<XML> value(XML value)
A synonym forval(XML)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(XML)
-
value
@NotNull @Support public static <T> @NotNull Param<T> value(Object value, Class<T> type)
A synonym forval(Object, Class)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Object, Class)
-
value
@NotNull @Support public static <T> @NotNull Param<T> value(Object value, Field<T> field)
A synonym forval(Object, Field)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Object, Field)
-
value
@NotNull @Support public static <T> @NotNull Param<T> value(Object value, DataType<T> type)
A synonym forval(Object, DataType)to be used in Scala and Groovy, wherevalis a reserved keyword.- See Also:
val(Object, DataType)
-
inline
@NotNull @Support public static <T> @NotNull Param<T> inline(T value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Byte> inline(byte value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Byte> inline(Byte value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<UByte> inline(UByte value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Short> inline(short value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Short> inline(Short value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<UShort> inline(UShort value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Integer> inline(int value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Integer> inline(Integer value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<UInteger> inline(UInteger value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Long> inline(long value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Long> inline(Long value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<ULong> inline(ULong value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Float> inline(float value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Float> inline(Float value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Double> inline(double value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Double> inline(Double value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Boolean> inline(boolean value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Boolean> inline(Boolean value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<BigDecimal> inline(BigDecimal value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<BigInteger> inline(BigInteger value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<byte[]> inline(byte[] value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<String> inline(String value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Date> inline(Date value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Time> inline(Time value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Timestamp> inline(Timestamp value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<LocalDate> inline(LocalDate value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<LocalTime> inline(LocalTime value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<LocalDateTime> inline(LocalDateTime value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<OffsetTime> inline(OffsetTime value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<OffsetDateTime> inline(OffsetDateTime value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<Instant> inline(Instant value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<UUID> inline(UUID value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<JSON> inline(JSON value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<JSONB> inline(JSONB value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<XML> inline(XML value)
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 withfield(String), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
inline(Object),val(Object)
-
inline
@NotNull @Support public static @NotNull Param<String> inline(char character)
Create a bind value, that is always inlined.This is a convenience method for
inline(Object), returningField<String>, rather thanField<Character>- See Also:
inline(Object)
-
inline
@NotNull @Support public static @NotNull Param<String> inline(Character character)
Create a bind value, that is always inlined.This is a convenience method for
inline(Object), returningField<String>, rather thanField<Character>- See Also:
inline(Object)
-
inline
@NotNull @Support public static @NotNull Param<String> inline(CharSequence character)
Create a bind value, that is always inlined.This is a convenience method for
inline(Object), returningField<String>, rather thanField<CharSequence>- See Also:
inline(Object)
-
inline
@NotNull @Support public static <T> @NotNull Param<T> inline(Object value, Class<T> type)
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 withfield(String, Class), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
val(Object, Class)
-
inline
@NotNull @Support public static <T> @NotNull Param<T> inline(Object value, Field<T> field)
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 withfield(String, DataType), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
val(Object, Field)
-
inline
@NotNull @Support public static <T> @NotNull Param<T> inline(Object value, DataType<T> type)
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 withfield(String, DataType), you can expectvalueto be properly escaped for SQL syntax correctness and SQL injection prevention. For example:inline("abc'def")renders'abc''def'field("abc'def")rendersabc'def
- See Also:
val(Object, DataType)
-
val
@NotNull @Support public static <T> @NotNull Param<T> val(T value)
Get a bind value.jOOQ tries to derive the RDBMS
DataTypefrom the provided Java type<T>. This may not always be accurate, which can lead to problems in some strongly typed RDMBS, especially when value isnull. 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
@NotNull @Support public static @NotNull Param<Byte> val(byte value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Byte> val(Byte value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<UByte> val(UByte value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Short> val(short value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Short> val(Short value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<UShort> val(UShort value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Integer> val(int value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Integer> val(Integer value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<UInteger> val(UInteger value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Long> val(long value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Long> val(Long value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<ULong> val(ULong value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Float> val(float value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Float> val(Float value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Double> val(double value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Double> val(Double value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Boolean> val(boolean value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Boolean> val(Boolean value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<BigDecimal> val(BigDecimal value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<BigInteger> val(BigInteger value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<byte[]> val(byte[] value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<String> val(String value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Date> val(Date value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Time> val(Time value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Timestamp> val(Timestamp value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<LocalDate> val(LocalDate value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<LocalTime> val(LocalTime value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<LocalDateTime> val(LocalDateTime value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<OffsetTime> val(OffsetTime value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<OffsetDateTime> val(OffsetDateTime value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<Instant> val(Instant value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<UUID> val(UUID value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<JSON> val(JSON value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<JSONB> val(JSONB value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static @NotNull Param<XML> val(XML value)
Get a bind value.- See Also:
val(Object)
-
val
@NotNull @Support public static <T> @NotNull Param<T> val(Object value, Class<T> type)
Get a bind value with an associated type, taken from a field.- Type Parameters:
T- The generic value type- Parameters:
value- The constant valuetype- The data type to enforce upon the value- Returns:
- A field representing the constant value
- See Also:
val(Object, DataType)
-
val
@NotNull @Support public static <T> @NotNull Param<T> val(Object value, Field<T> field)
Get a bind value with an associated type, taken from a field.- Type Parameters:
T- The generic value type- Parameters:
value- The constant valuefield- The field whose data type to enforce upon the value- Returns:
- A field representing the constant value
- See Also:
val(Object, DataType)
-
val
@NotNull @Support public static <T> @NotNull Param<T> val(Object value, DataType<T> type)
Get a bind value with an associated type.This will try to bind
valueastypein aPreparedStatement. Ifvalueandtypeare not compatible, jOOQ will first try to convert and then to castvaluetotype.- Type Parameters:
T- The generic value type- Parameters:
value- The constant valuetype- The data type to enforce upon the value- Returns:
- A field representing the constant value
-
recordType
@NotNull public static <T1> @NotNull RecordType<Record> recordType(Field<?>[] fields)
Create aRecordTypeof an arbitrary degree.
-
recordType
@NotNull public static <T1> @NotNull RecordType<Record> recordType(Collection<? extends Field<?>> fields)
Create aRecordTypeof an arbitrary degree.
-
recordType
@NotNull public static <T1> @NotNull RecordType<Record1<T1>> recordType(Field<T1> field1)
Create aRecordTypeof degree1.
-
recordType
@NotNull public static <T1,T2> @NotNull RecordType<Record2<T1,T2>> recordType(Field<T1> field1, Field<T2> field2)
Create aRecordTypeof degree2.
-
recordType
@NotNull public static <T1,T2,T3> @NotNull RecordType<Record3<T1,T2,T3>> recordType(Field<T1> field1, Field<T2> field2, Field<T3> field3)
Create aRecordTypeof degree3.
-
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 aRecordTypeof degree4.
-
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 aRecordTypeof degree5.
-
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 aRecordTypeof degree6.
-
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 aRecordTypeof degree7.
-
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 aRecordTypeof degree8.
-
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 aRecordTypeof degree9.
-
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 aRecordTypeof degree10.
-
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 aRecordTypeof degree11.
-
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 aRecordTypeof degree12.
-
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 aRecordTypeof degree13.
-
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 aRecordTypeof degree14.
-
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 aRecordTypeof degree15.
-
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 aRecordTypeof degree16.
-
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 aRecordTypeof degree17.
-
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 aRecordTypeof degree18.
-
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 aRecordTypeof degree19.
-
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 aRecordTypeof degree20.
-
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 aRecordTypeof degree21.
-
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 aRecordTypeof degree22.
-
row
@NotNull @Support public static <T1> @NotNull Row1<T1> row(T1 t1)
Create a row value expression of degree1.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(T1 t1, T2 t2)
Create a row value expression of degree2.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(T1 t1, T2 t2, T3 t3)
Create a row value expression of degree3.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 degree4.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 degree5.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 degree6.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 degree7.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 degree8.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 degree9.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 degree10.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 degree11.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 degree12.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 degree13.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 degree14.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 degree15.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 degree16.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 degree17.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 degree18.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 degree19.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 degree20.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 degree21.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 degree22.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 @NotNull RowN row(Object... values)
Create a row value expression of degreeN > 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
@NotNull @Support public static <T1> @NotNull Row1<T1> row(Field<T1> t1)
Create a row value expression of degree1.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(Field<T1> t1, Field<T2> t2)
Create a row value expression of degree2.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(Field<T1> t1, Field<T2> t2, Field<T3> t3)
Create a row value expression of degree3.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4)
Create a row value expression of degree4.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5)
Create a row value expression of degree5.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6)
Create a row value expression of degree6.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7)
Create a row value expression of degree7.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8)
Create a row value expression of degree8.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9)
Create a row value expression of degree9.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10)
Create a row value expression of degree10.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11)
Create a row value expression of degree11.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12)
Create a row value expression of degree12.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13)
Create a row value expression of degree13.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14)
Create a row value expression of degree14.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15)
Create a row value expression of degree15.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16)
Create a row value expression of degree16.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17)
Create a row value expression of degree17.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18)
Create a row value expression of degree18.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19)
Create a row value expression of degree19.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20)
Create a row value expression of degree20.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20, Field<T21> t21)
Create a row value expression of degree21.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(Field<T1> t1, Field<T2> t2, Field<T3> t3, Field<T4> t4, Field<T5> t5, Field<T6> t6, Field<T7> t7, Field<T8> t8, Field<T9> t9, Field<T10> t10, Field<T11> t11, Field<T12> t12, Field<T13> t13, Field<T14> t14, Field<T15> t15, Field<T16> t16, Field<T17> t17, Field<T18> t18, Field<T19> t19, Field<T20> t20, Field<T21> t21, Field<T22> t22)
Create a row value expression of degree22.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 @NotNull RowN row(Field<?>... values)
Create a row value expression of degreeN > 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
@NotNull @Support public static @NotNull RowN row(Collection<?> values)
Create a row value expression of degreeN > 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
@NotNull @Support public static @NotNull Table<Record> values(RowN... rows)
Create aVALUES()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 usingSELECT .. 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.
-
values
@SafeVarargs @NotNull @Support public static <T1> @NotNull Table<Record1<T1>> values(Row1<T1>... rows)
Create aVALUES()expression of degree1.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 usingSELECT .. 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.
-
values
@SafeVarargs @NotNull @Support public static <T1,T2> @NotNull Table<Record2<T1,T2>> values(Row2<T1,T2>... rows)
Create aVALUES()expression of degree2.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 usingSELECT .. 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.
-
values
@SafeVarargs @NotNull @Support public static <T1,T2,T3> @NotNull Table<Record3<T1,T2,T3>> values(Row3<T1,T2,T3>... rows)
Create aVALUES()expression of degree3.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 usingSELECT .. 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 aVALUES()expression of degree4.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 usingSELECT .. 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 aVALUES()expression of degree5.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 usingSELECT .. 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 aVALUES()expression of degree6.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 usingSELECT .. 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 aVALUES()expression of degree7.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 usingSELECT .. 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 aVALUES()expression of degree8.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 usingSELECT .. 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 aVALUES()expression of degree9.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 usingSELECT .. 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 aVALUES()expression of degree10.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 usingSELECT .. 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 aVALUES()expression of degree11.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 usingSELECT .. 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 aVALUES()expression of degree12.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 usingSELECT .. 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 aVALUES()expression of degree13.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 usingSELECT .. 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 aVALUES()expression of degree14.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 usingSELECT .. 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 aVALUES()expression of degree15.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 usingSELECT .. 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 aVALUES()expression of degree16.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 usingSELECT .. 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 aVALUES()expression of degree17.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 usingSELECT .. 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 aVALUES()expression of degree18.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 usingSELECT .. 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 aVALUES()expression of degree19.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 usingSELECT .. 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 aVALUES()expression of degree20.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 usingSELECT .. 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 aVALUES()expression of degree21.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 usingSELECT .. 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 aVALUES()expression of degree22.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 usingSELECT .. 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
protected static <T> Field<T> nullSafe(Field<T> field, DataType<?> type)
Null-safety of a field.
-
nullSafeList
protected static List<Field<?>> nullSafeList(Field<?>... fields)
Null-safety of a field.
-
nullSafeDataType
protected static <T> DataType<T> nullSafeDataType(Field<T> field)
Get a default data type if a field is null.
-
asterisk
@NotNull @Support public static @NotNull Asterisk asterisk()
The asterisk (*) to be used inSELECTclauses.
-
zero
@NotNull @Support public static @NotNull Param<Integer> zero()
A0literal.This is useful for mathematical functions or for
EXISTS (SELECT 0 ...)orPARTITION BY 0clauses and similar constructs. The0literal will not generate a bind variable.- Returns:
- A
0literal as aField
-
one
@NotNull @Support public static @NotNull Param<Integer> one()
A1literal.This is useful for mathematical functions or for
EXISTS (SELECT 1 ...)orPARTITION BY 1clauses and similar constructs. The1literal will not generate a bind variable.- Returns:
- A
1literal as aField
-
two
@NotNull @Support public static @NotNull Param<Integer> two()
A2literal.This is useful for mathematical functions. The
1literal will not generate a bind variable.- Returns:
- A
2literal as aField
-
pi
@NotNull @Support public static @NotNull Field<BigDecimal> pi()
Theπliteral.This will be any of the following:
- The underlying RDBMS'
PIliteral orPI()function Math.PI
- The underlying RDBMS'
-
tau
@NotNull @Support public static @NotNull Field<BigDecimal> tau()
Theτliteral, orπ, in a better world.
-
e
@NotNull @Support public static @NotNull Field<BigDecimal> e()
TheEliteral (Euler number).This will be any of the following:
- The underlying RDBMS'
Eliteral orE()function Math.E
- The underlying RDBMS'
-
currentUser
@NotNull @Support({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}) public static @NotNull Field<String> currentUser()
Get thecurrent_user()function.
-
currentSchema
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,TERADATA,VERTICA}) public static @NotNull Field<String> currentSchema()
Get thecurrent_schema()function.
-
getDataType
@Deprecated @NotNull @Support public static <T> @NotNull DataType<T> getDataType(Class<T> type)
Deprecated.- 3.11.0 - [#7483] - The (indirect) use of the internal static data type registry is not recommended.Get the default data type for theDSLContext's underlyingSQLDialectand a given Java type.- Type Parameters:
T- The generic type- Parameters:
type- The Java type- Returns:
- The
DSL's underlying default data type.
-
-