Class DefaultDSLContext
- java.lang.Object
-
- org.jooq.impl.DefaultDSLContext
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.AutoCloseable,DSLContext,Scope
public class DefaultDSLContext extends java.lang.Object implements DSLContext, java.io.Serializable
A default implementation forDSLContext.You may use this as a base implementation for custom
DSLContextsubtypes preventing potential API breakage when upgrading jOOQ, or to delegate DSL method calls to your custom implementations.- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultDSLContext(java.sql.Connection connection, SQLDialect dialect)DefaultDSLContext(java.sql.Connection connection, SQLDialect dialect, Settings settings)DefaultDSLContext(javax.sql.DataSource datasource, SQLDialect dialect)DefaultDSLContext(javax.sql.DataSource datasource, SQLDialect dialect, Settings settings)DefaultDSLContext(Configuration configuration)DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect)DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings)DefaultDSLContext(SQLDialect dialect)DefaultDSLContext(SQLDialect dialect, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AlterIndexOnStepalterIndex(java.lang.String index)Create a new DSLALTER INDEXstatement.AlterIndexOnStepalterIndex(Index index)Create a new DSLALTER INDEXstatement.AlterIndexOnStepalterIndex(Name index)Create a new DSLALTER INDEXstatement.AlterIndexStepalterIndexIfExists(java.lang.String index)Create a new DSLALTER INDEXstatement.AlterIndexStepalterIndexIfExists(Index index)Create a new DSLALTER INDEXstatement.AlterIndexStepalterIndexIfExists(Name index)Create a new DSLALTER INDEXstatement.AlterSchemaStepalterSchema(java.lang.String schema)Create a new DSLALTER SCHEMAstatement.AlterSchemaStepalterSchema(Name schema)Create a new DSLALTER SCHEMAstatement.AlterSchemaStepalterSchema(Schema schema)Create a new DSLALTER SCHEMAstatement.AlterSchemaStepalterSchemaIfExists(java.lang.String schema)Create a new DSLALTER SCHEMAstatement.AlterSchemaStepalterSchemaIfExists(Name schema)Create a new DSLALTER SCHEMAstatement.AlterSchemaStepalterSchemaIfExists(Schema schema)Create a new DSLALTER SCHEMAstatement.AlterSequenceStep<java.math.BigInteger>alterSequence(java.lang.String sequence)Create a new DSLALTER SEQUENCEstatement.AlterSequenceStep<java.math.BigInteger>alterSequence(Name sequence)Create a new DSLALTER SEQUENCEstatement.<T extends java.lang.Number>
AlterSequenceStep<T>alterSequence(Sequence<T> sequence)Create a new DSLALTER SEQUENCEstatement.AlterSequenceStep<java.math.BigInteger>alterSequenceIfExists(java.lang.String sequence)Create a new DSLALTER SEQUENCEstatement.AlterSequenceStep<java.math.BigInteger>alterSequenceIfExists(Name sequence)Create a new DSLALTER SEQUENCEstatement.<T extends java.lang.Number>
AlterSequenceStep<T>alterSequenceIfExists(Sequence<T> sequence)Create a new DSLALTER SEQUENCEstatement.AlterTableStepalterTable(java.lang.String table)Create a new DSLALTER TABLEstatement.AlterTableStepalterTable(Name table)Create a new DSLALTER TABLEstatement.AlterTableStepalterTable(Table<?> table)Create a new DSLALTER TABLEstatement.AlterTableStepalterTableIfExists(java.lang.String table)Create a new DSLALTER TABLEstatement.AlterTableStepalterTableIfExists(Name table)Create a new DSLALTER TABLEstatement.AlterTableStepalterTableIfExists(Table<?> table)Create a new DSLALTER TABLEstatement.AlterViewStepalterView(java.lang.String table)Create a new DSLALTER VIEWstatement.AlterViewStepalterView(Name table)Create a new DSLALTER VIEWstatement.AlterViewStepalterView(Table<?> table)Create a new DSLALTER VIEWstatement.AlterViewStepalterViewIfExists(java.lang.String table)Create a new DSLALTER VIEWstatement.AlterViewStepalterViewIfExists(Name table)Create a new DSLALTER VIEWstatement.AlterViewStepalterViewIfExists(Table<?> table)Create a new DSLALTER VIEWstatement.voidattach(java.util.Collection<? extends Attachable> attachables)Attach thisDSLContext's underlyingScope.configuration()to some attachables.voidattach(Attachable... attachables)Attach thisDSLContext's underlyingScope.configuration()to some attachables.BatchBindStepbatch(java.lang.String sql)Create a batch statement to execute a set of queries in batch mode (with bind values).Batchbatch(java.lang.String... queries)Create a batch statement to execute a set of queries in batch mode (without bind values).Batchbatch(java.lang.String sql, java.lang.Object[]... bindings)Create a batch statement to execute a set of queries in batch mode (with bind values).Batchbatch(java.util.Collection<? extends Query> queries)Create a batch statement to execute a set of queries in batch mode (without bind values).Batchbatch(Queries queries)Create a batch statement to execute a set of queries in batch mode (without bind values).BatchBindStepbatch(Query query)Create a batch statement to execute a set of queries in batch mode (with bind values).Batchbatch(Query... queries)Create a batch statement to execute a set of queries in batch mode (without bind values).Batchbatch(Query query, java.lang.Object[]... bindings)Create a batch statement to execute a set of queries in batch mode (with bind values).BatchbatchDelete(java.util.Collection<? extends UpdatableRecord<?>> records)Create a batch statement to execute a set ofDELETEqueries in batch mode (with bind values) according toUpdatableRecord.delete()sematics.BatchbatchDelete(UpdatableRecord<?>... records)Create a batch statement to execute a set ofDELETEqueries in batch mode (with bind values) according toUpdatableRecord.delete()sematics.BatchbatchInsert(java.util.Collection<? extends TableRecord<?>> records)Create a batch statement to execute a set ofINSERTqueries in batch mode (with bind values) according toTableRecord.insert()semantics.BatchbatchInsert(TableRecord<?>... records)Create a batch statement to execute a set ofINSERTqueries in batch mode (with bind values) according toTableRecord.insert()semantics.BatchbatchStore(java.util.Collection<? extends UpdatableRecord<?>> records)Create a batch statement to execute a set ofINSERTandUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.store()semantics.BatchbatchStore(UpdatableRecord<?>... records)Create a batch statement to execute a set ofINSERTandUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.store()semantics.BatchbatchUpdate(java.util.Collection<? extends UpdatableRecord<?>> records)Create a batch statement to execute a set ofUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.update()semantics.BatchbatchUpdate(UpdatableRecord<?>... records)Create a batch statement to execute a set ofUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.update()semantics.Blockbegin(java.util.Collection<? extends Statement> statements)Wrap a collection of statements in an anoymous procedural block.Blockbegin(Statement... statements)Wrap a collection of statements in an anonymous procedural block.intbind(QueryPart part, java.sql.PreparedStatement stmt)Deprecated.BindContextbindContext(java.sql.PreparedStatement stmt)Get a newBindContextfor the context of thisDSLContext.voidclose()Close the underlying resources, if any resources have been allocated when constructing thisDSLContext.CommentOnIsStepcommentOnColumn(Field<?> field)Create a new DSLCOMMENT ON COLUMNstatement.CommentOnIsStepcommentOnColumn(Name columnName)Create a new DSLCOMMENT ON COLUMNstatement.CommentOnIsStepcommentOnTable(java.lang.String tableName)Create a new DSLCOMMENT ON TABLEstatement.CommentOnIsStepcommentOnTable(Name tableName)Create a new DSLCOMMENT ON TABLEstatement.CommentOnIsStepcommentOnTable(Table<?> table)Create a new DSLCOMMENT ON TABLEstatement.CommentOnIsStepcommentOnView(java.lang.String viewName)Create a new DSLCOMMENT ON VIEWstatement.CommentOnIsStepcommentOnView(Name viewName)Create a new DSLCOMMENT ON VIEWstatement.CommentOnIsStepcommentOnView(Table<?> view)Create a new DSLCOMMENT ON VIEWstatement.Configurationconfiguration()The configuration of the current scope.voidconnection(ConnectionRunnable runnable)Run aConnectionRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.connectionProvider().<T> TconnectionResult(ConnectionCallable<T> callable)Run aConnectionCallablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.connectionProvider().CreateTableColumnStepcreateGlobalTemporaryTable(java.lang.String table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.CreateTableColumnStepcreateGlobalTemporaryTable(Name table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.CreateTableColumnStepcreateGlobalTemporaryTable(Table<?> table)Create a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.CreateIndexStepcreateIndex()Create a new DSLCREATE INDEXstatement.CreateIndexStepcreateIndex(java.lang.String index)Create a new DSLCREATE INDEXstatement.CreateIndexStepcreateIndex(Index index)Create a new DSLCREATE INDEXstatement.CreateIndexStepcreateIndex(Name index)Create a new DSLCREATE INDEXstatement.CreateIndexStepcreateIndexIfNotExists(java.lang.String index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.CreateIndexStepcreateIndexIfNotExists(Index index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.CreateIndexStepcreateIndexIfNotExists(Name index)Create a new DSLCREATE INDEX IF NOT EXISTSstatement.CreateViewAsStep<Record>createOrReplaceView(java.lang.String view, java.lang.String... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Name view, Name... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateViewAsStep<Record>createOrReplaceView(Table<?> view, Field<?>... fields)Create a new DSLCREATE OR REPLACE VIEWstatement.CreateSchemaFinalStepcreateSchema(java.lang.String schema)Create a new DSLCREATE SCHEMAstatement.CreateSchemaFinalStepcreateSchema(Name schema)Create a new DSLCREATE SCHEMAstatement.CreateSchemaFinalStepcreateSchema(Schema schema)Create a new DSLCREATE SCHEMAstatement.CreateSchemaFinalStepcreateSchemaIfNotExists(java.lang.String schema)Create a new DSLCREATE SCHEMAstatement.CreateSchemaFinalStepcreateSchemaIfNotExists(Name schema)Create a new DSLCREATE SCHEMAstatement.CreateSchemaFinalStepcreateSchemaIfNotExists(Schema schema)Create a new DSLCREATE SCHEMAstatement.CreateSequenceFlagsStepcreateSequence(java.lang.String sequence)Create a new DSLCREATE SEQUENCEstatement.CreateSequenceFlagsStepcreateSequence(Name sequence)Create a new DSLCREATE SEQUENCEstatement.CreateSequenceFlagsStepcreateSequence(Sequence<?> sequence)Create a new DSLCREATE SEQUENCEstatement.CreateSequenceFlagsStepcreateSequenceIfNotExists(java.lang.String sequence)Create a new DSLCREATE SEQUENCEstatement.CreateSequenceFlagsStepcreateSequenceIfNotExists(Name sequence)Create a new DSLCREATE SEQUENCEstatement.CreateSequenceFlagsStepcreateSequenceIfNotExists(Sequence<?> sequence)Create a new DSLCREATE SEQUENCEstatement.CreateTableColumnStepcreateTable(java.lang.String table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTable(Name table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTable(Table<?> table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTableIfNotExists(java.lang.String table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTableIfNotExists(Name table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTableIfNotExists(Table<?> table)Create a new DSLCREATE TABLEstatement.CreateTableColumnStepcreateTemporaryTable(java.lang.String table)Create a new DSLCREATE TEMPORARY TABLEstatement.CreateTableColumnStepcreateTemporaryTable(Name table)Create a new DSLCREATE TEMPORARY TABLEstatement.CreateTableColumnStepcreateTemporaryTable(Table<?> table)Create a new DSLCREATE TEMPORARY TABLEstatement.CreateTypeStepcreateType(java.lang.String type)Create a new DSLCREATE TYPEstatement.CreateTypeStepcreateType(Name type)Create a new DSLCREATE TYPEstatement.CreateIndexStepcreateUniqueIndex()Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndex(java.lang.String index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndex(Index index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndex(Name index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndexIfNotExists(java.lang.String index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndexIfNotExists(Index index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateIndexStepcreateUniqueIndexIfNotExists(Name index)Create a new DSLCREATE UNIQUE INDEXstatement.CreateViewAsStep<Record>createView(java.lang.String view, java.lang.String... fields)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Name view, Name... fields)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createView(Table<?> view, Field<?>... fields)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(java.lang.String view, java.lang.String... fields)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Name view, Name... fields)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)Create a new DSLCREATE VIEWstatement.CreateViewAsStep<Record>createViewIfNotExists(Table<?> view, Field<?>... fields)Create a new DSLCREATE VIEWstatement.java.math.BigIntegercurrval(java.lang.String sequence)Convenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.java.math.BigIntegercurrval(Name sequence)Convenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.<T extends java.lang.Number>
Tcurrval(Sequence<T> sequence)Convenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.java.util.Map<java.lang.Object,java.lang.Object>data()Get all custom data from thisScope.java.lang.Objectdata(java.lang.Object key)Get some custom data from thisScope.java.lang.Objectdata(java.lang.Object key, java.lang.Object value)Set some custom data to thisScope.Queriesddl(java.util.Collection<? extends Table<?>> tables)Generate the complete creation script for tables.Queriesddl(java.util.Collection<? extends Table<?>> tables, DDLExportConfiguration exportConfiguration)Generate the complete creation script for tables.Queriesddl(java.util.Collection<? extends Table<?>> tables, DDLFlag... flags)Generate the complete creation script for tables.Queriesddl(Catalog catalog)Generate the complete creation script for the entire catalog.Queriesddl(Catalog catalog, DDLExportConfiguration exportConfiguration)Generate a partial creation script for the entire catalog.Queriesddl(Catalog catalog, DDLFlag... flags)Generate a partial creation script for the entire catalog.Queriesddl(Schema schema)Generate the complete creation script for the entire schema.Queriesddl(Schema schema, DDLExportConfiguration exportConfiguration)Generate a partial creation script for the entire schema.Queriesddl(Schema schema, DDLFlag... flags)Generate a partial creation script for the entire schema.Queriesddl(Table... tables)Generate the complete creation script for tables.Queriesddl(Table[] tables, DDLExportConfiguration exportConfiguration)Generate the complete creation script for tables.Queriesddl(Table[] tables, DDLFlag... flags)Generate the complete creation script for tables.Queriesddl(Table<?> table)Generate the complete creation script for a table.Queriesddl(Table<?> table, DDLExportConfiguration exportConfiguration)Generate a partial creation script for a table.Queriesddl(Table<?> table, DDLFlag... flags)Generate a partial creation script for a table.<R extends Record>
DeleteWhereStep<R>delete(Table<R> table)Create a new DSL delete statement.<R extends Record>
DeleteWhereStep<R>deleteFrom(Table<R> table)Create a new DSL delete statement.<R extends Record>
DeleteQuery<R>deleteQuery(Table<R> table)Create a newDeleteQueryjava.sql.ConnectiondiagnosticsConnection()A JDBC connection that proxies the underlying connection to run the jOOQ Diagnostics Pack on executed queries.javax.sql.DataSourcediagnosticsDataSource()A JDBC connection that proxies the underlying connection to run the jOOQ Diagnostics Pack on executed queries.SQLDialectdialect()TheSQLDialectwrapped by this context.DropIndexOnStepdropIndex(java.lang.String index)Create a new DSLDROP INDEXstatement.DropIndexOnStepdropIndex(Index index)Create a new DSLDROP INDEXstatement.DropIndexOnStepdropIndex(Name index)Create a new DSLDROP INDEXstatement.DropIndexOnStepdropIndexIfExists(java.lang.String index)Create a new DSLDROP INDEX IF EXISTSstatement.DropIndexOnStepdropIndexIfExists(Index index)Create a new DSLDROP INDEX IF EXISTSstatement.DropIndexOnStepdropIndexIfExists(Name index)Create a new DSLDROP INDEX IF EXISTSstatement.DropSchemaStepdropSchema(java.lang.String schema)Create a new DSLDROP SCHEMAstatement.DropSchemaStepdropSchema(Name schema)Create a new DSLDROP SCHEMAstatement.DropSchemaStepdropSchema(Schema schema)Create a new DSLDROP SCHEMAstatement.DropSchemaStepdropSchemaIfExists(java.lang.String schema)Create a new DSLDROP SCHEMAstatement.DropSchemaStepdropSchemaIfExists(Name schema)Create a new DSLDROP SCHEMAstatement.DropSchemaStepdropSchemaIfExists(Schema schema)Create a new DSLDROP SCHEMAstatement.DropSequenceFinalStepdropSequence(java.lang.String sequence)Create a new DSLDROP SEQUENCEstatement.DropSequenceFinalStepdropSequence(Name sequence)Create a new DSLDROP SEQUENCEstatement.DropSequenceFinalStepdropSequence(Sequence<?> sequence)Create a new DSLDROP SEQUENCEstatement.DropSequenceFinalStepdropSequenceIfExists(java.lang.String sequence)Create a new DSLDROP SEQUENCE IF EXISTSstatement.DropSequenceFinalStepdropSequenceIfExists(Name sequence)Create a new DSLDROP SEQUENCE IF EXISTSstatement.DropSequenceFinalStepdropSequenceIfExists(Sequence<?> sequence)Create a new DSLDROP SEQUENCE IF EXISTSstatement.DropTableStepdropTable(java.lang.String table)Create a new DSLDROP TABLEstatement.DropTableStepdropTable(Name table)Create a new DSLDROP TABLEstatement.DropTableStepdropTable(Table<?> table)Create a new DSLDROP TABLEstatement.DropTableStepdropTableIfExists(java.lang.String table)Create a new DSLDROP TABLE IF EXISTSstatement.DropTableStepdropTableIfExists(Name table)Create a new DSLDROP TABLE IF EXISTSstatement.DropTableStepdropTableIfExists(Table<?> table)Create a new DSLDROP TABLE IF EXISTSstatement.DropTableStepdropTemporaryTable(java.lang.String table)Create a new DSLDROP TEMPORARY TABLEstatement.DropTableStepdropTemporaryTable(Name table)Create a new DSLDROP TEMPORARY TABLEstatement.DropTableStepdropTemporaryTable(Table<?> table)Create a new DSLDROP TEMPORARY TABLEstatement.DropTypeStepdropType(java.lang.String type)Create a new DSLDROP TYPEstatement.DropTypeStepdropType(java.lang.String... type)Create a new DSLDROP TYPEstatement.DropTypeStepdropType(java.util.Collection<?> type)Create a new DSLDROP TYPEstatement.DropTypeStepdropType(Name type)Create a new DSLDROP TYPEstatement.DropTypeStepdropType(Name... type)Create a new DSLDROP TYPEstatement.DropTypeStepdropTypeIfExists(java.lang.String type)Create a new DSLDROP TYPEstatement.DropTypeStepdropTypeIfExists(java.lang.String... type)Create a new DSLDROP TYPEstatement.DropTypeStepdropTypeIfExists(java.util.Collection<?> type)Create a new DSLDROP TYPEstatement.DropTypeStepdropTypeIfExists(Name type)Create a new DSLDROP TYPEstatement.DropTypeStepdropTypeIfExists(Name... type)Create a new DSLDROP TYPEstatement.DropViewFinalStepdropView(java.lang.String view)Create a new DSLDROP VIEWstatement.DropViewFinalStepdropView(Name view)Create a new DSLDROP VIEWstatement.DropViewFinalStepdropView(Table<?> view)Create a new DSLDROP VIEWstatement.DropViewFinalStepdropViewIfExists(java.lang.String view)Create a new DSLDROP VIEW IF EXISTSstatement.DropViewFinalStepdropViewIfExists(Name view)Create a new DSLDROP VIEW IF EXISTSstatement.DropViewFinalStepdropViewIfExists(Table<?> view)Create a new DSLDROP VIEW IF EXISTSstatement.DSLContextdsl()Wrap theScope.configuration()in aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.intexecute(java.lang.String sql)Execute a query holding plain SQL.intexecute(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.intexecute(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.intexecute(Query query)Execute aQueryin the context of thisDSLContext.intexecute(SQL sql)Execute a query holding plain SQL.intexecuteDelete(TableRecord<?> record, Condition condition)Delete a record from a table.intexecuteDelete(UpdatableRecord<?> record)Delete a record from a table.intexecuteInsert(TableRecord<?> record)Insert one record.intexecuteUpdate(TableRecord<?> record, Condition condition)Update a table.intexecuteUpdate(UpdatableRecord<?> record)Update a table.Explainexplain(Query query)Run anEXPLAINstatement in the database to estimate the cardinality of the query.java.util.List<java.lang.Object>extractBindValues(QueryPart part)Retrieve the bind values that will be bound by a givenQueryPart.Param<?>extractParam(QueryPart part, java.lang.String name)Get a named parameter from aQueryPart, provided its name.java.util.Map<java.lang.String,Param<?>>extractParams(QueryPart part)Get aMapof named parameters.SQLDialectfamily()TheSQLDialect.family()wrapped by this context.Result<Record>fetch(java.lang.String sql)Execute a new query holding plain SQL.Result<Record>fetch(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.Result<Record>fetch(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.Result<Record>fetch(java.sql.ResultSet rs)Fetch all data from a JDBCResultSetand transform it to a jOOQResult.Result<Record>fetch(java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch all data from a JDBCResultSetand transform it to a jOOQResult.Result<Record>fetch(java.sql.ResultSet rs, DataType<?>... types)Fetch all data from a JDBCResultSetand transform it to a jOOQResult.Result<Record>fetch(java.sql.ResultSet rs, Field<?>... fields)Fetch all data from a JDBCResultSetand transform it to a jOOQResult.<R extends Record>
Result<R>fetch(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return results.Result<Record>fetch(SQL sql)Execute a new query holding plain SQL.<R extends Record>
Result<R>fetch(Table<R> table)Execute and return all records for<R extends Record>
Result<R>fetch(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return all records for<R extends Record>
Result<R>fetch(Table<R> table, Condition condition)Execute and return all records for<R extends Record>
Result<R>fetch(Table<R> table, Condition... conditions)Execute and return all records for<R extends Record>
RfetchAny(Table<R> table)Execute and return zero or one record for<R extends Record>
RfetchAny(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return zero or one record for<R extends Record>
RfetchAny(Table<R> table, Condition condition)Execute and return zero or one record for<R extends Record>
RfetchAny(Table<R> table, Condition... conditions)Execute and return zero or one record forjava.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.lang.String sql)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.lang.String sql, java.lang.Object... bindings)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.lang.String sql, QueryPart... parts)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.sql.ResultSet rs)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.sql.ResultSet rs, DataType<?>... types)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.sql.ResultSet rs, Field<?>... fields)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, java.lang.Object... bindings)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, QueryPart... parts)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, DataType<?>... types)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, Field<?>... fields)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(java.util.concurrent.Executor executor, ResultQuery<R> query)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(java.util.concurrent.Executor executor, SQL sql)Fetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(java.util.concurrent.Executor executor, Table<R> table)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(java.util.concurrent.Executor executor, Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(java.util.concurrent.Executor executor, Table<R> table, Condition condition)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(java.util.concurrent.Executor executor, Table<R> table, Condition... conditions)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(ResultQuery<R> query)Fetch results in a newCompletionStage.java.util.concurrent.CompletionStage<Result<Record>>fetchAsync(SQL sql)Fetch results in a newCompletionStage.<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(Table<R> table)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(Table<R> table, Condition condition)Execute and return all records asynchronously for<R extends Record>
java.util.concurrent.CompletionStage<Result<R>>fetchAsync(Table<R> table, Condition... conditions)Execute and return all records asynchronously for<R extends TableRecord<R>>
Result<R>fetchByExample(R example)Execute a "Query by Example" (QBE) based on an example record.intfetchCount(Select<?> query)intfetchCount(Table<?> table)Count the number of records in a table.intfetchCount(Table<?> table, java.util.Collection<? extends Condition> conditions)Count the number of records in a table that satisfy a condition.intfetchCount(Table<?> table, Condition condition)Count the number of records in a table that satisfy a condition.intfetchCount(Table<?> table, Condition... conditions)Count the number of records in a table that satisfy a condition.booleanfetchExists(Select<?> query)Check if aSelectwould return any records, if it were executed.booleanfetchExists(Table<?> table)Check if a table has any records.booleanfetchExists(Table<?> table, java.util.Collection<? extends Condition> conditions)Check if a table has any records that satisfy a condition.booleanfetchExists(Table<?> table, Condition condition)Check if a table has any records that satisfy a condition.booleanfetchExists(Table<?> table, Condition... conditions)Check if a table has any records that satisfy a condition.Result<Record>fetchFromCSV(java.lang.String string)Fetch all data from a CSV string.Result<Record>fetchFromCSV(java.lang.String string, boolean header)Fetch all data from a CSV string.Result<Record>fetchFromCSV(java.lang.String string, boolean header, char delimiter)Fetch all data from a CSV string.Result<Record>fetchFromCSV(java.lang.String string, char delimiter)Fetch all data from a CSV string.Result<Record>fetchFromHTML(java.lang.String string)Convert an HTML table into a jOOQResult.Result<Record>fetchFromJSON(java.lang.String string)Fetch all data from a JSON string.Result<Record>fetchFromStringData(java.lang.String[]... strings)Fetch all data from a list of strings.Result<Record>fetchFromStringData(java.util.List<java.lang.String[]> strings)Fetch all data from a list of strings.Result<Record>fetchFromStringData(java.util.List<java.lang.String[]> strings, boolean header)Fetch all data from a list of strings.Result<Record>fetchFromTXT(java.lang.String string)Fetch all data from a formatted string.Result<Record>fetchFromTXT(java.lang.String string, java.lang.String nullLiteral)Fetch all data from a formatted string.Result<Record>fetchFromXML(java.lang.String string)Fetch all data from an XML string.Cursor<Record>fetchLazy(java.lang.String sql)Execute a new query holding plain SQL and "lazily" return the generated result.Cursor<Record>fetchLazy(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL and "lazily" return the generated result.Cursor<Record>fetchLazy(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL and "lazily" return the generated result.Cursor<Record>fetchLazy(java.sql.ResultSet rs)Wrap a JDBCResultSetinto a jOOQCursor.Cursor<Record>fetchLazy(java.sql.ResultSet rs, java.lang.Class<?>... types)Wrap a JDBCResultSetinto a jOOQCursor.Cursor<Record>fetchLazy(java.sql.ResultSet rs, DataType<?>... types)Wrap a JDBCResultSetinto a jOOQCursor.Cursor<Record>fetchLazy(java.sql.ResultSet rs, Field<?>... fields)Wrap a JDBCResultSetinto a jOOQCursor.<R extends Record>
Cursor<R>fetchLazy(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a cursor.Cursor<Record>fetchLazy(SQL sql)Execute a new query holding plain SQL and "lazily" return the generated result.<R extends Record>
Cursor<R>fetchLazy(Table<R> table)Execute and return all records lazily for<R extends Record>
Cursor<R>fetchLazy(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return all records lazily for<R extends Record>
Cursor<R>fetchLazy(Table<R> table, Condition condition)Execute and return all records lazily for<R extends Record>
Cursor<R>fetchLazy(Table<R> table, Condition... conditions)Execute and return all records lazily forResultsfetchMany(java.lang.String sql)Execute a new query holding plain SQL, possibly returning several result sets.ResultsfetchMany(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL, possibly returning several result sets.ResultsfetchMany(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL, possibly returning several result sets.<R extends Record>
ResultsfetchMany(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a cursor.ResultsfetchMany(SQL sql)Execute a new query holding plain SQL, possibly returning several result sets.RecordfetchOne(java.lang.String sql)Execute a new query holding plain SQL.RecordfetchOne(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.RecordfetchOne(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.RecordfetchOne(java.sql.ResultSet rs)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchOne(java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchOne(java.sql.ResultSet rs, DataType<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchOne(java.sql.ResultSet rs, Field<?>... fields)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.<R extends Record>
RfetchOne(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a record.RecordfetchOne(SQL sql)Execute a new query holding plain SQL.<R extends Record>
RfetchOne(Table<R> table)Execute and return zero or one record for<R extends Record>
RfetchOne(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return zero or one record for<R extends Record>
RfetchOne(Table<R> table, Condition condition)Execute and return zero or one record for<R extends Record>
RfetchOne(Table<R> table, Condition... conditions)Execute and return zero or one record forjava.util.Optional<Record>fetchOptional(java.lang.String sql)Execute a new query holding plain SQL.java.util.Optional<Record>fetchOptional(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.java.util.Optional<Record>fetchOptional(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.java.util.Optional<Record>fetchOptional(java.sql.ResultSet rs)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.java.util.Optional<Record>fetchOptional(java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.java.util.Optional<Record>fetchOptional(java.sql.ResultSet rs, DataType<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.java.util.Optional<Record>fetchOptional(java.sql.ResultSet rs, Field<?>... fields)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.<R extends Record>
java.util.Optional<R>fetchOptional(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a record.java.util.Optional<Record>fetchOptional(SQL sql)Execute a new query holding plain SQL.<R extends Record>
java.util.Optional<R>fetchOptional(Table<R> table)Execute and return zero or one record for<R extends Record>
java.util.Optional<R>fetchOptional(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return zero or one record for<R extends Record>
java.util.Optional<R>fetchOptional(Table<R> table, Condition condition)Execute and return zero or one record for<R extends Record>
java.util.Optional<R>fetchOptional(Table<R> table, Condition... conditions)Execute and return zero or one record forjava.util.Optional<?>fetchOptionalValue(java.lang.String sql)Execute a new query holding plain SQL.java.util.Optional<?>fetchOptionalValue(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.java.util.Optional<?>fetchOptionalValue(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.java.util.Optional<?>fetchOptionalValue(java.sql.ResultSet rs)Fetch a record from a JDBCResultSetand return the only contained value.<T> java.util.Optional<T>fetchOptionalValue(java.sql.ResultSet rs, java.lang.Class<T> type)Fetch a record from a JDBCResultSetand return the only contained value.<T> java.util.Optional<T>fetchOptionalValue(java.sql.ResultSet rs, DataType<T> type)Fetch a record from a JDBCResultSetand return the only contained value.<T> java.util.Optional<T>fetchOptionalValue(java.sql.ResultSet rs, Field<T> field)Fetch a record from a JDBCResultSetand return the only contained value.<T,R extends Record1<T>>
java.util.Optional<T>fetchOptionalValue(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a single value.java.util.Optional<?>fetchOptionalValue(SQL sql)Execute a new query holding plain SQL.<T> java.util.Optional<T>fetchOptionalValue(TableField<?,T> field)Execute aResultQueryin the context of thisDSLContextand return a single value.RecordfetchSingle(java.lang.String sql)Execute a new query holding plain SQL.RecordfetchSingle(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.RecordfetchSingle(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.RecordfetchSingle(java.sql.ResultSet rs)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchSingle(java.sql.ResultSet rs, java.lang.Class<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchSingle(java.sql.ResultSet rs, DataType<?>... types)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchSingle(java.sql.ResultSet rs, Field<?>... fields)Fetch a record from a JDBCResultSetand transform it to a jOOQRecord.RecordfetchSingle(java.util.Collection<? extends SelectField<?>> fields)Execute and return exactly one record for<R extends Record>
RfetchSingle(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a record.RecordfetchSingle(SelectField<?>... fields)Execute and return exactly one record for<T1> Record1<T1>fetchSingle(SelectField<T1> field1)Execute and return exactly one record for<T1,T2>
Record2<T1,T2>fetchSingle(SelectField<T1> field1, SelectField<T2> field2)Execute and return exactly one record for<T1,T2,T3>
Record3<T1,T2,T3>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)Execute and return exactly one record for<T1,T2,T3,T4>
Record4<T1,T2,T3,T4>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)Execute and return exactly one record for<T1,T2,T3,T4,T5>
Record5<T1,T2,T3,T4,T5>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6>
Record6<T1,T2,T3,T4,T5,T6>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7>
Record7<T1,T2,T3,T4,T5,T6,T7>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8>
Record8<T1,T2,T3,T4,T5,T6,T7,T8>fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9>
Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>fetchSingle(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)Execute and return exactly one record for<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>fetchSingle(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)Execute and return exactly one record forRecordfetchSingle(SQL sql)Execute a new query holding plain SQL.<R extends Record>
RfetchSingle(Table<R> table)Execute and return exactly one record for<R extends Record>
RfetchSingle(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return exactly one record for<R extends Record>
RfetchSingle(Table<R> table, Condition condition)Execute and return exactly one record for<R extends Record>
RfetchSingle(Table<R> table, Condition... conditions)Execute and return exactly one record forjava.util.stream.Stream<Record>fetchStream(java.lang.String sql)Execute a new query holding plain SQL and "lazily" return the generated result.java.util.stream.Stream<Record>fetchStream(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL and "lazily" return the generated result.java.util.stream.Stream<Record>fetchStream(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL and "lazily" return the generated result.java.util.stream.Stream<Record>fetchStream(java.sql.ResultSet rs)Wrap a JDBCResultSetinto a jOOQStream.java.util.stream.Stream<Record>fetchStream(java.sql.ResultSet rs, java.lang.Class<?>... types)Wrap a JDBCResultSetinto a jOOQStream.java.util.stream.Stream<Record>fetchStream(java.sql.ResultSet rs, DataType<?>... types)Wrap a JDBCResultSetinto a jOOQStream.java.util.stream.Stream<Record>fetchStream(java.sql.ResultSet rs, Field<?>... fields)Wrap a JDBCResultSetinto a jOOQStream.<R extends Record>
java.util.stream.Stream<R>fetchStream(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a stream.java.util.stream.Stream<Record>fetchStream(SQL sql)Execute a new query holding plain SQL and "lazily" return the generated result.<R extends Record>
java.util.stream.Stream<R>fetchStream(Table<R> table)Execute and return all records lazily for<R extends Record>
java.util.stream.Stream<R>fetchStream(Table<R> table, java.util.Collection<? extends Condition> conditions)Execute and return all records lazily for<R extends Record>
java.util.stream.Stream<R>fetchStream(Table<R> table, Condition condition)Execute and return all records lazily for<R extends Record>
java.util.stream.Stream<R>fetchStream(Table<R> table, Condition... conditions)Execute and return all records lazily forjava.lang.ObjectfetchValue(java.lang.String sql)Execute a new query holding plain SQL.java.lang.ObjectfetchValue(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.java.lang.ObjectfetchValue(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.java.lang.ObjectfetchValue(java.sql.ResultSet rs)Fetch a record from a JDBCResultSetand return the only contained value.<T> TfetchValue(java.sql.ResultSet rs, java.lang.Class<T> type)Fetch a record from a JDBCResultSetand return the only contained value.<T> TfetchValue(java.sql.ResultSet rs, DataType<T> type)Fetch a record from a JDBCResultSetand return the only contained value.<T> TfetchValue(java.sql.ResultSet rs, Field<T> field)Fetch a record from a JDBCResultSetand return the only contained value.<T> TfetchValue(Field<T> field)Execute aResultQueryin the context of thisDSLContextand return a single value.<T,R extends Record1<T>>
TfetchValue(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return a single value.java.lang.ObjectfetchValue(SQL sql)Execute a new query holding plain SQL.<T> TfetchValue(Table<? extends Record1<T>> table)Fetch a single value from a single column table.<T> TfetchValue(TableField<?,T> field)Execute aResultQueryin the context of thisDSLContextand return a single value.java.util.List<?>fetchValues(java.lang.String sql)Execute a new query holding plain SQL.java.util.List<?>fetchValues(java.lang.String sql, java.lang.Object... bindings)Execute a new query holding plain SQL.java.util.List<?>fetchValues(java.lang.String sql, QueryPart... parts)Execute a new query holding plain SQL.java.util.List<?>fetchValues(java.sql.ResultSet rs)Fetch a result from a JDBCResultSetand return the only contained column's values.<T> java.util.List<T>fetchValues(java.sql.ResultSet rs, java.lang.Class<T> type)Fetch a result from a JDBCResultSetand return the only contained column's values.<T> java.util.List<T>fetchValues(java.sql.ResultSet rs, DataType<T> type)Fetch a result from a JDBCResultSetand return the only contained column's values.<T> java.util.List<T>fetchValues(java.sql.ResultSet rs, Field<T> field)Fetch a result from a JDBCResultSetand return the only contained column's values.<T,R extends Record1<T>>
java.util.List<T>fetchValues(ResultQuery<R> query)Execute aResultQueryin the context of thisDSLContextand return all values for the only column.java.util.List<?>fetchValues(SQL sql)Execute a new query holding plain SQL.<T> java.util.List<T>fetchValues(Table<? extends Record1<T>> table)Fetch all values from a single column table.<T> java.util.List<T>fetchValues(TableField<?,T> field)Fetch all values in a givenTable'sTableField.GrantOnStepgrant(java.util.Collection<? extends Privilege> privileges)Grant privileges on a table to user or role.GrantOnStepgrant(Privilege privilege)Grant a privilege on a table to user or role.GrantOnStepgrant(Privilege... privileges)Grant privileges on a table to user or role.InformationSchemainformationSchema(Catalog catalog)Export a catalog to theInformationSchemaformat.InformationSchemainformationSchema(Catalog... catalogs)Export a set of catalogs to theInformationSchemaformat.InformationSchemainformationSchema(Schema schema)Export a schema to theInformationSchemaformat.InformationSchemainformationSchema(Schema... schemas)Export a set of schemas to theInformationSchemaformat.InformationSchemainformationSchema(Table<?> table)Export a table to theInformationSchemaformat.InformationSchemainformationSchema(Table<?>... tables)Export a set of tables to theInformationSchemaformat.<R extends Record>
InsertSetStep<R>insertInto(Table<R> into)Create a new DSL insert statement.<R extends Record>
InsertValuesStepN<R>insertInto(Table<R> into, java.util.Collection<? extends Field<?>> fields)Create a new DSL insert statement.<R extends Record>
InsertValuesStepN<R>insertInto(Table<R> into, Field<?>... fields)Create a new DSL insert statement.<R extends Record,T1>
InsertValuesStep1<R,T1>insertInto(Table<R> into, Field<T1> field1)Create a new DSL insert statement.<R extends Record,T1,T2>
InsertValuesStep2<R,T1,T2>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2)Create a new DSL insert statement.<R extends Record,T1,T2,T3>
InsertValuesStep3<R,T1,T2,T3>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4>
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.<R extends Record,T1,T2,T3,T4,T5>
InsertValuesStep5<R,T1,T2,T3,T4,T5>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6>
InsertValuesStep6<R,T1,T2,T3,T4,T5,T6>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7>
InsertValuesStep7<R,T1,T2,T3,T4,T5,T6,T7>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8>
InsertValuesStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9>
InsertValuesStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
InsertValuesStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
InsertValuesStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
InsertValuesStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
InsertValuesStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
InsertValuesStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
InsertValuesStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
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.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
InsertValuesStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
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.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
InsertValuesStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
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.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
InsertValuesStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)Create a new DSL insert statement.<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
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.<R extends Record>
InsertQuery<R>insertQuery(Table<R> into)Create a newInsertQueryjava.math.BigIntegerlastID()Retrieve the last inserted ID.<R extends Record>
LoaderOptionsStep<R>loadInto(Table<R> table)Create a newLoaderobject to load data from a CSV or XML source.Schemamap(Schema schema)Map a schema to another one.<R extends Record>
Table<R>map(Table<R> table)Map a table to another one.<R extends Record>
MergeUsingStep<R>mergeInto(Table<R> table)Create a new DSL SQL standard MERGE statement.<R extends Record>
MergeKeyStepN<R>mergeInto(Table<R> table, java.util.Collection<? extends Field<?>> fields)Create a new DSL merge statement (H2-specific syntax).<R extends Record>
MergeKeyStepN<R>mergeInto(Table<R> table, Field<?>... fields)<R extends Record,T1>
MergeKeyStep1<R,T1>mergeInto(Table<R> table, Field<T1> field1)<R extends Record,T1,T2>
MergeKeyStep2<R,T1,T2>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2)<R extends Record,T1,T2,T3>
MergeKeyStep3<R,T1,T2,T3>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3)<R extends Record,T1,T2,T3,T4>
MergeKeyStep4<R,T1,T2,T3,T4>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)<R extends Record,T1,T2,T3,T4,T5>
MergeKeyStep5<R,T1,T2,T3,T4,T5>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)<R extends Record,T1,T2,T3,T4,T5,T6>
MergeKeyStep6<R,T1,T2,T3,T4,T5,T6>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)<R extends Record,T1,T2,T3,T4,T5,T6,T7>
MergeKeyStep7<R,T1,T2,T3,T4,T5,T6,T7>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8>
MergeKeyStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9>
MergeKeyStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
MergeKeyStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
MergeKeyStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
MergeKeyStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
MergeKeyStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
MergeKeyStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
MergeKeyStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
MergeKeyStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
MergeKeyStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
MergeKeyStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
MergeKeyStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
MergeKeyStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
MergeKeyStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)<R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
MergeKeyStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)Metameta()Access the database meta data.Metameta(java.sql.DatabaseMetaData meta)Access the database meta data from an explicit JDBCDatabaseMetaData.Metameta(Catalog... catalogs)Access the database meta data from explicit catalog information.Metameta(Schema... schemas)Access the database meta data from explicit schema information.Metameta(Source... scripts)Access the database meta data for a database represented by a list of DDL scripts.Metameta(Table<?>... tables)Access the database meta data from explicit table information.Metameta(InformationSchema schema)Access the database meta data from an explicit JAXB-annotated meta model.voidmock(MockDataProvider provider, MockRunnable mockable)Run aMockRunnablein the context of thisDSLContext's underlyingScope.configuration()'s, and of aMockDataProvider.<T> TmockResult(MockDataProvider provider, MockCallable<T> mockable)Run aMockRunnablein the context of thisDSLContext's underlyingScope.configuration()'s, and of aMockDataProviderand return themockable's outcome.RecordnewRecord(java.util.Collection<? extends Field<?>> fields)Create a new emptyRecord.RecordnewRecord(Field<?>... fields)Create a new emptyRecord.<T1> Record1<T1>newRecord(Field<T1> field1)Create a new emptyRecord.<T1,T2>
Record2<T1,T2>newRecord(Field<T1> field1, Field<T2> field2)Create a new emptyRecord.<T1,T2,T3>
Record3<T1,T2,T3>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3)Create a new emptyRecord.<T1,T2,T3,T4>
Record4<T1,T2,T3,T4>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)Create a new emptyRecord.<T1,T2,T3,T4,T5>
Record5<T1,T2,T3,T4,T5>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6>
Record6<T1,T2,T3,T4,T5,T6>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7>
Record7<T1,T2,T3,T4,T5,T6,T7>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8>
Record8<T1,T2,T3,T4,T5,T6,T7,T8>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9>
Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)Create a new emptyRecord.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)Create a new emptyRecord.<R extends Record>
RnewRecord(Table<R> table)Create a newRecordthat can be inserted into the corresponding table.<R extends Record>
RnewRecord(Table<R> table, java.lang.Object source)Create a new pre-filledRecordthat can be inserted into the corresponding table.<R extends UDTRecord<R>>
RnewRecord(UDT<R> type)Create a newUDTRecord.Result<Record>newResult(java.util.Collection<? extends Field<?>> fields)Create a new emptyRecord.Result<Record>newResult(Field<?>... fields)Create a new emptyRecord.<T1> Result<Record1<T1>>newResult(Field<T1> field1)Create a new emptyResult.<T1,T2>
Result<Record2<T1,T2>>newResult(Field<T1> field1, Field<T2> field2)Create a new emptyResult.<T1,T2,T3>
Result<Record3<T1,T2,T3>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3)Create a new emptyResult.<T1,T2,T3,T4>
Result<Record4<T1,T2,T3,T4>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)Create a new emptyResult.<T1,T2,T3,T4,T5>
Result<Record5<T1,T2,T3,T4,T5>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)Create a new emptyResult.<T1,T2,T3,T4,T5,T6>
Result<Record6<T1,T2,T3,T4,T5,T6>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7>
Result<Record7<T1,T2,T3,T4,T5,T6,T7>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8>
Result<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9>
Result<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Result<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
Result<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
Result<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
Result<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
Result<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
Result<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
Result<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
Result<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
Result<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
Result<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
Result<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
Result<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)Create a new emptyResult.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
Result<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)Create a new emptyResult.<R extends Record>
Result<R>newResult(Table<R> table)Create a new emptyResult.java.math.BigIntegernextval(java.lang.String sequence)Convenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.java.math.BigIntegernextval(Name sequence)Convenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.<T extends java.lang.Number>
Tnextval(Sequence<T> sequence)Convenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.Parserparser()Access the parser API.java.sql.ConnectionparsingConnection()A JDBC connection that runs each statement through theDSLContext.parser()first, prior to re-generating and running the SQL.javax.sql.DataSourceparsingDataSource()A JDBC data source that runs each statement through theDSLContext.parser()first, prior to re-generating and running the SQL.Queriesqueries(java.util.Collection<? extends Query> queries)Wrap a collection of queries.Queriesqueries(Query... queries)Wrap a collection of queries.RowCountQueryquery(java.lang.String sql)Create a new query holding plain SQL.RowCountQueryquery(java.lang.String sql, java.lang.Object... bindings)Create a new query holding plain SQL.RowCountQueryquery(java.lang.String sql, QueryPart... parts)Create a new query holding plain SQL.RowCountQueryquery(SQL sql)Create a new query holding plain SQL.java.lang.Stringrender(QueryPart part)Render a QueryPart in the context of thisDSLContext.RenderContextrenderContext()Get a newRenderContextfor the context of thisDSLContext.java.lang.StringrenderInlined(QueryPart part)Render a QueryPart in the context of thisDSLContext, inlining all bind variables.java.lang.StringrenderNamedOrInlinedParams(QueryPart part)Render a QueryPart in the context of thisDSLContext, rendering bind variables as named parameters, or inlined parameters if they have no name.java.lang.StringrenderNamedParams(QueryPart part)Render a QueryPart in the context of thisDSLContext, rendering bind variables as named parameters.ResultQuery<Record>resultQuery(java.lang.String sql)Create a new query holding plain SQL.ResultQuery<Record>resultQuery(java.lang.String sql, java.lang.Object... bindings)Create a new query holding plain SQL.ResultQuery<Record>resultQuery(java.lang.String sql, QueryPart... parts)Create a new query holding plain SQL.ResultQuery<Record>resultQuery(SQL sql)Create a new query holding plain SQL.RevokeOnSteprevoke(java.util.Collection<? extends Privilege> privileges)Revoke privileges on table from user or role.RevokeOnSteprevoke(Privilege privilege)Revoke a privilege on table from user or role.RevokeOnSteprevoke(Privilege... privileges)Revoke privileges on table from user or role.RevokeOnSteprevokeGrantOptionFor(java.util.Collection<? extends Privilege> privileges)Revoke grant option for some privileges on a table from user or role.RevokeOnSteprevokeGrantOptionFor(Privilege privilege)Revoke grant option for a privilege on a table from user or role.RevokeOnSteprevokeGrantOptionFor(Privilege... privileges)Revoke grant option for some privileges on a table from user or role.SelectSelectStep<Record>select(java.util.Collection<? extends SelectFieldOrAsterisk> fields)Create a new DSL select statement.<T1> SelectSelectStep<Record1<T1>>select(SelectField<T1> field1)Create a new DSL select statement.<T1,T2>
SelectSelectStep<Record2<T1,T2>>select(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.<T1,T2,T3>
SelectSelectStep<Record3<T1,T2,T3>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)Create a new DSL select statement.<T1,T2,T3,T4>
SelectSelectStep<Record4<T1,T2,T3,T4>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)Create a new DSL select statement.<T1,T2,T3,T4,T5>
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 select statement.<T1,T2,T3,T4,T5,T6>
SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7>
SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8>
SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9>
SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
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 select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
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 select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)Create a new DSL select statement.SelectSelectStep<Record>select(SelectFieldOrAsterisk... fields)Create a new DSL select statement.SelectSelectStep<Record1<java.lang.Integer>>selectCount()Create a new DSL select statement forCOUNT(*).SelectSelectStep<Record>selectDistinct(java.util.Collection<? extends SelectFieldOrAsterisk> fields)Create a new DSL select statement.<T1> SelectSelectStep<Record1<T1>>selectDistinct(SelectField<T1> field1)Create a new DSL select statement.<T1,T2>
SelectSelectStep<Record2<T1,T2>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.<T1,T2,T3>
SelectSelectStep<Record3<T1,T2,T3>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)Create a new DSL select statement.<T1,T2,T3,T4>
SelectSelectStep<Record4<T1,T2,T3,T4>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)Create a new DSL select statement.<T1,T2,T3,T4,T5>
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 select statement.<T1,T2,T3,T4,T5,T6>
SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7>
SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8>
SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9>
SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
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 select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)Create a new DSL select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
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 select statement.<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>>selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)Create a new DSL select statement.SelectSelectStep<Record>selectDistinct(SelectFieldOrAsterisk... fields)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(java.lang.String sql)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(java.lang.String sql, java.lang.Object... bindings)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(java.lang.String sql, QueryPart... parts)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(Name table)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(SQL sql)Create a new DSL select statement.<R extends Record>
SelectWhereStep<R>selectFrom(Table<R> table)Create a new DSL select statement.SelectSelectStep<Record1<java.lang.Integer>>selectOne()Create a new DSL select statement for a constant1literal.SelectQuery<Record>selectQuery()Create a newSelectQuery<R extends Record>
SelectQuery<R>selectQuery(TableLike<R> table)Create a newSelectQuerySelectSelectStep<Record1<java.lang.Integer>>selectZero()Create a new DSL select statement for a constant0literal.RowCountQuerysetCatalog(java.lang.String catalog)Set the current catalog to a new value.RowCountQuerysetCatalog(Catalog catalog)Set the current catalog to a new value.RowCountQuerysetCatalog(Name catalog)Set the current catalog to a new value.RowCountQuerysetSchema(java.lang.String schema)Set the current schema to a new value.RowCountQuerysetSchema(Name schema)Set the current schema to a new value.RowCountQuerysetSchema(Schema schema)Set the current schema to a new value.Settingssettings()The settings wrapped by this context.Blockstatements(java.util.Collection<? extends Statement> statements)Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN ..Blockstatements(Statement... statements)Wrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN ..java.lang.StringtoString()voidtransaction(ContextTransactionalRunnable transactional)Run aContextTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider().voidtransaction(TransactionalRunnable transactional)Run aTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider().java.util.concurrent.CompletionStage<java.lang.Void>transactionAsync(java.util.concurrent.Executor executor, TransactionalRunnable transactional)Run aTransactionalRunnableasynchronously.java.util.concurrent.CompletionStage<java.lang.Void>transactionAsync(TransactionalRunnable transactional)Run aTransactionalRunnableasynchronously.<T> TtransactionResult(ContextTransactionalCallable<T> transactional)Run aContextTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and return thetransactional's outcome.<T> TtransactionResult(TransactionalCallable<T> transactional)Run aTransactionalCallablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and return thetransactional's outcome.<T> java.util.concurrent.CompletionStage<T>transactionResultAsync(java.util.concurrent.Executor executor, TransactionalCallable<T> transactional)Run aTransactionalCallableasynchronously.<T> java.util.concurrent.CompletionStage<T>transactionResultAsync(TransactionalCallable<T> transactional)Run aTransactionalCallableasynchronously.TruncateIdentityStep<Record>truncate(java.lang.String table)Create a new DSL truncate statement.TruncateIdentityStep<Record>truncate(Name table)Create a new DSL truncate statement.<R extends Record>
TruncateIdentityStep<R>truncate(Table<R> table)Create a new DSL truncate statement.TruncateIdentityStep<Record>truncateTable(java.lang.String table)Create a new DSL truncate statement.TruncateIdentityStep<Record>truncateTable(Name table)Create a new DSL truncate statement.<R extends Record>
TruncateIdentityStep<R>truncateTable(Table<R> table)Create a new DSL truncate statement.<R extends Record>
UpdateSetFirstStep<R>update(Table<R> table)Create a new DSL update statement.<R extends Record>
UpdateQuery<R>updateQuery(Table<R> table)Create a newUpdateQueryWithAsStepwith(java.lang.String alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep1with(java.lang.String alias, java.lang.String fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwith(java.lang.String alias, java.lang.String... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep2with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep3with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep4with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep5with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep6with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep7with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep8with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep9with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep10with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep11with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep12with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep13with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep14with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep15with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep16with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep17with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep18with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep19with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep20with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep21with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep22with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwith(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwith(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithStepwith(CommonTableExpression<?>... tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwith(Name alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep1with(Name alias, Name fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwith(Name alias, Name... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep2with(Name alias, Name fieldAlias1, Name fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep3with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep4with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep5with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.WithAsStepwithRecursive(java.lang.String alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep1withRecursive(java.lang.String alias, java.lang.String fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwithRecursive(java.lang.String alias, java.lang.String... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep2withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep3withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep4withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep5withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep6withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep7withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep8withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep9withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep10withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep11withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep12withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep13withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep14withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep15withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep16withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep17withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep18withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep19withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep20withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep21withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep22withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwithRecursive(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwithRecursive(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithStepwithRecursive(CommonTableExpression<?>... tables)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwithRecursive(Name alias)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep1withRecursive(Name alias, Name fieldAlias1)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStepwithRecursive(Name alias, Name... fieldAliases)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep2withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep3withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep4withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.WithAsStep5withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)Create aWITHclause to supply subsequentSELECT,UPDATE,INSERT,DELETE, andMERGEstatements withCommonTableExpressions.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.
-
-
-
Constructor Detail
-
DefaultDSLContext
public DefaultDSLContext(SQLDialect dialect)
-
DefaultDSLContext
public DefaultDSLContext(SQLDialect dialect, Settings settings)
-
DefaultDSLContext
public DefaultDSLContext(java.sql.Connection connection, SQLDialect dialect)
-
DefaultDSLContext
public DefaultDSLContext(java.sql.Connection connection, SQLDialect dialect, Settings settings)
-
DefaultDSLContext
public DefaultDSLContext(javax.sql.DataSource datasource, SQLDialect dialect)
-
DefaultDSLContext
public DefaultDSLContext(javax.sql.DataSource datasource, SQLDialect dialect, Settings settings)
-
DefaultDSLContext
public DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect)
-
DefaultDSLContext
public DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings)
-
DefaultDSLContext
public DefaultDSLContext(Configuration configuration)
-
-
Method Detail
-
close
public void close()
Description copied from interface:DSLContextClose the underlying resources, if any resources have been allocated when constructing thisDSLContext.Some
DSLContextconstructors, such asDSL.using(String),DSL.using(String, Properties), orDSL.using(String, String, String)allocate aConnectionresource, which is inaccessible to the outside of theDSLContextimplementation. Proper resource management must thus be done via thisDSLContext.close()method.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceDSLContext
-
map
public Schema map(Schema schema)
Description copied from interface:DSLContextMap a schema to another one.This will map a schema onto another one, depending on configured schema mapping in this
DSLContext. If no applicable schema mapping can be found, the schema itself is returned.- Specified by:
mapin interfaceDSLContext- Parameters:
schema- A schema- Returns:
- The mapped schema
-
map
public <R extends Record> Table<R> map(Table<R> table)
Description copied from interface:DSLContextMap a table to another one.This will map a table onto another one, depending on configured table mapping in this
DSLContext. If no applicable table mapping can be found, the table itself is returned.- Specified by:
mapin interfaceDSLContext- Parameters:
table- A table- Returns:
- The mapped table
-
parser
public Parser parser()
Description copied from interface:DSLContextAccess the parser API.This is experimental functionality.
- Specified by:
parserin interfaceDSLContext
-
parsingConnection
public java.sql.Connection parsingConnection()
Description copied from interface:DSLContextA JDBC connection that runs each statement through theDSLContext.parser()first, prior to re-generating and running the SQL.The resulting
Connectionwraps an underlying JDBC connection that has been obtained fromConnectionProvider.acquire()and must be released by callingConnection.close().This is experimental functionality:
- While this works well for static
Statementexecutions, bind variables and their position calculation might cause issues when the generated SQL output involves more complex SQL transformation. See also https://github.com/jOOQ/jOOQ/issues/5759. - Batching statements is currently not supported. See also https://github.com/jOOQ/jOOQ/issues/5757.
- Specified by:
parsingConnectionin interfaceDSLContext
- While this works well for static
-
parsingDataSource
public javax.sql.DataSource parsingDataSource()
Description copied from interface:DSLContextA JDBC data source that runs each statement through theDSLContext.parser()first, prior to re-generating and running the SQL.This simply wraps the
DSLContext.parsingConnection()in aDataSource.- Specified by:
parsingDataSourcein interfaceDSLContext
-
diagnosticsConnection
public java.sql.Connection diagnosticsConnection()
Description copied from interface:DSLContextA JDBC connection that proxies the underlying connection to run the jOOQ Diagnostics Pack on executed queries.This is experimental functionality.
- Specified by:
diagnosticsConnectionin interfaceDSLContext
-
diagnosticsDataSource
public javax.sql.DataSource diagnosticsDataSource()
Description copied from interface:DSLContextA JDBC connection that proxies the underlying connection to run the jOOQ Diagnostics Pack on executed queries.This simply wraps the
DSLContext.diagnosticsConnection()in aDataSource.- Specified by:
diagnosticsDataSourcein interfaceDSLContext
-
meta
public Meta meta()
Description copied from interface:DSLContextAccess the database meta data.This method returns meta information provided by
Configuration.metaProvider(), which defaults to a wrapper type that gives access to your JDBC connection'sDatabaseMetaDataas obtained from yourConnectionProvider.- Specified by:
metain interfaceDSLContext- See Also:
DSLContext.meta(DatabaseMetaData)
-
meta
public Meta meta(java.sql.DatabaseMetaData meta)
Description copied from interface:DSLContextAccess the database meta data from an explicit JDBCDatabaseMetaData.- Specified by:
metain interfaceDSLContext
-
meta
public Meta meta(Catalog... catalogs)
Description copied from interface:DSLContextAccess the database meta data from explicit catalog information.This will not connect to your database to get live meta information, unlike
DSLContext.meta()andDSLContext.meta(DatabaseMetaData).- Specified by:
metain interfaceDSLContext
-
meta
public Meta meta(Schema... schemas)
Description copied from interface:DSLContextAccess the database meta data from explicit schema information.This will not connect to your database to get live meta information, unlike
DSLContext.meta()andDSLContext.meta(DatabaseMetaData).- Specified by:
metain interfaceDSLContext
-
meta
public Meta meta(Table<?>... tables)
Description copied from interface:DSLContextAccess the database meta data from explicit table information.This will not connect to your database to get live meta information, unlike
DSLContext.meta()andDSLContext.meta(DatabaseMetaData).- Specified by:
metain interfaceDSLContext
-
meta
public Meta meta(InformationSchema schema)
Description copied from interface:DSLContextAccess the database meta data from an explicit JAXB-annotated meta model.This will not connect to your database to get live meta information, unlike
DSLContext.meta()andDSLContext.meta(DatabaseMetaData).- Specified by:
metain interfaceDSLContext
-
meta
public Meta meta(Source... scripts)
Description copied from interface:DSLContextAccess the database meta data for a database represented by a list of DDL scripts. The DDL scripts will be parsed usingDSLContext.parser(), which in turn uses the relevantsettings(e.g.Settings.getParseDialect()) of this object.This will not connect to your database to get live meta information, unlike
DSLContext.meta()andDSLContext.meta(DatabaseMetaData).This method is for internal only. Do not reference directly.
- Specified by:
metain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Catalog catalog)
Description copied from interface:DSLContextExport a catalog to theInformationSchemaformat.This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Catalog... catalogs)
Description copied from interface:DSLContextExport a set of catalogs to theInformationSchemaformat.This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Schema schema)
Description copied from interface:DSLContextExport a schema to theInformationSchemaformat.This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Schema... schemas)
Description copied from interface:DSLContextExport a set of schemas to theInformationSchemaformat.This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Table<?> table)
Description copied from interface:DSLContextExport a table to theInformationSchemaformat.Exporting a single table will not include any foreign key definitions in the exported data.
This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
informationSchema
public InformationSchema informationSchema(Table<?>... tables)
Description copied from interface:DSLContextExport a set of tables to theInformationSchemaformat.Only those foreign keys whose referenced table is also included in the export will be exported.
This allows for serialising schema meta information as XML using JAXB. See also
Constants.XSD_METAfor details.- Specified by:
informationSchemain interfaceDSLContext
-
explain
public Explain explain(Query query)
Description copied from interface:DSLContextRun anEXPLAINstatement in the database to estimate the cardinality of the query.- Specified by:
explainin interfaceDSLContext
-
transactionResult
public <T> T transactionResult(ContextTransactionalCallable<T> transactional)
Description copied from interface:DSLContextRun aContextTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and return thetransactional's outcome.The argument transactional code may capture scope to derive its
Configurationfrom the "context" in order to create new statements. This context can be provided, for instance, byThreadLocalTransactionProviderautomatically.- Specified by:
transactionResultin interfaceDSLContext- Parameters:
transactional- The transactional code- Returns:
- The transactional outcome
-
transactionResult
public <T> T transactionResult(TransactionalCallable<T> transactional)
Description copied from interface:DSLContextRun aTransactionalCallablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and return thetransactional's outcome.The argument transactional code should not capture any scope but derive its
Configurationfrom theTransactionalCallable.run(Configuration)argument in order to create new statements.- Specified by:
transactionResultin interfaceDSLContext- Parameters:
transactional- The transactional code- Returns:
- The transactional outcome
-
transaction
public void transaction(ContextTransactionalRunnable transactional)
Description copied from interface:DSLContextRun aContextTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider().The argument transactional code may capture scope to derive its
Configurationfrom the "context" in order to create new statements. This context can be provided, for instance, byThreadLocalTransactionProviderautomatically.- Specified by:
transactionin interfaceDSLContext- Parameters:
transactional- The transactional code
-
transaction
public void transaction(TransactionalRunnable transactional)
Description copied from interface:DSLContextRun aTransactionalRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider().The argument transactional code should not capture any scope but derive its
Configurationfrom theTransactionalCallable.run(Configuration)argument in order to create new statements.- Specified by:
transactionin interfaceDSLContext- Parameters:
transactional- The transactional code
-
transactionAsync
public java.util.concurrent.CompletionStage<java.lang.Void> transactionAsync(TransactionalRunnable transactional)
Description copied from interface:DSLContextRun aTransactionalRunnableasynchronously.The
TransactionRunnableis run in the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and returns thetransactional's outcome in a newCompletionStagethat is asynchronously completed by a task run by anExecutorprovided by the underlyingScope.configuration()'sConfiguration.executorProvider().- Specified by:
transactionAsyncin interfaceDSLContext- Parameters:
transactional- The transactional code
-
transactionAsync
public java.util.concurrent.CompletionStage<java.lang.Void> transactionAsync(java.util.concurrent.Executor executor, TransactionalRunnable transactional)Description copied from interface:DSLContextRun aTransactionalRunnableasynchronously.The
TransactionRunnableis run in the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and returns thetransactional's outcome in a newCompletionStagethat is asynchronously completed by a task run by a givenExecutor.- Specified by:
transactionAsyncin interfaceDSLContexttransactional- The transactional code
-
transactionResultAsync
public <T> java.util.concurrent.CompletionStage<T> transactionResultAsync(TransactionalCallable<T> transactional)
Description copied from interface:DSLContextRun aTransactionalCallableasynchronously.The
TransactionCallableis run in the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and returns thetransactional's outcome in a newCompletionStagethat is asynchronously completed by a task run by anExecutorprovided by the underlyingScope.configuration()'sConfiguration.executorProvider().- Specified by:
transactionResultAsyncin interfaceDSLContext- Parameters:
transactional- The transactional code- Returns:
- The transactional outcome
-
transactionResultAsync
public <T> java.util.concurrent.CompletionStage<T> transactionResultAsync(java.util.concurrent.Executor executor, TransactionalCallable<T> transactional)Description copied from interface:DSLContextRun aTransactionalCallableasynchronously.The
TransactionCallableis run in the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.transactionProvider(), and returns thetransactional's outcome in a newCompletionStagethat is asynchronously completed by a task run by a givenExecutor.- Specified by:
transactionResultAsyncin interfaceDSLContexttransactional- The transactional code- Returns:
- The transactional outcome
-
connectionResult
public <T> T connectionResult(ConnectionCallable<T> callable)
Description copied from interface:DSLContextRun aConnectionCallablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.connectionProvider().- Specified by:
connectionResultin interfaceDSLContext- Parameters:
callable- The code running statements against theconnection.- Returns:
- The outcome of the callable
-
connection
public void connection(ConnectionRunnable runnable)
Description copied from interface:DSLContextRun aConnectionRunnablein the context of thisDSLContext's underlyingScope.configuration()'sConfiguration.connectionProvider().- Specified by:
connectionin interfaceDSLContext- Parameters:
runnable- The code running statements against theconnection.
-
mockResult
public <T> T mockResult(MockDataProvider provider, MockCallable<T> mockable)
Description copied from interface:DSLContextRun aMockRunnablein the context of thisDSLContext's underlyingScope.configuration()'s, and of aMockDataProviderand return themockable's outcome.- Specified by:
mockResultin interfaceDSLContext
-
mock
public void mock(MockDataProvider provider, MockRunnable mockable)
Description copied from interface:DSLContextRun aMockRunnablein the context of thisDSLContext's underlyingScope.configuration()'s, and of aMockDataProvider.- Specified by:
mockin interfaceDSLContext
-
renderContext
public RenderContext renderContext()
Description copied from interface:DSLContextGet a newRenderContextfor the context of thisDSLContext.This will return an initialised render context as such:
-
RenderContext.castMode()==DEFAULT -
Context.declareFields()== false -
Context.declareTables()== false -
RenderContext.format()== false -
RenderContext.paramType()==ParamType.INDEXED -
RenderContext.qualify()== true -
Context.subquery()== false
- Specified by:
renderContextin interfaceDSLContext
-
-
render
public java.lang.String render(QueryPart part)
Description copied from interface:DSLContextRender a QueryPart in the context of thisDSLContext.This is the same as calling
renderContext().render(part)- Specified by:
renderin interfaceDSLContext- Parameters:
part- TheQueryPartto be rendered- Returns:
- The rendered SQL
-
renderNamedParams
public java.lang.String renderNamedParams(QueryPart part)
Description copied from interface:DSLContextRender a QueryPart in the context of thisDSLContext, rendering bind variables as named parameters.This is the same as calling
renderContext().paramType(NAMED).render(part)- Specified by:
renderNamedParamsin interfaceDSLContext- Parameters:
part- TheQueryPartto be rendered- Returns:
- The rendered SQL
-
renderNamedOrInlinedParams
public java.lang.String renderNamedOrInlinedParams(QueryPart part)
Description copied from interface:DSLContextRender a QueryPart in the context of thisDSLContext, rendering bind variables as named parameters, or inlined parameters if they have no name.This is the same as calling
renderContext().paramType(NAMED_OR_INLINED).render(part)- Specified by:
renderNamedOrInlinedParamsin interfaceDSLContext- Parameters:
part- TheQueryPartto be rendered- Returns:
- The rendered SQL
-
renderInlined
public java.lang.String renderInlined(QueryPart part)
Description copied from interface:DSLContextRender a QueryPart in the context of thisDSLContext, inlining all bind variables.This is the same as calling
renderContext().inline(true).render(part)- Specified by:
renderInlinedin interfaceDSLContext- Parameters:
part- TheQueryPartto be rendered- Returns:
- The rendered SQL
-
extractBindValues
public java.util.List<java.lang.Object> extractBindValues(QueryPart part)
Description copied from interface:DSLContextRetrieve the bind values that will be bound by a givenQueryPart.The returned
Listis immutable. To modify bind values, useDSLContext.extractParams(QueryPart)instead.Unlike
DSLContext.extractParams(QueryPart), which returns also inlined parameters, this returns only actual bind values that will render an actual bind value as a question mark"?"- Specified by:
extractBindValuesin interfaceDSLContext
-
extractParams
public java.util.Map<java.lang.String,Param<?>> extractParams(QueryPart part)
Description copied from interface:DSLContextGet aMapof named parameters.The
Mapitself is immutable, but theParamelements allow for modifying bind values on an existingQuery(or any otherQueryPart).Bind values created with
DSL.val(Object)will have their bind index as name.- Specified by:
extractParamsin interfaceDSLContext- See Also:
Param,DSL.param(String, Object)
-
extractParam
public Param<?> extractParam(QueryPart part, java.lang.String name)
Description copied from interface:DSLContextGet a named parameter from aQueryPart, provided its name.Bind values created with
DSL.val(Object)will have their bind index as name.- Specified by:
extractParamin interfaceDSLContext- See Also:
Param,DSL.param(String, Object)
-
bindContext
public BindContext bindContext(java.sql.PreparedStatement stmt)
Description copied from interface:DSLContextGet a newBindContextfor the context of thisDSLContext.This will return an initialised bind context as such:
Context.declareFields()== falseContext.declareTables()== false
BindContext for JOOQ INTERNAL USE only. Avoid referencing it directly
- Specified by:
bindContextin interfaceDSLContext
-
bind
@Deprecated public int bind(QueryPart part, java.sql.PreparedStatement stmt)
Deprecated.- Specified by:
bindin interfaceDSLContext
-
attach
public void attach(Attachable... attachables)
Description copied from interface:DSLContextAttach thisDSLContext's underlyingScope.configuration()to some attachables.- Specified by:
attachin interfaceDSLContext
-
attach
public void attach(java.util.Collection<? extends Attachable> attachables)
Description copied from interface:DSLContextAttach thisDSLContext's underlyingScope.configuration()to some attachables.- Specified by:
attachin interfaceDSLContext
-
loadInto
public <R extends Record> LoaderOptionsStep<R> loadInto(Table<R> table)
Description copied from interface:DSLContextCreate a newLoaderobject to load data from a CSV or XML source.- Specified by:
loadIntoin interfaceDSLContext
-
queries
public Queries queries(Query... queries)
Description copied from interface:DSLContextWrap a collection of queries.- Specified by:
queriesin interfaceDSLContext- See Also:
DSL.queries(Query...)
-
queries
public Queries queries(java.util.Collection<? extends Query> queries)
Description copied from interface:DSLContextWrap a collection of queries.- Specified by:
queriesin interfaceDSLContext- See Also:
DSL.queries(Collection)
-
begin
public Block begin(Statement... statements)
Description copied from interface:DSLContextWrap a collection of statements in an anonymous procedural block.- Specified by:
beginin interfaceDSLContext- See Also:
DSL.begin(Statement...)
-
begin
public Block begin(java.util.Collection<? extends Statement> statements)
Description copied from interface:DSLContextWrap a collection of statements in an anoymous procedural block.- Specified by:
beginin interfaceDSLContext- See Also:
DSL.begin(Collection)
-
statements
@Pro public Block statements(Statement... statements)
Description copied from interface:DSLContextWrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN .. END;, unless explicitly needed.- Specified by:
statementsin interfaceDSLContext- See Also:
DSL.statements(Statement...)
-
statements
@Pro public Block statements(java.util.Collection<? extends Statement> statements)
Description copied from interface:DSLContextWrap a collection of statements in an anonymous procedural block that does not wrap inBEGIN .. END;, unless explicitly needed.- Specified by:
statementsin interfaceDSLContext- See Also:
DSL.statements(Collection)
-
query
public RowCountQuery query(SQL sql)
Description copied from interface:DSLContextCreate 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!
- Specified by:
queryin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
-
query
public RowCountQuery query(java.lang.String sql)
Description copied from interface:DSLContextCreate 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!
- Specified by:
queryin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- A query wrapping the plain SQL
- See Also:
SQL
-
query
public RowCountQuery query(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextCreate 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!
- Specified by:
queryin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- A query wrapping the plain SQL
- See Also:
SQL,DSL.sql(String, Object...)
-
query
public RowCountQuery query(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextCreate a new query holding plain SQL.Unlike
DSLContext.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 SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
queryin interfaceDSLContext- 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,DSL.sql(String, QueryPart...)
-
fetch
public Result<Record> fetch(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query. This will never be
null. - See Also:
SQL
-
fetch
public Result<Record> fetch(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query. This will never be
null. - See Also:
SQL
-
fetch
public Result<Record> fetch(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results from the executed query. This will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetch
public Result<Record> fetch(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetch(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 fetch("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results from the executed query. This will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchLazy
public Cursor<Record> fetchLazy(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Cursorholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The cursor. This will never be
null. - See Also:
SQL
-
fetchLazy
public Cursor<Record> fetchLazy(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Cursorholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The cursor. This will never be
null. - See Also:
SQL
-
fetchLazy
public Cursor<Record> fetchLazy(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
The returned
Cursorholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The cursor. This will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchLazy
public Cursor<Record> fetchLazy(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Cursorholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.Unlike
DSLContext.fetchLazy(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 fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The cursor. This will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(SQL sql)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().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!
- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().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!
- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().Unlike
DSLContext.fetchLazy(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 fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, SQL sql)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.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!
- Specified by:
fetchAsyncin interfaceDSLContextsql- The SQL- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.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!
- Specified by:
fetchAsyncin interfaceDSLContextsql- The SQL- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchAsyncin interfaceDSLContextsql- The SQLbindings- The bindings- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.Unlike
DSLContext.fetchLazy(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 fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchAsyncin interfaceDSLContextsql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The completion stage. The completed result will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Streamholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query. This is never
null, even if the database returns noResultSet - See Also:
SQL
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Streamholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query. This is never
null, even if the database returns noResultSet - See Also:
SQL
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
The returned
Streamholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.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!
- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results from the executed query. This is never
null, even if the database returns noResultSet - See Also:
SQL,DSL.sql(String, Object...)
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL and "lazily" return the generated result.The returned
Streamholds a reference to the executedPreparedStatementand the associatedResultSet. Data can be fetched (or iterated over) lazily, fetching records from theResultSetone by one.Unlike
DSLContext.fetchStream(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 fetchLazy("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results from the executed query. This is never
null, even if the database returns noResultSet - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchMany
public Results fetchMany(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL, possibly returning several result sets.Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
- Specified by:
fetchManyin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results. This will never be
null. - See Also:
SQL
-
fetchMany
public Results fetchMany(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL, possibly returning several result sets.Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
- Specified by:
fetchManyin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results. This will never be
null. - See Also:
SQL
-
fetchMany
public Results fetchMany(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL, possibly returning several result sets.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Sybase ASE):
String sql = "sp_help 'my_table'";
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
- Specified by:
fetchManyin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results. This will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchMany
public Results fetchMany(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL, possibly returning several result sets.Unlike
DSLContext.fetchMany(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 fetchMany("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchManyin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results. This will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchOne
public Record fetchOne(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOnein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The record or
null, if no record was found. - See Also:
SQL
-
fetchOne
public Record fetchOne(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOnein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The record or
null, if no record was found. - See Also:
SQL
-
fetchOne
public Record fetchOne(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchOnein interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The record or
null, if no record was found. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchOne
public Record fetchOne(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchOne(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchOnein interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The record or
null, if no record was found. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchSingle
public Record fetchSingle(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The record. This is never
null. - See Also:
SQL
-
fetchSingle
public Record fetchSingle(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The record. This is never
null. - See Also:
SQL
-
fetchSingle
public Record fetchSingle(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The record. This is never
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchSingle
public Record fetchSingle(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchOne(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The record. This is never
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchOptional
public java.util.Optional<Record> fetchOptional(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query
- See Also:
SQL
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query
- See Also:
SQL
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, Object...)
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchOne(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchValue
public java.lang.Object fetchValue(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchValuein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The value or
null, if no record was found. - See Also:
SQL
-
fetchValue
public java.lang.Object fetchValue(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchValuein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The value or
null, if no record was found. - See Also:
SQL
-
fetchValue
public java.lang.Object fetchValue(java.lang.String sql, java.lang.Object... bindings)Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchValuein interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The value or
null, if no record was found. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchValue
public java.lang.Object fetchValue(java.lang.String sql, QueryPart... parts)Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchValue(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchValuein interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The value or
null, if no record was found. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchOptionalValue
public java.util.Optional<?> fetchOptionalValue(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The result value from the executed query
- See Also:
SQL
-
fetchOptionalValue
public java.util.Optional<?> fetchOptionalValue(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The result value from the executed query
- See Also:
SQL
-
fetchOptionalValue
public java.util.Optional<?> fetchOptionalValue(java.lang.String sql, java.lang.Object... bindings)Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, Object...)
-
fetchOptionalValue
public java.util.Optional<?> fetchOptionalValue(java.lang.String sql, QueryPart... parts)Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchValue(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, QueryPart...)
-
fetchValues
public java.util.List<?> fetchValues(SQL sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The values. This will never be
null. - See Also:
SQL
-
fetchValues
public java.util.List<?> fetchValues(java.lang.String sql)
Description copied from interface:DSLContextExecute a new query holding plain SQL.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!
- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The values. This will never be
null. - See Also:
SQL
-
fetchValues
public java.util.List<?> fetchValues(java.lang.String sql, java.lang.Object... bindings)Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
Example (Postgres):
Example (SQLite):String sql = "FETCH ALL IN \"<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!
- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The values. This will never be
null. - See Also:
SQL,DSL.sql(String, Object...)
-
fetchValues
public java.util.List<?> fetchValues(java.lang.String sql, QueryPart... parts)Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.fetchValue(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 fetchOne("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The values. This will never be
null. - See Also:
SQL,DSL.sql(String, QueryPart...)
-
execute
public int execute(SQL sql)
Description copied from interface:DSLContextExecute a query holding plain 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!
- Specified by:
executein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query
- See Also:
SQL
-
execute
public int execute(java.lang.String sql)
Description copied from interface:DSLContextExecute a query holding plain 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!
- Specified by:
executein interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- The results from the executed query
- See Also:
SQL
-
execute
public int execute(java.lang.String sql, java.lang.Object... bindings)Description copied from interface:DSLContextExecute a new query holding plain SQL.There must be as many bind variables contained in the SQL, as passed in the bindings parameter
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
- Specified by:
executein interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, Object...)
-
execute
public int execute(java.lang.String sql, QueryPart... parts)Description copied from interface:DSLContextExecute a new query holding plain SQL.Unlike
DSLContext.execute(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 execute("select {0}, {1} from {2}", val(1), inline("test"), name("DUAL")); // Will execute this SQL by default, using SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
executein interfaceDSLContext- Parameters:
sql- The SQL clause, containing {numbered placeholders} where query parts can be injectedparts- TheQueryPartobjects that are rendered at the {numbered placeholder} locations- Returns:
- The results from the executed query
- See Also:
SQL,DSL.sql(String, QueryPart...)
-
resultQuery
public ResultQuery<Record> resultQuery(SQL sql)
Description copied from interface:DSLContextCreate 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!
- Specified by:
resultQueryin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- An executable query
- See Also:
SQL
-
resultQuery
public ResultQuery<Record> resultQuery(java.lang.String sql)
Description copied from interface:DSLContextCreate 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!
- Specified by:
resultQueryin interfaceDSLContext- Parameters:
sql- The SQL- Returns:
- An executable query
- See Also:
SQL
-
resultQuery
public ResultQuery<Record> resultQuery(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextCreate 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!
- Specified by:
resultQueryin interfaceDSLContext- Parameters:
sql- The SQLbindings- The bindings- Returns:
- A query wrapping the plain SQL
- See Also:
SQL,DSL.sql(String, Object...)
-
resultQuery
public ResultQuery<Record> resultQuery(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextCreate a new query holding plain SQL.Unlike
DSLContext.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 SQLDialect.ORACLE: select ?, 'test' from "DUAL"NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses! One way to escape literals is to use
DSL.name(String...)and similar methods- Specified by:
resultQueryin interfaceDSLContext- 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,DSL.sql(String, QueryPart...)
-
fetch
public Result<Record> fetch(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch all data from a JDBCResultSetand transform it to a jOOQResult.After fetching all data, the JDBC ResultSet will be closed.
Use
DSLContext.fetchLazy(ResultSet), to fetch oneRecordat a time, instead of load the entireResultSetinto a jOOQResultat once.- Specified by:
fetchin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The resulting jOOQ Result. This will never be
null.
-
fetch
public Result<Record> fetch(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch all data from a JDBCResultSetand transform it to a jOOQResult.After fetching all data, the JDBC ResultSet will be closed.
Use
DSLContext.fetchLazy(ResultSet), to fetch oneRecordat a time, instead of load the entireResultSetinto a jOOQResultat once.The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The resulting jOOQ Result. This will never be
null.
-
fetch
public Result<Record> fetch(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch all data from a JDBCResultSetand transform it to a jOOQResult.After fetching all data, the JDBC ResultSet will be closed.
Use
DSLContext.fetchLazy(ResultSet), to fetch oneRecordat a time, instead of load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting jOOQ Result. This will never be
null.
-
fetch
public Result<Record> fetch(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch all data from a JDBCResultSetand transform it to a jOOQResult.After fetching all data, the JDBC ResultSet will be closed.
Use
DSLContext.fetchLazy(ResultSet), to fetch oneRecordat a time, instead of load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting jOOQ Result. This will never be
null.
-
fetchOne
public Record fetchOne(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
- Specified by:
fetchOnein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The record or
null, if no record was found.
-
fetchOne
public Record fetchOne(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchOnein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The record or
null, if no record was found.
-
fetchOne
public Record fetchOne(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOnein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The record or
null, if no record was found.
-
fetchOne
public Record fetchOne(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOnein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The record. This is never
null.
-
fetchSingle
public Record fetchSingle(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The record or
null, if no record was found.
-
fetchSingle
public Record fetchSingle(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The record. This is never
null.
-
fetchSingle
public Record fetchSingle(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The record. This is never
null.
-
fetchSingle
public Record fetchSingle(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The record. This is never
null.
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The resulting jOOQ record
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The resulting jOOQ record
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting jOOQ record
-
fetchOptional
public java.util.Optional<Record> fetchOptional(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand transform it to a jOOQRecord.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting jOOQ record
-
fetchValue
public java.lang.Object fetchValue(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
- Specified by:
fetchValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T> T fetchValue(java.sql.ResultSet rs, Field<T> field)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
fieldargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfield- The field to use in the desired output- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T> T fetchValue(java.sql.ResultSet rs, DataType<T> type)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data type to use in the desired output- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T> T fetchValue(java.sql.ResultSet rs, java.lang.Class<T> type)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data types to use in the desired output- Returns:
- The value or
null, if no record was found.
-
fetchOptionalValue
public java.util.Optional<?> fetchOptionalValue(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The resulting value
-
fetchOptionalValue
public <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, Field<T> field)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
fieldargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfield- The field to use in the desired output- Returns:
- The resulting value
-
fetchOptionalValue
public <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, DataType<T> type)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data type to use in the desired output- Returns:
- The resulting value
-
fetchOptionalValue
public <T> java.util.Optional<T> fetchOptionalValue(java.sql.ResultSet rs, java.lang.Class<T> type)Description copied from interface:DSLContextFetch a record from a JDBCResultSetand return the only contained value.This will internally fetch all records and throw an exception if there was more than one resulting record.
The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data types to use in the desired output- Returns:
- The resulting value
-
fetchValues
public java.util.List<?> fetchValues(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch a result from a JDBCResultSetand return the only contained column's values.- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The values. This will never be
null.
-
fetchValues
public <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, Field<T> field)Description copied from interface:DSLContextFetch a result from a JDBCResultSetand return the only contained column's values.The additional
fieldargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfield- The field to use in the desired output- Returns:
- The values. This will never be
null.
-
fetchValues
public <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, DataType<T> type)Description copied from interface:DSLContextFetch a result from a JDBCResultSetand return the only contained column's values.The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data type to use in the desired output- Returns:
- The values. This will never be
null.
-
fetchValues
public <T> java.util.List<T> fetchValues(java.sql.ResultSet rs, java.lang.Class<T> type)Description copied from interface:DSLContextFetch a result from a JDBCResultSetand return the only contained column's values.The additional
typeargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtype- The data types to use in the desired output- Returns:
- The values. This will never be
null.
-
fetchLazy
public Cursor<Record> fetchLazy(java.sql.ResultSet rs)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQCursor.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public Cursor<Record> fetchLazy(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQCursor.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public Cursor<Record> fetchLazy(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQCursor.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public Cursor<Record> fetchLazy(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQCursor.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The cursor. This will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.- Specified by:
fetchAsyncin interfaceDSLContextrs- The JDBC ResultSet to fetch data from- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContextrs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContextrs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public java.util.concurrent.CompletionStage<Result<Record>> fetchAsync(java.util.concurrent.Executor executor, java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchAsyncin interfaceDSLContextrs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The completion stage. The completed result will never be
null.
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQStream.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data from- Returns:
- The resulting stream
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, Field<?>... fields)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQStream.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
fieldsargument is used by jOOQ to coerce field names and data types to the desired output- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromfields- The fields to use in the desired output- Returns:
- The resulting stream
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, DataType<?>... types)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQStream.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting stream
-
fetchStream
public java.util.stream.Stream<Record> fetchStream(java.sql.ResultSet rs, java.lang.Class<?>... types)
Description copied from interface:DSLContextWrap a JDBCResultSetinto a jOOQStream.Use
DSLContext.fetch(ResultSet), to load the entireResultSetinto a jOOQResultat once.The additional
typesargument is used by jOOQ to coerce data types to the desired output- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
rs- The JDBC ResultSet to fetch data fromtypes- The data types to use in the desired output- Returns:
- The resulting stream
-
fetchFromTXT
public Result<Record> fetchFromTXT(java.lang.String string)
Description copied from interface:DSLContextFetch all data from a formatted string.The supplied string is supposed to be formatted in a human-readable way. This is the same as calling
fetchFromTXT(string, "{null}")- Specified by:
fetchFromTXTin interfaceDSLContext- Parameters:
string- The formatted string- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromTXT(String, String)
-
fetchFromTXT
public Result<Record> fetchFromTXT(java.lang.String string, java.lang.String nullLiteral)
Description copied from interface:DSLContextFetch all data from a formatted string.This method supports parsing results from two types of human-readable formats:
The jOOQ
Formattable.format()This format is recognised by the fact that the first line starts with a "plus" sign:
This method will decode the above formatted string according to the following rules:+-----+-----+--------------------------+ |COL1 |COL2 |COL3 containing whitespace| +-----+-----+--------------------------+ |val1 |1 |some text | |val2 | 2 | more text | +-----+-----+--------------------------+
- The number of columns is defined by the number of dash groups in the first line. Groups are separated by exactly one "plus" sign
- The column types are
VARCHAR(N)whereN = number of dashes per dash group - The column names are defined by the trimmed text contained in the second row
- The data is defined by the trimmed text contained in the subsequent rows
The H2 database test data format
The supplied string is supposed to be formatted in the following, human-readable way:
This method will decode the above formatted string according to the following rules:COL1 COL2 COL3 containing whitespace ----- ---- -------------------------- val1 1 some text val2 2 more text
- The number of columns is defined by the number of dash groups in the second line. Groups are separated by space(s)
- The column types are
VARCHAR(N)whereN = number of dashes per dash group - The column names are defined by the trimmed text contained in the first row
- The data is defined by the trimmed text contained in the subsequent rows
Both parsing methods
Both parsing methods make no assumption about the resulting data types. Instead, all data is string-based.
- Specified by:
fetchFromTXTin interfaceDSLContext- Parameters:
string- The formatted stringnullLiteral- The string literal to be used asnullvalue.- Returns:
- The transformed result. This will never be
null.
-
fetchFromHTML
public Result<Record> fetchFromHTML(java.lang.String string)
Description copied from interface:DSLContextConvert an HTML table into a jOOQResult.This is the inverse operation of
Formattable.formatHTML(). It works according to the following parsing rules:- The input is expected to be well-formed XML. XHTML conformance is not
required - i.e. unknown elements / attributes, or elements / attributes
not specified here, such as
<caption>,<thead>,<tbody>are simply ignored. - The surrounding
<table>element is optional, but it may appear only once - A single row containing table headings
<th>is allowed. Further rows containing table headings are ignored. Table headings define field names. In the absence of table headings, field names are generated. - The first row
<tr>specifies the number of columns in the table (regardless if it contains table headings or not). Subsequent rows containing less columns will be padded. Subsequent rows containing more columns will be truncated. - Comments are ignored
- Nested tables are not supported
Ideal input looks like this:
<table> <tr><th>COL1</th><th>COL2</th></tr> <tr><td>1</td><td>a</td></tr> <tr><td>2</td><td>b</td></tr> </table>
- Specified by:
fetchFromHTMLin interfaceDSLContext- Parameters:
string- The HTML-formatted string.- Returns:
- The transformed result. This will never be
null.
- The input is expected to be well-formed XML. XHTML conformance is not
required - i.e. unknown elements / attributes, or elements / attributes
not specified here, such as
-
fetchFromCSV
public Result<Record> fetchFromCSV(java.lang.String string)
Description copied from interface:DSLContextFetch all data from a CSV string.This is the same as calling
fetchFromCSV(string, ',')and the inverse of callingFormattable.formatCSV(). The first row of the CSV data is required to hold field name information. Subsequent rows may contain data, which is interpreted asString. Use the various conversion methods to retrieve other data types from theResult:Result.getValues(Field, Class)Result.getValues(int, Class)Result.getValues(String, Class)Result.getValues(Field, Converter)Result.getValues(int, Converter)Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromCSVin interfaceDSLContext- Parameters:
string- The CSV string- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromCSV(String, char)
-
fetchFromCSV
public Result<Record> fetchFromCSV(java.lang.String string, char delimiter)
Description copied from interface:DSLContextFetch all data from a CSV string.This is inverse of calling
Formattable.formatCSV(char). The first row of the CSV data is required to hold field name information. Subsequent rows may contain data, which is interpreted asString. Use the various conversion methods to retrieve other data types from theResult:Result.getValues(Field, Class)Result.getValues(int, Class)Result.getValues(String, Class)Result.getValues(Field, Converter)Result.getValues(int, Converter)Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromCSVin interfaceDSLContext- Parameters:
string- The CSV stringdelimiter- The delimiter to expect between records- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromCSV(String),DSLContext.fetchFromStringData(List)
-
fetchFromCSV
public Result<Record> fetchFromCSV(java.lang.String string, boolean header)
Description copied from interface:DSLContextFetch all data from a CSV string.This is the same as calling
fetchFromCSV(string, ',')and the inverse of callingFormattable.formatCSV(boolean). Rows may contain data, which is interpreted asString. Use the various conversion methods to retrieve other data types from theResult:Result.getValues(Field, Class)Result.getValues(int, Class)Result.getValues(String, Class)Result.getValues(Field, Converter)Result.getValues(int, Converter)Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromCSVin interfaceDSLContext- Parameters:
string- The CSV stringheader- Whether to parse the first line as a CSV header line- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromCSV(String, char)
-
fetchFromCSV
public Result<Record> fetchFromCSV(java.lang.String string, boolean header, char delimiter)
Description copied from interface:DSLContextFetch all data from a CSV string.This is inverse of calling
Formattable.formatCSV(boolean, char). Rows may contain data, which are interpreted asString. Use the various conversion methods to retrieve other data types from theResult:Result.getValues(Field, Class)Result.getValues(int, Class)Result.getValues(String, Class)Result.getValues(Field, Converter)Result.getValues(int, Converter)Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromCSVin interfaceDSLContext- Parameters:
string- The CSV stringheader- Whether to parse the first line as a CSV header linedelimiter- The delimiter to expect between records- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromCSV(String),DSLContext.fetchFromStringData(List)
-
fetchFromJSON
public Result<Record> fetchFromJSON(java.lang.String string)
Description copied from interface:DSLContextFetch all data from a JSON string.This is the inverse of calling
Formattable.formatJSON(). Use the various conversion methods to retrieve other data types from theResult:-
Result.getValues(Field, Class) -
Result.getValues(int, Class) -
Result.getValues(String, Class) -
Result.getValues(Field, Converter) -
Result.getValues(int, Converter) -
Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromJSONin interfaceDSLContext- Parameters:
string- The JSON string- Returns:
- The transformed result. This will never be
null.
-
-
fetchFromXML
public Result<Record> fetchFromXML(java.lang.String string)
Description copied from interface:DSLContextFetch all data from an XML string.This is the inverse of calling
Formattable.formatXML(). Use the various conversion methods to retrieve other data types from theResult:-
Result.getValues(Field, Class) -
Result.getValues(int, Class) -
Result.getValues(String, Class) -
Result.getValues(Field, Converter) -
Result.getValues(int, Converter) -
Result.getValues(String, Converter)
Missing values result in
null. Empty values result in emptyStrings- Specified by:
fetchFromXMLin interfaceDSLContext- Parameters:
string- The XML string- Returns:
- The transformed result. This will never be
null.
-
-
fetchFromStringData
public Result<Record> fetchFromStringData(java.lang.String[]... strings)
Description copied from interface:DSLContextFetch all data from a list of strings.This is used by methods such as
The first element of the argument list should contain column names. Subsequent elements contain actual data. The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull.- Specified by:
fetchFromStringDatain interfaceDSLContext- Parameters:
strings- The data to be transformed into aResult- Returns:
- The transformed result. This will never be
null. - See Also:
DSLContext.fetchFromStringData(List)
-
fetchFromStringData
public Result<Record> fetchFromStringData(java.util.List<java.lang.String[]> strings)
Description copied from interface:DSLContextFetch all data from a list of strings.This is used by methods such as
The first element of the argument list should contain column names. Subsequent elements contain actual data. The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull.- Specified by:
fetchFromStringDatain interfaceDSLContext- Parameters:
strings- The data to be transformed into aResult- Returns:
- The transformed result. This will never be
null.
-
fetchFromStringData
public Result<Record> fetchFromStringData(java.util.List<java.lang.String[]> strings, boolean header)
Description copied from interface:DSLContextFetch all data from a list of strings.This is used by methods such as
The degree of all arrays contained in the argument should be the same, although this is not a requirement. jOOQ will ignore excess data, and fill missing data withnull.- Specified by:
fetchFromStringDatain interfaceDSLContext- Parameters:
strings- The data to be transformed into aResultheader- Whether to interpret the first line as a set of column names.- Returns:
- The transformed result. This will never be
null.
-
with
public WithAsStep with(java.lang.String alias)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String)for strictly non-recursive CTE andDSLContext.withRecursive(String)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep with(java.lang.String alias, java.lang.String... fieldAliases)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep with(Name alias)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(Name)for strictly non-recursive CTE andDSLContext.withRecursive(Name)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep with(Name alias, Name... fieldAliases)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(Name, Name...)for strictly non-recursive CTE andDSLContext.withRecursive(Name, Name...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep with(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.This works in a similar way as
DSLContext.with(String, String...), except that all column names are produced by a function that receives the CTE'sSelectcolumns as input.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep with(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.This works in a similar way as
DSLContext.with(String, String...), except that all column names are produced by a function that receives the CTE'sSelectcolumns and their column indexes as input.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep1 with(java.lang.String alias, java.lang.String fieldAlias1)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep2 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep3 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep4 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep5 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep6 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep7 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep8 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep9 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep10 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep11 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep12 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep13 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep14 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep15 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep16 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep17 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep18 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep19 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep20 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep21 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep22 with(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep1 with(Name alias, Name fieldAlias1)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep2 with(Name alias, Name fieldAlias1, Name fieldAlias2)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep3 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep4 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep5 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep6 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep7 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep8 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep9 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithAsStep10 with(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
with
public WithStep with(CommonTableExpression<?>... tables)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(CommonTableExpression...)for strictly non-recursive CTE andDSLContext.withRecursive(CommonTableExpression...)for strictly recursive CTE.- Specified by:
within interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(java.lang.String alias)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String)for strictly non-recursive CTE andDSLContext.withRecursive(String)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(java.lang.String alias, java.lang.String... fieldAliases)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(Name alias)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(Name)for strictly non-recursive CTE andDSLContext.withRecursive(Name)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(Name alias, Name... fieldAliases)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(Name, Name...)for strictly non-recursive CTE andDSLContext.withRecursive(Name, Name...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(java.lang.String alias, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.This works in a similar way as
DSLContext.with(String, String...), except that all column names are produced by a function that receives the CTE'sSelectcolumns as input.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep withRecursive(java.lang.String alias, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.This works in a similar way as
DSLContext.with(String, String...), except that all column names are produced by a function that receives the CTE'sSelectcolumns and their column indexes as input.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep1 withRecursive(java.lang.String alias, java.lang.String fieldAlias1)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep2 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep3 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep4 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep5 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep6 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep7 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep8 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep9 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep10 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep11 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep12 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep13 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep14 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep15 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep16 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep17 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep18 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep19 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep20 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep21 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep22 withRecursive(java.lang.String alias, java.lang.String fieldAlias1, java.lang.String fieldAlias2, java.lang.String fieldAlias3, java.lang.String fieldAlias4, java.lang.String fieldAlias5, java.lang.String fieldAlias6, java.lang.String fieldAlias7, java.lang.String fieldAlias8, java.lang.String fieldAlias9, java.lang.String fieldAlias10, java.lang.String fieldAlias11, java.lang.String fieldAlias12, java.lang.String fieldAlias13, java.lang.String fieldAlias14, java.lang.String fieldAlias15, java.lang.String fieldAlias16, java.lang.String fieldAlias17, java.lang.String fieldAlias18, java.lang.String fieldAlias19, java.lang.String fieldAlias20, java.lang.String fieldAlias21, java.lang.String fieldAlias22)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep1 withRecursive(Name alias, Name fieldAlias1)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep2 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep3 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep4 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep5 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep6 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep7 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep8 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep9 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithAsStep10 withRecursive(Name alias, Name fieldAlias1, Name fieldAlias2, Name fieldAlias3, Name fieldAlias4, Name fieldAlias5, Name fieldAlias6, Name fieldAlias7, Name fieldAlias8, Name fieldAlias9, Name fieldAlias10)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public 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)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(String, String...)for strictly non-recursive CTE andDSLContext.withRecursive(String, String...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
withRecursive
public WithStep withRecursive(CommonTableExpression<?>... tables)
Description copied from interface:DSLContextCreate 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 useDSLContext.with(CommonTableExpression...)for strictly non-recursive CTE andDSLContext.withRecursive(CommonTableExpression...)for strictly recursive CTE.- Specified by:
withRecursivein interfaceDSLContext
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
- Specified by:
selectFromin interfaceDSLContext
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(Name table)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
- Specified by:
selectFromin interfaceDSLContext- See Also:
DSL.table(Name)
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(SQL sql)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
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!
- Specified by:
selectFromin interfaceDSLContext- See Also:
DSL.table(SQL),SQL
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(java.lang.String sql)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
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!
- Specified by:
selectFromin interfaceDSLContext- See Also:
DSL.table(String),DSL.sql(String),SQL
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(java.lang.String sql, java.lang.Object... bindings)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
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!
- Specified by:
selectFromin interfaceDSLContext- See Also:
DSL.table(String, Object...),DSL.sql(String, Object...),SQL
-
selectFrom
public <R extends Record> SelectWhereStep<R> selectFrom(java.lang.String sql, QueryPart... parts)
Description copied from interface:DSLContextCreate a new DSL select statement.Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
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!
- Specified by:
selectFromin interfaceDSLContext- See Also:
DSL.table(String, QueryPart...),DSL.sql(String, QueryPart...),SQL
-
select
public SelectSelectStep<Record> select(java.util.Collection<? extends SelectFieldOrAsterisk> fields)
Description copied from interface:DSLContextCreate a new DSL select statement.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(Collection)instead.Example:
DSLContext create = DSL.using(configuration); create.select(fields) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);Note that passing an empty collection conveniently produces
SELECT *semantics, i.e. it:- 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
- Specified by:
selectin interfaceDSLContext- See Also:
DSL.select(Collection)
- Renders
-
select
public SelectSelectStep<Record> select(SelectFieldOrAsterisk... fields)
Description copied from interface:DSLContextCreate a new DSL select statement.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectFieldOrAsterisk...)instead.Example:
DSLContext create = DSL.using(configuration); create.select(field1, field2) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2) .execute();Note that passing an empty collection conveniently produces
SELECT *semantics, i.e. it:- 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
- Specified by:
selectin interfaceDSLContext- See Also:
DSL.select(SelectFieldOrAsterisk...)
- Renders
-
select
public <T1> SelectSelectStep<Record1<T1>> select(SelectField<T1> field1)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField)instead.Example:
using(configuration) .select(field1) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2> SelectSelectStep<Record2<T1,T2>> select(SelectField<T1> field1, SelectField<T2> field2)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4> SelectSelectStep<Record4<T1,T2,T3,T4>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, field4) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5> SelectSelectStep<Record5<T1,T2,T3,T4,T5>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, field4, field5) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6> SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field5, field6) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7> SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field6, field7) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8> SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field7, field8) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9> SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field8, field9) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field9, field10) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field10, field11) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field11, field12) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field12, field13) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field13, field14) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field14, field15) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field15, field16) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field16, field17) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field17, field18) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> SelectSelectStep<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field18, field19) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field19, field20) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> SelectSelectStep<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field20, field21) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
select
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> select(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.select(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .select(field1, field2, field3, .., field21, field22) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public SelectSelectStep<Record> selectDistinct(java.util.Collection<? extends SelectFieldOrAsterisk> fields)
Description copied from interface:DSLContextCreate a new DSL select statement.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(Collection)instead.Example:
DSLContext create = DSL.using(configuration); create.selectDistinct(fields) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);Note that passing an empty collection conveniently produces
SELECT DISTINCT *semantics, i.e. it:- 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
- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(Collection)
- Renders
-
selectDistinct
public SelectSelectStep<Record> selectDistinct(SelectFieldOrAsterisk... fields)
Description copied from interface:DSLContextCreate a new DSL select statement.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectFieldOrAsterisk...)instead.Example:
DSLContext create = DSL.using(configuration); create.selectDistinct(field1, field2) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);Note that passing an empty collection conveniently produces
SELECT DISTINCT *semantics, i.e. it:- 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
- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...)
- Renders
-
selectDistinct
public <T1> SelectSelectStep<Record1<T1>> selectDistinct(SelectField<T1> field1)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField)instead.Example:
using(configuration) .selectDistinct(field1) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2> SelectSelectStep<Record2<T1,T2>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3> SelectSelectStep<Record3<T1,T2,T3>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4> SelectSelectStep<Record4<T1,T2,T3,T4>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, field4) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5> SelectSelectStep<Record5<T1,T2,T3,T4,T5>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, field4, field5) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6> SelectSelectStep<Record6<T1,T2,T3,T4,T5,T6>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field5, field6) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7> SelectSelectStep<Record7<T1,T2,T3,T4,T5,T6,T7>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field6, field7) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8> SelectSelectStep<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field7, field8) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9> SelectSelectStep<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field8, field9) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> SelectSelectStep<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field9, field10) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> SelectSelectStep<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field10, field11) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> SelectSelectStep<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field11, field12) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> SelectSelectStep<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field12, field13) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> SelectSelectStep<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field13, field14) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> SelectSelectStep<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field14, field15) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> SelectSelectStep<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field15, field16) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> SelectSelectStep<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field16, field17) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> SelectSelectStep<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field17, field18) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> SelectSelectStep<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field18, field19) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> SelectSelectStep<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field19, field20) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> SelectSelectStep<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field20, field21) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectDistinct
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> SelectSelectStep<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> selectDistinct(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8, SelectField<T9> field9, SelectField<T10> field10, SelectField<T11> field11, SelectField<T12> field12, SelectField<T13> field13, SelectField<T14> field14, SelectField<T15> field15, SelectField<T16> field16, SelectField<T17> field17, SelectField<T18> field18, SelectField<T19> field19, SelectField<T20> field20, SelectField<T21> field21, SelectField<T22> field22)
Description copied from interface:DSLContextCreate a new DSL select statement.This is the same as
DSLContext.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.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectDistinct(SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField, SelectField)instead.Example:
using(configuration) .selectDistinct(field1, field2, field3, .., field21, field22) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectDistinctin interfaceDSLContext- See Also:
DSL.selectDistinct(SelectFieldOrAsterisk...),DSLContext.selectDistinct(SelectFieldOrAsterisk...)
-
selectZero
public SelectSelectStep<Record1<java.lang.Integer>> selectZero()
Description copied from interface:DSLContextCreate a new DSL select statement for a constant0literal.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectZero()instead.Example:
DSLContext create = DSL.using(configuration); create.selectZero() .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectZeroin interfaceDSLContext- See Also:
DSL.zero(),DSL.selectZero()
-
selectOne
public SelectSelectStep<Record1<java.lang.Integer>> selectOne()
Description copied from interface:DSLContextCreate a new DSL select statement for a constant1literal.This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectOne()instead.Example:
DSLContext create = DSL.using(configuration); create.selectOne() .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectOnein interfaceDSLContext- See Also:
DSL.one(),DSL.selectOne()
-
selectCount
public SelectSelectStep<Record1<java.lang.Integer>> selectCount()
Description copied from interface:DSLContextCreate a new DSL select statement forCOUNT(*).This creates an attached, renderable and executable
SELECTstatement from thisDSLContext. If you don't need to render or execute thisSELECTstatement (e.g. because you want to create a subselect), consider using the staticDSL.selectCount()instead.Example:
DSLContext create = DSL.using(configuration); create.selectCount() .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);- Specified by:
selectCountin interfaceDSLContext- See Also:
DSL.selectCount()
-
selectQuery
public SelectQuery<Record> selectQuery()
Description copied from interface:DSLContextCreate a newSelectQuery- Specified by:
selectQueryin interfaceDSLContext
-
selectQuery
public <R extends Record> SelectQuery<R> selectQuery(TableLike<R> table)
Description copied from interface:DSLContextCreate a newSelectQuery- Specified by:
selectQueryin interfaceDSLContext- Parameters:
table- The table to select data from- Returns:
- The new
SelectQuery
-
insertQuery
public <R extends Record> InsertQuery<R> insertQuery(Table<R> into)
Description copied from interface:DSLContextCreate a newInsertQuery- Specified by:
insertQueryin interfaceDSLContext- Parameters:
into- The table to insert data into- Returns:
- The new
InsertQuery
-
insertInto
public <R extends Record> InsertSetStep<R> insertInto(Table<R> into)
Description copied from interface:DSLContextCreate a new DSL insert statement.This type of insert may feel more convenient to some users, as it uses the
UPDATEstatement'sSET a = bsyntax.Example:
DSLContext create = DSL.using(configuration); create.insertInto(table) .set(field1, value1) .set(field2, value2) .newRecord() .set(field1, value3) .set(field2, value4) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1> InsertValuesStep1<R,T1> insertInto(Table<R> into, Field<T1> field1)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1) .values(field1) .values(field1) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2> InsertValuesStep2<R,T1,T2> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2) .values(field1, field2) .values(field1, field2) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3> InsertValuesStep3<R,T1,T2,T3> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3) .values(field1, field2, field3) .values(field1, field2, field3) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4> InsertValuesStep4<R,T1,T2,T3,T4> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, field4) .values(field1, field2, field3, field4) .values(field1, field2, field3, field4) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5> InsertValuesStep5<R,T1,T2,T3,T4,T5> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, field4, field5) .values(field1, field2, field3, field4, field5) .values(field1, field2, field3, field4, field5) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6> InsertValuesStep6<R,T1,T2,T3,T4,T5,T6> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field5, field6) .values(valueA1, valueA2, valueA3, .., valueA5, valueA6) .values(valueB1, valueB2, valueB3, .., valueB5, valueB6) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7> InsertValuesStep7<R,T1,T2,T3,T4,T5,T6,T7> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field6, field7) .values(valueA1, valueA2, valueA3, .., valueA6, valueA7) .values(valueB1, valueB2, valueB3, .., valueB6, valueB7) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> InsertValuesStep8<R,T1,T2,T3,T4,T5,T6,T7,T8> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field7, field8) .values(valueA1, valueA2, valueA3, .., valueA7, valueA8) .values(valueB1, valueB2, valueB3, .., valueB7, valueB8) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> InsertValuesStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field8, field9) .values(valueA1, valueA2, valueA3, .., valueA8, valueA9) .values(valueB1, valueB2, valueB3, .., valueB8, valueB9) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> InsertValuesStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field9, field10) .values(valueA1, valueA2, valueA3, .., valueA9, valueA10) .values(valueB1, valueB2, valueB3, .., valueB9, valueB10) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> InsertValuesStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field10, field11) .values(valueA1, valueA2, valueA3, .., valueA10, valueA11) .values(valueB1, valueB2, valueB3, .., valueB10, valueB11) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> InsertValuesStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field11, field12) .values(valueA1, valueA2, valueA3, .., valueA11, valueA12) .values(valueB1, valueB2, valueB3, .., valueB11, valueB12) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> InsertValuesStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field12, field13) .values(valueA1, valueA2, valueA3, .., valueA12, valueA13) .values(valueB1, valueB2, valueB3, .., valueB12, valueB13) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> InsertValuesStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field13, field14) .values(valueA1, valueA2, valueA3, .., valueA13, valueA14) .values(valueB1, valueB2, valueB3, .., valueB13, valueB14) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> InsertValuesStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field14, field15) .values(valueA1, valueA2, valueA3, .., valueA14, valueA15) .values(valueB1, valueB2, valueB3, .., valueB14, valueB15) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> InsertValuesStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field15, field16) .values(valueA1, valueA2, valueA3, .., valueA15, valueA16) .values(valueB1, valueB2, valueB3, .., valueB15, valueB16) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> InsertValuesStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field16, field17) .values(valueA1, valueA2, valueA3, .., valueA16, valueA17) .values(valueB1, valueB2, valueB3, .., valueB16, valueB17) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> InsertValuesStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field17, field18) .values(valueA1, valueA2, valueA3, .., valueA17, valueA18) .values(valueB1, valueB2, valueB3, .., valueB17, valueB18) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> InsertValuesStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field18, field19) .values(valueA1, valueA2, valueA3, .., valueA18, valueA19) .values(valueB1, valueB2, valueB3, .., valueB18, valueB19) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> InsertValuesStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field19, field20) .values(valueA1, valueA2, valueA3, .., valueA19, valueA20) .values(valueB1, valueB2, valueB3, .., valueB19, valueB20) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> InsertValuesStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field20, field21) .values(valueA1, valueA2, valueA3, .., valueA20, valueA21) .values(valueB1, valueB2, valueB3, .., valueB20, valueB21) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> InsertValuesStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> insertInto(Table<R> into, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
using(configuration) .insertInto(table, field1, field2, field3, .., field21, field22) .values(valueA1, valueA2, valueA3, .., valueA21, valueA22) .values(valueB1, valueB2, valueB3, .., valueB21, valueB22) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record> InsertValuesStepN<R> insertInto(Table<R> into, Field<?>... fields)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
DSLContext create = DSL.using(configuration); create.insertInto(table, field1, field2) .values(value1, value2) .values(value3, value4) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
insertInto
public <R extends Record> InsertValuesStepN<R> insertInto(Table<R> into, java.util.Collection<? extends Field<?>> fields)
Description copied from interface:DSLContextCreate a new DSL insert statement.Example:
DSLContext create = DSL.using(configuration); create.insertInto(table, field1, field2) .values(value1, value2) .values(value3, value4) .onDuplicateKeyUpdate() .set(field1, value1) .set(field2, value2) .execute();- Specified by:
insertIntoin interfaceDSLContext
-
updateQuery
public <R extends Record> UpdateQuery<R> updateQuery(Table<R> table)
Description copied from interface:DSLContextCreate a newUpdateQuery- Specified by:
updateQueryin interfaceDSLContext- Parameters:
table- The table to update data into- Returns:
- The new
UpdateQuery
-
update
public <R extends Record> UpdateSetFirstStep<R> update(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL update statement.Example:
DSLContext create = DSL.using(configuration); create.update(table) .set(field1, value1) .set(field2, value2) .where(field1.greaterThan(100)) .execute();Note that some databases support table expressions more complex than simple table references. In CUBRID and MySQL, for instance, you can write
create.update(t1.join(t2).on(t1.id.eq(t2.id))) .set(t1.value, value1) .set(t2.value, value2) .where(t1.id.eq(10)) .execute();- Specified by:
updatein interfaceDSLContext
-
mergeInto
public <R extends Record> MergeUsingStep<R> mergeInto(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL SQL standard MERGE statement.This statement is available from DSL syntax only. It is known to be supported in some way by any of these dialects:
dialect support type documentation CUBRID SQL:2008 standard and some enhancements http://www.cubrid.org/manual/90/en/MERGE DB2 SQL:2008 standard and major enhancements http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com. ibm.db2.udb.admin.doc/doc/r0010873.htm HSQLDB SQL:2008 standard http://hsqldb.org/doc/2.0/guide/dataaccess-chapt.html#N129BA Oracle SQL:2008 standard and minor enhancements http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/ statements_9016.htm SQL Server Similar to SQL:2008 standard with some major enhancements http://msdn.microsoft.com/de-de/library/bb510625.aspx Sybase Similar to SQL:2008 standard with some major enhancements http://dcx.sybase.com/1100/en/dbreference_en11/merge-statement.html Example:
DSLContext create = DSL.using(configuration); create.mergeInto(table) .using(select) .on(condition) .whenMatchedThenUpdate() .set(field1, value1) .set(field2, value2) .whenNotMatchedThenInsert(field1, field2) .values(value1, value2) .execute();Note: Using this method, you can also create an H2-specific MERGE statement without field specification. See also
DSLContext.mergeInto(Table, Field...)- Specified by:
mergeIntoin interfaceDSLContext
-
mergeInto
public <R extends Record,T1> MergeKeyStep1<R,T1> mergeInto(Table<R> table, Field<T1> field1)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2> MergeKeyStep2<R,T1,T2> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3> MergeKeyStep3<R,T1,T2,T3> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4> MergeKeyStep4<R,T1,T2,T3,T4> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5> MergeKeyStep5<R,T1,T2,T3,T4,T5> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6> MergeKeyStep6<R,T1,T2,T3,T4,T5,T6> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7> MergeKeyStep7<R,T1,T2,T3,T4,T5,T6,T7> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8> MergeKeyStep8<R,T1,T2,T3,T4,T5,T6,T7,T8> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9> MergeKeyStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> MergeKeyStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> MergeKeyStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> MergeKeyStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> MergeKeyStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> MergeKeyStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> MergeKeyStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> MergeKeyStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> MergeKeyStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> MergeKeyStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> MergeKeyStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> MergeKeyStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> MergeKeyStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> MergeKeyStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> mergeInto(Table<R> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Description copied from interface:DSLContext- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
mergeInto
public <R extends Record> MergeKeyStepN<R> mergeInto(Table<R> table, Field<?>... fields)
Description copied from interface:DSLContextCreate a new DSL UPSERT statement (SQLDialect.H2MERGE) orSQLDialect.HANAUPSERT).This statement is available from DSL syntax only. It is known to be supported in some way by any of these dialects:
H2 H2 natively supports this special syntax http://www.h2database.com/html/grammar.html#merge HANA HANA natively supports this syntax http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/fc06a7751910149892c0d09be21a38/content.htm PostgreSQL This database can emulate the H2-specific MERGE statement via INSERT .. ON CONFLICT DO UPDATEhttp://www.postgresql.org/docs/9.5/static/sql-insert.html DB2, HSQLDB, Oracle, SQL Server, Sybase SQL Anywhere These databases can emulate the H2-specific MERGE statement using a standard SQL MERGE statement, without restrictions See DSLContext.mergeInto(Table)for the standard MERGE statement- Specified by:
mergeIntoin interfaceDSLContext
-
mergeInto
public <R extends Record> MergeKeyStepN<R> mergeInto(Table<R> table, java.util.Collection<? extends Field<?>> fields)
Description copied from interface:DSLContextCreate a new DSL merge statement (H2-specific syntax).- Specified by:
mergeIntoin interfaceDSLContext- See Also:
DSLContext.mergeInto(Table, Field...)
-
deleteQuery
public <R extends Record> DeleteQuery<R> deleteQuery(Table<R> table)
Description copied from interface:DSLContextCreate a newDeleteQuery- Specified by:
deleteQueryin interfaceDSLContext- Parameters:
table- The table to delete data from- Returns:
- The new
DeleteQuery
-
delete
public <R extends Record> DeleteWhereStep<R> delete(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL delete statement.This is an alias for
DSLContext.deleteFrom(Table)- Specified by:
deletein interfaceDSLContext
-
deleteFrom
public <R extends Record> DeleteWhereStep<R> deleteFrom(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL delete statement.Example:
DSLContext create = DSL.using(configuration); create.deleteFrom(table) .where(field1.greaterThan(100)) .execute();Some but not all databases support aliased tables in delete statements.
- Specified by:
deleteFromin interfaceDSLContext
-
batch
public Batch batch(Query... queries)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (without bind values).This essentially runs the following logic:
Statement s = connection.createStatement(); for (Query query : queries) { s.addBatch(query.getSQL(true)); } s.execute();- Specified by:
batchin interfaceDSLContext- See Also:
Statement.executeBatch()
-
batch
public Batch batch(Queries queries)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (without bind values).This essentially runs the following logic:
Statement s = connection.createStatement(); for (Query query : queries) { s.addBatch(query.getSQL(true)); } s.execute();- Specified by:
batchin interfaceDSLContext- See Also:
Statement.executeBatch()
-
batch
public Batch batch(java.lang.String... queries)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (without bind values).This is a convenience method for calling
.batch(query(queries[0]), query(queries[1]), ...)
- Specified by:
batchin interfaceDSLContext- See Also:
DSLContext.query(String),DSLContext.batch(Query...),Statement.executeBatch()
-
batch
public Batch batch(java.util.Collection<? extends Query> queries)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (without bind values).This essentially runs the following logic:
Statement s = connection.createStatement(); for (Query query : queries) { s.addBatch(query.getSQL(true)); } s.execute();- Specified by:
batchin interfaceDSLContext- See Also:
Statement.executeBatch()
-
batch
public BatchBindStep batch(Query query)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (with bind values).When running
create.batch(query) .bind(valueA1, valueA2) .bind(valueB1, valueB2) .execute();This essentially runs the following logic:
Statement s = connection.prepareStatement(query.getSQL(false)); for (Object[] bindValues : allBindValues) { for (Object bindValue : bindValues) { s.setXXX(bindValue); } s.addBatch(); } s.execute();Note: bind values will be inlined to a static batch query as in
DSLContext.batch(Query...), if you choose to execute queries withSettings.getStatementType()==StatementType.STATIC_STATEMENT- Specified by:
batchin interfaceDSLContext- See Also:
Statement.executeBatch()
-
batch
public BatchBindStep batch(java.lang.String sql)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (with bind values).This is a convenience method for calling
.batch(query(sql))
- Specified by:
batchin interfaceDSLContext- See Also:
DSLContext.query(String),DSLContext.batch(Query),Statement.executeBatch()
-
batch
public Batch batch(Query query, java.lang.Object[]... bindings)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (with bind values).This is a convenience method for calling
DSLContext.batch(Query)and then binding values one by one usingBatchBindStep.bind(Object...)Note: bind values will be inlined to a static batch query as in
DSLContext.batch(Query...), if you choose to execute queries withSettings.getStatementType()==StatementType.STATIC_STATEMENT- Specified by:
batchin interfaceDSLContext- See Also:
DSLContext.batch(Query),Statement.executeBatch()
-
batch
public Batch batch(java.lang.String sql, java.lang.Object[]... bindings)
Description copied from interface:DSLContextCreate a batch statement to execute a set of queries in batch mode (with bind values).This is a convenience method for calling
.batch(query(sql), bindings)
- Specified by:
batchin interfaceDSLContext- See Also:
DSLContext.query(String),DSLContext.batch(Query, Object[][]),Statement.executeBatch()
-
batchStore
public Batch batchStore(UpdatableRecord<?>... records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofINSERTandUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.store()semantics.This batch operation can be executed in two modes:
With
(the default)Settings.getStatementType()==StatementType.PREPARED_STATEMENTIn this mode, record order is preserved as much as possible, as long as two subsequent records generate the same SQL (with bind variables). The number of executed batch operations corresponds to
[number of distinct rendered SQL statements]. In the worst case, this corresponds to the number of total records.The record type order is preserved in the way they are passed to this method. This is an example of how statements will be ordered:
The above results in// Let's assume, odd numbers result in INSERTs and even numbers in UPDATES // Let's also assume a[n] are all of the same type, just as b[n], c[n]... int[] result = create.batchStore(a1, a2, a3, b1, a4, c1, b3, a5) .execute();result.length == 8and the following 4 separate batch statements:- INSERT a1, a3, a5
- UPDATE a2, a4
- INSERT b1, b3
- INSERT c1
With
Settings.getStatementType()==StatementType.STATIC_STATEMENTThis mode may be better for large and complex batch store operations, as the order of records is preserved entirely, and jOOQ can guarantee that only a single batch statement is serialised to the database.
A note on MERGE / UPSERT semantics
This method (just like
UpdatableRecord.store()) does not implement the semantics of an actualUPSERTorMERGEstatement, which delegates the decision of whether toINSERTorUPDATEa record to the database. The decision is made by the client (jOOQ) depending on whether each individual record has been fetched from the database prior to storing it.- Specified by:
batchStorein interfaceDSLContext- See Also:
UpdatableRecord.store(),Statement.executeBatch()
-
batchStore
public Batch batchStore(java.util.Collection<? extends UpdatableRecord<?>> records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofINSERTandUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.store()semantics.- Specified by:
batchStorein interfaceDSLContext- See Also:
DSLContext.batchStore(UpdatableRecord...),UpdatableRecord.store(),Statement.executeBatch()
-
batchInsert
public Batch batchInsert(TableRecord<?>... records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofINSERTqueries in batch mode (with bind values) according toTableRecord.insert()semantics.- Specified by:
batchInsertin interfaceDSLContext- See Also:
DSLContext.batchStore(UpdatableRecord...),TableRecord.insert(),Statement.executeBatch()
-
batchInsert
public Batch batchInsert(java.util.Collection<? extends TableRecord<?>> records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofINSERTqueries in batch mode (with bind values) according toTableRecord.insert()semantics.- Specified by:
batchInsertin interfaceDSLContext- See Also:
DSLContext.batchStore(UpdatableRecord...),Statement.executeBatch()
-
batchUpdate
public Batch batchUpdate(UpdatableRecord<?>... records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.update()semantics.- Specified by:
batchUpdatein interfaceDSLContext- See Also:
DSLContext.batchStore(UpdatableRecord...),UpdatableRecord.update(),Statement.executeBatch()
-
batchUpdate
public Batch batchUpdate(java.util.Collection<? extends UpdatableRecord<?>> records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofUPDATEqueries in batch mode (with bind values) according toUpdatableRecord.update()semantics.- Specified by:
batchUpdatein interfaceDSLContext- See Also:
DSLContext.batchStore(UpdatableRecord...),UpdatableRecord.update(),Statement.executeBatch()
-
batchDelete
public Batch batchDelete(UpdatableRecord<?>... records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofDELETEqueries in batch mode (with bind values) according toUpdatableRecord.delete()sematics.This batch operation can be executed in two modes:
With
(the default)Settings.getStatementType()==StatementType.PREPARED_STATEMENTIn this mode, record order is preserved as much as possible, as long as two subsequent records generate the same SQL (with bind variables). The number of executed batch operations corresponds to
[number of distinct rendered SQL statements]. In the worst case, this corresponds to the number of total records.The record type order is preserved in the way they are passed to this method. This is an example of how statements will be ordered:
The above results in// Let's assume a[n] are all of the same type, just as b[n], c[n]... int[] result = create.batchDelete(a1, a2, a3, b1, a4, c1, c2, a5) .execute();result.length == 8and the following 5 separate batch statements:- DELETE a1, a2, a3
- DELETE b1
- DELETE a4
- DELETE c1, c2
- DELETE a5
With
Settings.getStatementType()==StatementType.STATIC_STATEMENTThis mode may be better for large and complex batch delete operations, as the order of records is preserved entirely, and jOOQ can guarantee that only a single batch statement is serialised to the database.
- Specified by:
batchDeletein interfaceDSLContext- See Also:
UpdatableRecord.delete(),Statement.executeBatch()
-
batchDelete
public Batch batchDelete(java.util.Collection<? extends UpdatableRecord<?>> records)
Description copied from interface:DSLContextCreate a batch statement to execute a set ofDELETEqueries in batch mode (with bind values) according toUpdatableRecord.delete()sematics.- Specified by:
batchDeletein interfaceDSLContext- See Also:
DSLContext.batchDelete(UpdatableRecord...),UpdatableRecord.delete(),Statement.executeBatch()
-
ddl
public Queries ddl(Catalog catalog)
Description copied from interface:DSLContextGenerate the complete creation script for the entire catalog.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Catalog, DDLExportConfiguration)
-
ddl
public Queries ddl(Catalog catalog, DDLFlag... flags)
Description copied from interface:DSLContextGenerate a partial creation script for the entire catalog.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Catalog, DDLExportConfiguration)
-
ddl
public Queries ddl(Catalog catalog, DDLExportConfiguration exportConfiguration)
Description copied from interface:DSLContextGenerate a partial creation script for the entire catalog.The following
DDLFlagcan be set:DDLFlag.SCHEMA: If set, the catalog'sSCHEMAspecification will be generated.DDLFlag.TABLE: If set, the schema'sTABLEspecification will be generated.DDLFlag.PRIMARY_KEY: If set, a potentialPRIMARY KEYconstraint is specified inline with the table.DDLFlag.UNIQUE: If set, any potentialUNIQUEconstraint is specified inline with the table.DDLFlag.FOREIGN_KEY: If set, any potentialFOREIGN KEYconstraint is specified after all the tables, as a separateALTER TABLE .. ADD CONSTRAINTstatement.
- Specified by:
ddlin interfaceDSLContext
-
ddl
public Queries ddl(Schema schema)
Description copied from interface:DSLContextGenerate the complete creation script for the entire schema.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Schema, DDLExportConfiguration)
-
ddl
public Queries ddl(Schema schema, DDLFlag... flags)
Description copied from interface:DSLContextGenerate a partial creation script for the entire schema.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Schema, DDLExportConfiguration)
-
ddl
public Queries ddl(Schema schema, DDLExportConfiguration exportConfiguration)
Description copied from interface:DSLContextGenerate a partial creation script for the entire schema.The following
DDLFlagcan be set:DDLFlag.TABLE: If set, the schema'sTABLEspecification will be generated.DDLFlag.PRIMARY_KEY: If set, a potentialPRIMARY KEYconstraint is specified inline with the table.DDLFlag.UNIQUE: If set, any potentialUNIQUEconstraint is specified inline with the table.DDLFlag.FOREIGN_KEY: If set, any potentialFOREIGN KEYconstraint is specified after all the tables, as a separateALTER TABLE .. ADD CONSTRAINTstatement.
- Specified by:
ddlin interfaceDSLContext
-
ddl
public Queries ddl(Table<?> table)
Description copied from interface:DSLContextGenerate the complete creation script for a table.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Table, DDLExportConfiguration)
-
ddl
public Queries ddl(Table<?> table, DDLFlag... flags)
Description copied from interface:DSLContextGenerate a partial creation script for a table.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Table, DDLExportConfiguration)
-
ddl
public Queries ddl(Table<?> table, DDLExportConfiguration exportConfiguration)
Description copied from interface:DSLContextGenerate a partial creation script for a table.The following
DDLFlagcan be set:DDLFlag.TABLE: If not set, this will generate nothing at all.DDLFlag.PRIMARY_KEY: If set, a potentialPRIMARY KEYconstraint is specified inline with the table.DDLFlag.UNIQUE: If set, any potentialUNIQUEconstraint is specified inline with the table.DDLFlag.FOREIGN_KEY: If set, any potentialFOREIGN KEYconstraint is specified inline with the table.
- Specified by:
ddlin interfaceDSLContext
-
ddl
public Queries ddl(Table... tables)
Description copied from interface:DSLContextGenerate the complete creation script for tables.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Table[], DDLExportConfiguration)
-
ddl
public Queries ddl(Table[] tables, DDLFlag... flags)
Description copied from interface:DSLContextGenerate the complete creation script for tables.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Table[], DDLExportConfiguration)
-
ddl
public Queries ddl(Table[] tables, DDLExportConfiguration exportConfiguration)
Description copied from interface:DSLContextGenerate the complete creation script for tables.The following
DDLFlagcan be set:DDLFlag.TABLE: If not set, this will generate nothing at all.DDLFlag.PRIMARY_KEY: If set, a potentialPRIMARY KEYconstraint is specified inline with the table.DDLFlag.UNIQUE: If set, any potentialUNIQUEconstraint is specified inline with the table.DDLFlag.FOREIGN_KEY: If set, any potentialFOREIGN KEYconstraint is specified inline with the table.
- Specified by:
ddlin interfaceDSLContext
-
ddl
public Queries ddl(java.util.Collection<? extends Table<?>> tables)
Description copied from interface:DSLContextGenerate the complete creation script for tables.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Collection, DDLExportConfiguration)
-
ddl
public Queries ddl(java.util.Collection<? extends Table<?>> tables, DDLFlag... flags)
Description copied from interface:DSLContextGenerate the complete creation script for tables.The following
DDLFlagcan be set:DDLFlag.TABLE: If not set, this will generate nothing at all.DDLFlag.PRIMARY_KEY: If set, a potentialPRIMARY KEYconstraint is specified inline with the table.DDLFlag.UNIQUE: If set, any potentialUNIQUEconstraint is specified inline with the table.DDLFlag.FOREIGN_KEY: If set, any potentialFOREIGN KEYconstraint is specified inline with the table.
- Specified by:
ddlin interfaceDSLContext
-
ddl
public Queries ddl(java.util.Collection<? extends Table<?>> tables, DDLExportConfiguration exportConfiguration)
Description copied from interface:DSLContextGenerate the complete creation script for tables.- Specified by:
ddlin interfaceDSLContext- See Also:
DSLContext.ddl(Collection, DDLExportConfiguration)
-
setCatalog
public RowCountQuery setCatalog(java.lang.String catalog)
Description copied from interface:DSLContextSet the current catalog to a new value.- Specified by:
setCatalogin interfaceDSLContext- See Also:
DSL.catalog(Name)
-
setCatalog
public RowCountQuery setCatalog(Name catalog)
Description copied from interface:DSLContextSet the current catalog to a new value.- Specified by:
setCatalogin interfaceDSLContext- See Also:
DSL.catalog(Name)
-
setCatalog
public RowCountQuery setCatalog(Catalog catalog)
Description copied from interface:DSLContextSet the current catalog to a new value.- Specified by:
setCatalogin interfaceDSLContext
-
setSchema
public RowCountQuery setSchema(java.lang.String schema)
Description copied from interface:DSLContextSet the current schema to a new value.- Specified by:
setSchemain interfaceDSLContext- See Also:
DSL.schema(Name),DSL.setSchema(String)
-
setSchema
public RowCountQuery setSchema(Name schema)
Description copied from interface:DSLContextSet the current schema to a new value.- Specified by:
setSchemain interfaceDSLContext- See Also:
DSL.schema(Name),DSL.setSchema(Name)
-
setSchema
public RowCountQuery setSchema(Schema schema)
Description copied from interface:DSLContextSet the current schema to a new value.- Specified by:
setSchemain interfaceDSLContext- See Also:
DSL.setSchema(Schema)
-
commentOnTable
public CommentOnIsStep commentOnTable(java.lang.String tableName)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON TABLEstatement.- Specified by:
commentOnTablein interfaceDSLContext- See Also:
DSL.commentOnTable(String),AlterTableStep.comment(Comment)
-
commentOnTable
public CommentOnIsStep commentOnTable(Name tableName)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON TABLEstatement.- Specified by:
commentOnTablein interfaceDSLContext- See Also:
DSL.commentOnTable(Name),AlterTableStep.comment(Comment)
-
commentOnTable
public CommentOnIsStep commentOnTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON TABLEstatement.- Specified by:
commentOnTablein interfaceDSLContext- See Also:
DSL.commentOnTable(Table),AlterTableStep.comment(Comment)
-
commentOnView
public CommentOnIsStep commentOnView(java.lang.String viewName)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON VIEWstatement.- Specified by:
commentOnViewin interfaceDSLContext- See Also:
DSL.commentOnView(String),AlterViewStep.comment(Comment)
-
commentOnView
public CommentOnIsStep commentOnView(Name viewName)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON VIEWstatement.- Specified by:
commentOnViewin interfaceDSLContext- See Also:
DSL.commentOnView(Name),AlterViewStep.comment(Comment)
-
commentOnView
public CommentOnIsStep commentOnView(Table<?> view)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON VIEWstatement.- Specified by:
commentOnViewin interfaceDSLContext- See Also:
DSL.commentOnView(Table),AlterViewStep.comment(Comment)
-
commentOnColumn
public CommentOnIsStep commentOnColumn(Name columnName)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON COLUMNstatement.- Specified by:
commentOnColumnin interfaceDSLContext- See Also:
DSL.commentOnColumn(Name)
-
commentOnColumn
public CommentOnIsStep commentOnColumn(Field<?> field)
Description copied from interface:DSLContextCreate a new DSLCOMMENT ON COLUMNstatement.- Specified by:
commentOnColumnin interfaceDSLContext- See Also:
DSL.commentOnColumn(Field)
-
createView
public CreateViewAsStep<Record> createView(java.lang.String view, java.lang.String... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(Name view, Name... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(Name, Name...)
-
createView
public CreateViewAsStep<Record> createView(Table<?> view, Field<?>... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(Table, Field...)
-
createView
public CreateViewAsStep<Record> createView(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createView
public CreateViewAsStep<Record> createView(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewin interfaceDSLContext- See Also:
DSL.createView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(java.lang.String view, java.lang.String... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Name view, Name... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(Name, Name...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Table<?> view, Field<?>... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(Table, Field...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createOrReplaceView
public CreateViewAsStep<Record> createOrReplaceView(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE OR REPLACE VIEWstatement.This works like
DSLContext.createOrReplaceView(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createOrReplaceViewin interfaceDSLContext- See Also:
DSL.createOrReplaceView(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.lang.String... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Name view, Name... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(Name, Name...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, Field<?>... fields)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(Table, Field...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.util.function.Function<? super Field<?>,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(java.lang.String view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends java.lang.String> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(String, String...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Name view, java.util.function.Function<? super Field<?>,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Name view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Name> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(Name, Name...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, java.util.function.Function<? super Field<?>,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createViewIfNotExists
public CreateViewAsStep<Record> createViewIfNotExists(Table<?> view, java.util.function.BiFunction<? super Field<?>,? super java.lang.Integer,? extends Field<?>> fieldNameFunction)
Description copied from interface:DSLContextCreate a new DSLCREATE VIEWstatement.This works like
DSLContext.createViewIfNotExists(Table, Field...)except that the view's field names are derived from the view'sSelectstatement using a function.- Specified by:
createViewIfNotExistsin interfaceDSLContext- See Also:
DSL.createViewIfNotExists(String, String...)
-
createSchema
public CreateSchemaFinalStep createSchema(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemain interfaceDSLContext- See Also:
DSL.createSchema(String)
-
createSchema
public CreateSchemaFinalStep createSchema(Name schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemain interfaceDSLContext- See Also:
DSL.createSchema(Name)
-
createSchema
public CreateSchemaFinalStep createSchema(Schema schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemain interfaceDSLContext- See Also:
DSL.createSchema(Schema)
-
createSchemaIfNotExists
public CreateSchemaFinalStep createSchemaIfNotExists(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemaIfNotExistsin interfaceDSLContext- See Also:
DSL.createSchemaIfNotExists(String)
-
createSchemaIfNotExists
public CreateSchemaFinalStep createSchemaIfNotExists(Name schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemaIfNotExistsin interfaceDSLContext- See Also:
DSL.createSchemaIfNotExists(Name)
-
createSchemaIfNotExists
public CreateSchemaFinalStep createSchemaIfNotExists(Schema schema)
Description copied from interface:DSLContextCreate a new DSLCREATE SCHEMAstatement.- Specified by:
createSchemaIfNotExistsin interfaceDSLContext- See Also:
DSL.createSchemaIfNotExists(Schema)
-
createTable
public CreateTableColumnStep createTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTablein interfaceDSLContext- See Also:
DSL.createTable(String)
-
createTable
public CreateTableColumnStep createTable(Name table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTablein interfaceDSLContext- See Also:
DSL.createTable(Name)
-
createTable
public CreateTableColumnStep createTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTablein interfaceDSLContext- See Also:
DSL.createTable(Table)
-
createTableIfNotExists
public CreateTableColumnStep createTableIfNotExists(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTableIfNotExistsin interfaceDSLContext- See Also:
DSL.createTableIfNotExists(String)
-
createTableIfNotExists
public CreateTableColumnStep createTableIfNotExists(Name table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTableIfNotExistsin interfaceDSLContext- See Also:
DSL.createTableIfNotExists(Name)
-
createTableIfNotExists
public CreateTableColumnStep createTableIfNotExists(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLCREATE TABLEstatement.- Specified by:
createTableIfNotExistsin interfaceDSLContext- See Also:
DSL.createTableIfNotExists(Table)
-
createTemporaryTable
public CreateTableColumnStep createTemporaryTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLCREATE TEMPORARY TABLEstatement.- Specified by:
createTemporaryTablein interfaceDSLContext- See Also:
DSL.createTemporaryTable(String)
-
createTemporaryTable
public CreateTableColumnStep createTemporaryTable(Name table)
Description copied from interface:DSLContextCreate a new DSLCREATE TEMPORARY TABLEstatement.- Specified by:
createTemporaryTablein interfaceDSLContext- See Also:
DSL.createTemporaryTable(Name)
-
createTemporaryTable
public CreateTableColumnStep createTemporaryTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLCREATE TEMPORARY TABLEstatement.- Specified by:
createTemporaryTablein interfaceDSLContext- See Also:
DSL.createTemporaryTable(Table)
-
createGlobalTemporaryTable
public CreateTableColumnStep createGlobalTemporaryTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.- Specified by:
createGlobalTemporaryTablein interfaceDSLContext- See Also:
DSL.createGlobalTemporaryTable(String)
-
createGlobalTemporaryTable
public CreateTableColumnStep createGlobalTemporaryTable(Name table)
Description copied from interface:DSLContextCreate a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.- Specified by:
createGlobalTemporaryTablein interfaceDSLContext- See Also:
DSL.createGlobalTemporaryTable(Name)
-
createGlobalTemporaryTable
public CreateTableColumnStep createGlobalTemporaryTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLCREATE GLOBAL TEMPORARY TABLEstatement.- Specified by:
createGlobalTemporaryTablein interfaceDSLContext- See Also:
DSL.createGlobalTemporaryTable(Table)
-
createType
public CreateTypeStep createType(java.lang.String type)
Description copied from interface:DSLContextCreate a new DSLCREATE TYPEstatement.- Specified by:
createTypein interfaceDSLContext- See Also:
DSL.createType(String)
-
createType
public CreateTypeStep createType(Name type)
Description copied from interface:DSLContextCreate a new DSLCREATE TYPEstatement.- Specified by:
createTypein interfaceDSLContext- See Also:
DSL.createType(Name)
-
dropType
public DropTypeStep dropType(java.lang.String type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypein interfaceDSLContext- See Also:
DSL.dropType(String)
-
dropType
public DropTypeStep dropType(Name type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypein interfaceDSLContext- See Also:
DSL.dropType(Name)
-
dropType
public DropTypeStep dropType(java.lang.String... type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypein interfaceDSLContext- See Also:
DSL.dropType(String...)
-
dropType
public DropTypeStep dropType(Name... type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypein interfaceDSLContext- See Also:
DSL.dropType(Name...)
-
dropType
public DropTypeStep dropType(java.util.Collection<?> type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypein interfaceDSLContext- See Also:
DSL.dropType(Collection)
-
dropTypeIfExists
public DropTypeStep dropTypeIfExists(java.lang.String type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypeIfExistsin interfaceDSLContext- See Also:
DSL.dropTypeIfExists(String)
-
dropTypeIfExists
public DropTypeStep dropTypeIfExists(Name type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypeIfExistsin interfaceDSLContext- See Also:
DSL.dropTypeIfExists(Name)
-
dropTypeIfExists
public DropTypeStep dropTypeIfExists(java.lang.String... type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypeIfExistsin interfaceDSLContext- See Also:
DSL.dropTypeIfExists(String...)
-
dropTypeIfExists
public DropTypeStep dropTypeIfExists(Name... type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypeIfExistsin interfaceDSLContext- See Also:
DSL.dropTypeIfExists(Name...)
-
dropTypeIfExists
public DropTypeStep dropTypeIfExists(java.util.Collection<?> type)
Description copied from interface:DSLContextCreate a new DSLDROP TYPEstatement.- Specified by:
dropTypeIfExistsin interfaceDSLContext- See Also:
DSL.dropTypeIfExists(Collection)
-
createIndex
public CreateIndexStep createIndex()
Description copied from interface:DSLContextCreate a new DSLCREATE INDEXstatement.- Specified by:
createIndexin interfaceDSLContext- See Also:
DSL.createIndex()
-
createIndex
public CreateIndexStep createIndex(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEXstatement.- Specified by:
createIndexin interfaceDSLContext- See Also:
DSL.createIndex(String)
-
createIndex
public CreateIndexStep createIndex(Name index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEXstatement.- Specified by:
createIndexin interfaceDSLContext- See Also:
DSL.createIndex(Name)
-
createIndex
public CreateIndexStep createIndex(Index index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEXstatement.- Specified by:
createIndexin interfaceDSLContext- See Also:
DSL.createIndex(Index)
-
createIndexIfNotExists
public CreateIndexStep createIndexIfNotExists(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEX IF NOT EXISTSstatement.- Specified by:
createIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndexIfNotExists(String)
-
createIndexIfNotExists
public CreateIndexStep createIndexIfNotExists(Name index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEX IF NOT EXISTSstatement.- Specified by:
createIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndexIfNotExists(Name)
-
createIndexIfNotExists
public CreateIndexStep createIndexIfNotExists(Index index)
Description copied from interface:DSLContextCreate a new DSLCREATE INDEX IF NOT EXISTSstatement.- Specified by:
createIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndexIfNotExists(Index)
-
createUniqueIndex
public CreateIndexStep createUniqueIndex()
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexin interfaceDSLContext- See Also:
DSL.createUniqueIndex()
-
createUniqueIndex
public CreateIndexStep createUniqueIndex(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexin interfaceDSLContext- See Also:
DSL.createIndex(String)
-
createUniqueIndex
public CreateIndexStep createUniqueIndex(Name index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexin interfaceDSLContext- See Also:
DSL.createIndex(Name)
-
createUniqueIndex
public CreateIndexStep createUniqueIndex(Index index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexin interfaceDSLContext- See Also:
DSL.createIndex(Index)
-
createUniqueIndexIfNotExists
public CreateIndexStep createUniqueIndexIfNotExists(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndex(String)
-
createUniqueIndexIfNotExists
public CreateIndexStep createUniqueIndexIfNotExists(Name index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndex(Name)
-
createUniqueIndexIfNotExists
public CreateIndexStep createUniqueIndexIfNotExists(Index index)
Description copied from interface:DSLContextCreate a new DSLCREATE UNIQUE INDEXstatement.- Specified by:
createUniqueIndexIfNotExistsin interfaceDSLContext- See Also:
DSL.createIndex(Index)
-
createSequence
public CreateSequenceFlagsStep createSequence(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequencein interfaceDSLContext- See Also:
DSL.createSequence(String)
-
createSequence
public CreateSequenceFlagsStep createSequence(Name sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequencein interfaceDSLContext- See Also:
DSL.createSequence(Name)
-
createSequence
public CreateSequenceFlagsStep createSequence(Sequence<?> sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequencein interfaceDSLContext- See Also:
DSL.createSequence(String)
-
createSequenceIfNotExists
public CreateSequenceFlagsStep createSequenceIfNotExists(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequenceIfNotExistsin interfaceDSLContext- See Also:
DSL.createSequenceIfNotExists(String)
-
createSequenceIfNotExists
public CreateSequenceFlagsStep createSequenceIfNotExists(Name sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequenceIfNotExistsin interfaceDSLContext- See Also:
DSL.createSequenceIfNotExists(Name)
-
createSequenceIfNotExists
public CreateSequenceFlagsStep createSequenceIfNotExists(Sequence<?> sequence)
Description copied from interface:DSLContextCreate a new DSLCREATE SEQUENCEstatement.- Specified by:
createSequenceIfNotExistsin interfaceDSLContext- See Also:
DSL.createSequenceIfNotExists(Sequence)
-
alterSequence
public AlterSequenceStep<java.math.BigInteger> alterSequence(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequencein interfaceDSLContext- See Also:
DSL.alterSequence(String)
-
alterSequence
public AlterSequenceStep<java.math.BigInteger> alterSequence(Name sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequencein interfaceDSLContext- See Also:
DSL.alterSequence(Name)
-
alterSequence
public <T extends java.lang.Number> AlterSequenceStep<T> alterSequence(Sequence<T> sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequencein interfaceDSLContext- See Also:
DSL.alterSequence(Sequence)
-
alterSequenceIfExists
public AlterSequenceStep<java.math.BigInteger> alterSequenceIfExists(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequenceIfExistsin interfaceDSLContext- See Also:
DSL.alterSequenceIfExists(String)
-
alterSequenceIfExists
public AlterSequenceStep<java.math.BigInteger> alterSequenceIfExists(Name sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequenceIfExistsin interfaceDSLContext- See Also:
DSL.alterSequenceIfExists(Name)
-
alterSequenceIfExists
public <T extends java.lang.Number> AlterSequenceStep<T> alterSequenceIfExists(Sequence<T> sequence)
Description copied from interface:DSLContextCreate a new DSLALTER SEQUENCEstatement.- Specified by:
alterSequenceIfExistsin interfaceDSLContext- See Also:
DSL.alterSequenceIfExists(Sequence)
-
alterTable
public AlterTableStep alterTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTablein interfaceDSLContext- See Also:
DSL.alterTable(String)
-
alterTable
public AlterTableStep alterTable(Name table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTablein interfaceDSLContext- See Also:
DSL.alterTable(Name)
-
alterTable
public AlterTableStep alterTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTablein interfaceDSLContext- See Also:
DSL.alterTable(Table)
-
alterTableIfExists
public AlterTableStep alterTableIfExists(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTableIfExistsin interfaceDSLContext- See Also:
DSL.alterTableIfExists(String)
-
alterTableIfExists
public AlterTableStep alterTableIfExists(Name table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTableIfExistsin interfaceDSLContext- See Also:
DSL.alterTableIfExists(Name)
-
alterTableIfExists
public AlterTableStep alterTableIfExists(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLALTER TABLEstatement.- Specified by:
alterTableIfExistsin interfaceDSLContext- See Also:
DSL.alterTableIfExists(Table)
-
alterSchema
public AlterSchemaStep alterSchema(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemain interfaceDSLContext- See Also:
DSL.alterSchema(String)
-
alterSchema
public AlterSchemaStep alterSchema(Name schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemain interfaceDSLContext- See Also:
DSL.alterSchema(Name)
-
alterSchema
public AlterSchemaStep alterSchema(Schema schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemain interfaceDSLContext- See Also:
DSL.alterSchema(Schema)
-
alterSchemaIfExists
public AlterSchemaStep alterSchemaIfExists(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemaIfExistsin interfaceDSLContext- See Also:
DSL.alterSchemaIfExists(String)
-
alterSchemaIfExists
public AlterSchemaStep alterSchemaIfExists(Name schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemaIfExistsin interfaceDSLContext- See Also:
DSL.alterSchemaIfExists(Name)
-
alterSchemaIfExists
public AlterSchemaStep alterSchemaIfExists(Schema schema)
Description copied from interface:DSLContextCreate a new DSLALTER SCHEMAstatement.- Specified by:
alterSchemaIfExistsin interfaceDSLContext- See Also:
DSL.alterSchemaIfExists(Schema)
-
alterView
public AlterViewStep alterView(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewin interfaceDSLContext- See Also:
DSL.alterView(String)
-
alterView
public AlterViewStep alterView(Name table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewin interfaceDSLContext- See Also:
DSL.alterView(Name)
-
alterView
public AlterViewStep alterView(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewin interfaceDSLContext- See Also:
DSL.alterView(Table)
-
alterViewIfExists
public AlterViewStep alterViewIfExists(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewIfExistsin interfaceDSLContext- See Also:
DSL.alterViewIfExists(String)
-
alterViewIfExists
public AlterViewStep alterViewIfExists(Name table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewIfExistsin interfaceDSLContext- See Also:
DSL.alterViewIfExists(Name)
-
alterViewIfExists
public AlterViewStep alterViewIfExists(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLALTER VIEWstatement.- Specified by:
alterViewIfExistsin interfaceDSLContext- See Also:
DSL.alterViewIfExists(Table)
-
alterIndex
public AlterIndexOnStep alterIndex(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexin interfaceDSLContext- See Also:
DSL.alterIndex(String)
-
alterIndex
public AlterIndexOnStep alterIndex(Name index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexin interfaceDSLContext- See Also:
DSL.alterIndex(Name)
-
alterIndex
public AlterIndexOnStep alterIndex(Index index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexin interfaceDSLContext- See Also:
DSL.alterIndex(Name)
-
alterIndexIfExists
public AlterIndexStep alterIndexIfExists(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexIfExistsin interfaceDSLContext- See Also:
DSL.alterIndexIfExists(String)
-
alterIndexIfExists
public AlterIndexStep alterIndexIfExists(Name index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexIfExistsin interfaceDSLContext- See Also:
DSL.alterIndexIfExists(Name)
-
alterIndexIfExists
public AlterIndexStep alterIndexIfExists(Index index)
Description copied from interface:DSLContextCreate a new DSLALTER INDEXstatement.- Specified by:
alterIndexIfExistsin interfaceDSLContext- See Also:
DSL.alterIndexIfExists(Name)
-
dropSchema
public DropSchemaStep dropSchema(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemain interfaceDSLContext- See Also:
DSL.dropSchema(String)
-
dropSchema
public DropSchemaStep dropSchema(Name schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemain interfaceDSLContext- See Also:
DSL.dropSchema(Name)
-
dropSchema
public DropSchemaStep dropSchema(Schema schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemain interfaceDSLContext- See Also:
DSL.dropSchema(Schema)
-
dropSchemaIfExists
public DropSchemaStep dropSchemaIfExists(java.lang.String schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemaIfExistsin interfaceDSLContext- See Also:
DSL.dropSchemaIfExists(String)
-
dropSchemaIfExists
public DropSchemaStep dropSchemaIfExists(Name schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemaIfExistsin interfaceDSLContext- See Also:
DSL.dropSchemaIfExists(Name)
-
dropSchemaIfExists
public DropSchemaStep dropSchemaIfExists(Schema schema)
Description copied from interface:DSLContextCreate a new DSLDROP SCHEMAstatement.- Specified by:
dropSchemaIfExistsin interfaceDSLContext- See Also:
DSL.dropSchemaIfExists(Schema)
-
dropView
public DropViewFinalStep dropView(java.lang.String view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEWstatement.- Specified by:
dropViewin interfaceDSLContext- See Also:
DSL.dropView(String)
-
dropView
public DropViewFinalStep dropView(Name view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEWstatement.- Specified by:
dropViewin interfaceDSLContext- See Also:
DSL.dropView(Name)
-
dropView
public DropViewFinalStep dropView(Table<?> view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEWstatement.- Specified by:
dropViewin interfaceDSLContext- See Also:
DSL.dropView(Table)
-
dropViewIfExists
public DropViewFinalStep dropViewIfExists(java.lang.String view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropViewIfExistsin interfaceDSLContext- See Also:
DSL.dropViewIfExists(String)
-
dropViewIfExists
public DropViewFinalStep dropViewIfExists(Name view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropViewIfExistsin interfaceDSLContext- See Also:
DSL.dropViewIfExists(Name)
-
dropViewIfExists
public DropViewFinalStep dropViewIfExists(Table<?> view)
Description copied from interface:DSLContextCreate a new DSLDROP VIEW IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropViewIfExistsin interfaceDSLContext- See Also:
DSL.dropViewIfExists(Table)
-
dropTable
public DropTableStep dropTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLEstatement.- Specified by:
dropTablein interfaceDSLContext- See Also:
DSL.dropTable(String)
-
dropTable
public DropTableStep dropTable(Name table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLEstatement.- Specified by:
dropTablein interfaceDSLContext- See Also:
DSL.dropTable(Name)
-
dropTable
public DropTableStep dropTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLEstatement.- Specified by:
dropTablein interfaceDSLContext- See Also:
DSL.dropTable(Table)
-
dropTemporaryTable
public DropTableStep dropTemporaryTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLDROP TEMPORARY TABLEstatement.- Specified by:
dropTemporaryTablein interfaceDSLContext- See Also:
DSL.dropTemporaryTable(String)
-
dropTemporaryTable
public DropTableStep dropTemporaryTable(Name table)
Description copied from interface:DSLContextCreate a new DSLDROP TEMPORARY TABLEstatement.- Specified by:
dropTemporaryTablein interfaceDSLContext- See Also:
DSL.dropTemporaryTable(Name)
-
dropTemporaryTable
public DropTableStep dropTemporaryTable(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLDROP TEMPORARY TABLEstatement.- Specified by:
dropTemporaryTablein interfaceDSLContext- See Also:
DSL.dropTemporaryTable(Table)
-
dropTableIfExists
public DropTableStep dropTableIfExists(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropTableIfExistsin interfaceDSLContext- See Also:
DSL.dropTableIfExists(String)
-
dropTableIfExists
public DropTableStep dropTableIfExists(Name table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropTableIfExistsin interfaceDSLContext- See Also:
DSL.dropTableIfExists(Name)
-
dropTableIfExists
public DropTableStep dropTableIfExists(Table<?> table)
Description copied from interface:DSLContextCreate a new DSLDROP TABLE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropTableIfExistsin interfaceDSLContext- See Also:
DSL.dropTableIfExists(Table)
-
dropIndex
public DropIndexOnStep dropIndex(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEXstatement.- Specified by:
dropIndexin interfaceDSLContext- See Also:
DSL.dropIndex(String)
-
dropIndex
public DropIndexOnStep dropIndex(Name index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEXstatement.- Specified by:
dropIndexin interfaceDSLContext- See Also:
DSL.dropIndex(Name)
-
dropIndex
public DropIndexOnStep dropIndex(Index index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEXstatement.- Specified by:
dropIndexin interfaceDSLContext- See Also:
DSL.dropIndex(Name)
-
dropIndexIfExists
public DropIndexOnStep dropIndexIfExists(java.lang.String index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropIndexIfExistsin interfaceDSLContext- See Also:
DSL.dropIndexIfExists(String)
-
dropIndexIfExists
public DropIndexOnStep dropIndexIfExists(Name index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropIndexIfExistsin interfaceDSLContext- See Also:
DSL.dropIndexIfExists(Name)
-
dropIndexIfExists
public DropIndexOnStep dropIndexIfExists(Index index)
Description copied from interface:DSLContextCreate a new DSLDROP INDEX IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropIndexIfExistsin interfaceDSLContext- See Also:
DSL.dropIndexIfExists(Name)
-
dropSequence
public DropSequenceFinalStep dropSequence(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCEstatement.- Specified by:
dropSequencein interfaceDSLContext- See Also:
DSL.dropSequence(String)
-
dropSequence
public DropSequenceFinalStep dropSequence(Name sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCEstatement.- Specified by:
dropSequencein interfaceDSLContext- See Also:
DSL.dropSequence(Name)
-
dropSequence
public DropSequenceFinalStep dropSequence(Sequence<?> sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCEstatement.- Specified by:
dropSequencein interfaceDSLContext- See Also:
DSL.dropSequence(Sequence)
-
dropSequenceIfExists
public DropSequenceFinalStep dropSequenceIfExists(java.lang.String sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropSequenceIfExistsin interfaceDSLContext- See Also:
DSL.dropSequenceIfExists(String)
-
dropSequenceIfExists
public DropSequenceFinalStep dropSequenceIfExists(Name sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropSequenceIfExistsin interfaceDSLContext- See Also:
DSL.dropSequenceIfExists(Name)
-
dropSequenceIfExists
public DropSequenceFinalStep dropSequenceIfExists(Sequence<?> sequence)
Description copied from interface:DSLContextCreate a new DSLDROP SEQUENCE IF EXISTSstatement.If your database doesn't natively support
IF EXISTS, this is emulated by catching (and ignoring) the relevantSQLException.- Specified by:
dropSequenceIfExistsin interfaceDSLContext- See Also:
DSL.dropSequenceIfExists(Sequence)
-
truncate
public final TruncateIdentityStep<Record> truncate(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Synonym for
DSLContext.truncateTable(String)- Specified by:
truncatein interfaceDSLContext
-
truncate
public final TruncateIdentityStep<Record> truncate(Name table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Synonym for
DSLContext.truncateTable(Name)- Specified by:
truncatein interfaceDSLContext
-
truncate
public <R extends Record> TruncateIdentityStep<R> truncate(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Synonym for
DSLContext.truncateTable(Table)- Specified by:
truncatein interfaceDSLContext
-
truncateTable
public final TruncateIdentityStep<Record> truncateTable(java.lang.String table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Example:
DSLContext create = DSL.using(configuration); create.truncate(table) .execute();Emulation 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:create.truncate(table) .restartIdentity() .cascade() .execute();These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- Specified by:
truncateTablein interfaceDSLContext- See Also:
DSLContext.truncate(Table)
-
truncateTable
public final TruncateIdentityStep<Record> truncateTable(Name table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Example:
DSLContext create = DSL.using(configuration); create.truncate(table) .execute();Emulation 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:create.truncate(table) .restartIdentity() .cascade() .execute();These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- Specified by:
truncateTablein interfaceDSLContext- See Also:
DSLContext.truncate(Name)
-
truncateTable
public <R extends Record> TruncateIdentityStep<R> truncateTable(Table<R> table)
Description copied from interface:DSLContextCreate a new DSL truncate statement.Example:
DSLContext create = DSL.using(configuration); create.truncate(table) .execute();Emulation 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:create.truncate(table) .restartIdentity() .cascade() .execute();These vendor-specific extensions are currently not emulated for those dialects that do not support them natively.
- Specified by:
truncateTablein interfaceDSLContext
-
grant
public GrantOnStep grant(Privilege privilege)
Description copied from interface:DSLContextGrant a privilege on a table to user or role.- Specified by:
grantin interfaceDSLContext
-
grant
public GrantOnStep grant(Privilege... privileges)
Description copied from interface:DSLContextGrant privileges on a table to user or role.- Specified by:
grantin interfaceDSLContext
-
grant
public GrantOnStep grant(java.util.Collection<? extends Privilege> privileges)
Description copied from interface:DSLContextGrant privileges on a table to user or role.- Specified by:
grantin interfaceDSLContext
-
revoke
public RevokeOnStep revoke(Privilege privilege)
Description copied from interface:DSLContextRevoke a privilege on table from user or role.- Specified by:
revokein interfaceDSLContext
-
revoke
public RevokeOnStep revoke(Privilege... privileges)
Description copied from interface:DSLContextRevoke privileges on table from user or role.- Specified by:
revokein interfaceDSLContext
-
revoke
public RevokeOnStep revoke(java.util.Collection<? extends Privilege> privileges)
Description copied from interface:DSLContextRevoke privileges on table from user or role.- Specified by:
revokein interfaceDSLContext
-
revokeGrantOptionFor
public RevokeOnStep revokeGrantOptionFor(Privilege privilege)
Description copied from interface:DSLContextRevoke grant option for a privilege on a table from user or role.- Specified by:
revokeGrantOptionForin interfaceDSLContext
-
revokeGrantOptionFor
public RevokeOnStep revokeGrantOptionFor(Privilege... privileges)
Description copied from interface:DSLContextRevoke grant option for some privileges on a table from user or role.- Specified by:
revokeGrantOptionForin interfaceDSLContext
-
revokeGrantOptionFor
public RevokeOnStep revokeGrantOptionFor(java.util.Collection<? extends Privilege> privileges)
Description copied from interface:DSLContextRevoke grant option for some privileges on a table from user or role.- Specified by:
revokeGrantOptionForin interfaceDSLContext
-
lastID
public java.math.BigInteger lastID()
Description copied from interface:DSLContextRetrieve the last inserted ID.This is implemented for the following dialects:
SQLDialect.ACCESS: Using@@identitySQLDialect.ASE: Using@@identitySQLDialect.CUBRID: Usinglast_insert_id()SQLDialect.DERBY: Usingidentity_val_local()SQLDialect.H2: Usingidentity()SQLDialect.HSQLDB: Usingidentity()SQLDialect.INFORMIX: Usingdbinfo('sqlca.sqlerrd1')SQLDialect.INGRES: Usinglast_identity()SQLDialect.MARIADB: Usinglast_insert_id()SQLDialect.MYSQL: Usinglast_insert_id()SQLDialect.POSTGRES: Usinglastval()SQLDialect.SQLITE: Usinglast_insert_rowid()SQLDialect.SQLSERVER: Using@@identitySQLDialect.SYBASE: Using@@identitySQLDialect.VERTICA: Usinglast_insert_id()
- Specified by:
lastIDin interfaceDSLContext- Returns:
- The last inserted ID. This may be
nullin some dialects, if no such number is available.
-
nextval
public java.math.BigInteger nextval(java.lang.String sequence)
Description copied from interface:DSLContextConvenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
nextvalin interfaceDSLContext
-
nextval
public java.math.BigInteger nextval(Name sequence)
Description copied from interface:DSLContextConvenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
nextvalin interfaceDSLContext
-
nextval
public <T extends java.lang.Number> T nextval(Sequence<T> sequence)
Description copied from interface:DSLContextConvenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
nextvalin interfaceDSLContext
-
currval
public java.math.BigInteger currval(java.lang.String sequence)
Description copied from interface:DSLContextConvenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
currvalin interfaceDSLContext
-
currval
public java.math.BigInteger currval(Name sequence)
Description copied from interface:DSLContextConvenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
currvalin interfaceDSLContext
-
currval
public <T extends java.lang.Number> T currval(Sequence<T> sequence)
Description copied from interface:DSLContextConvenience method to fetch the CURRVAL for a sequence directly from thisDSLContext's underlying JDBCConnection.- Specified by:
currvalin interfaceDSLContext
-
newRecord
public Record newRecord(Field<?>... fields)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Parameters:
fields- The fields defining theRecordtype- Returns:
- The new record
-
newRecord
public Record newRecord(java.util.Collection<? extends Field<?>> fields)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Parameters:
fields- The fields defining theRecordtype- Returns:
- The new record
-
newRecord
public <T1> Record1<T1> newRecord(Field<T1> field1)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2> Record2<T1,T2> newRecord(Field<T1> field1, Field<T2> field2)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3> Record3<T1,T2,T3> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4> Record4<T1,T2,T3,T4> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5> Record5<T1,T2,T3,T4,T5> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6> Record6<T1,T2,T3,T4,T5,T6> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7> Record7<T1,T2,T3,T4,T5,T6,T7> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8> Record8<T1,T2,T3,T4,T5,T6,T7,T8> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9> Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> newRecord(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Returns:
- The new record
-
newRecord
public <R extends UDTRecord<R>> R newRecord(UDT<R> type)
Description copied from interface:DSLContextCreate a newUDTRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Type Parameters:
R- The generic record type- Parameters:
type- The UDT describing records of type <R>- Returns:
- The new record
-
newRecord
public <R extends Record> R newRecord(Table<R> table)
Description copied from interface:DSLContextCreate a newRecordthat can be inserted into the corresponding table.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Type Parameters:
R- The generic record type- Parameters:
table- The table holding records of type <R>- Returns:
- The new record
-
newRecord
public <R extends Record> R newRecord(Table<R> table, java.lang.Object source)
Description copied from interface:DSLContextCreate a new pre-filledRecordthat can be inserted into the corresponding table.This performs roughly the inverse operation of
Record.into(Class)The resulting record will have its internal "changed" flags set to true for all values. This means that
UpdatableRecord.store()will perform anINSERTstatement. If you wish to store the record using anUPDATEstatement, useDSLContext.executeUpdate(UpdatableRecord)instead.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newRecordin interfaceDSLContext- Type Parameters:
R- The generic record type- Parameters:
table- The table holding records of type <R>source- The source to be used to fill the new record- Returns:
- The new record
- See Also:
Record.from(Object),Record.into(Class)
-
newResult
public <R extends Record> Result<R> newResult(Table<R> table)
Description copied from interface:DSLContextCreate a new emptyResult.The result is attached to this
Configurationby default. This result can be used as a container for records.- Specified by:
newResultin interfaceDSLContext- Type Parameters:
R- The generic record type- Parameters:
table- The table holding records of type <R>- Returns:
- The new result
-
newResult
public Result<Record> newResult(Field<?>... fields)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Parameters:
fields- The fields defining theRecordtype- Returns:
- The new record
-
newResult
public Result<Record> newResult(java.util.Collection<? extends Field<?>> fields)
Description copied from interface:DSLContextCreate a new emptyRecord.The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Parameters:
fields- The fields defining theRecordtype- Returns:
- The new record
-
newResult
public <T1> Result<Record1<T1>> newResult(Field<T1> field1)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2> Result<Record2<T1,T2>> newResult(Field<T1> field1, Field<T2> field2)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3> Result<Record3<T1,T2,T3>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4> Result<Record4<T1,T2,T3,T4>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5> Result<Record5<T1,T2,T3,T4,T5>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6> Result<Record6<T1,T2,T3,T4,T5,T6>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7> Result<Record7<T1,T2,T3,T4,T5,T6,T7>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8> Result<Record8<T1,T2,T3,T4,T5,T6,T7,T8>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9> Result<Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Result<Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> Result<Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> Result<Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> Result<Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> Result<Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> Result<Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Result<Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> Result<Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> Result<Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> Result<Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> Result<Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> Result<Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
newResult
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> Result<Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> newResult(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
Description copied from interface:DSLContextCreate a new emptyResult.The resulting result is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
newResultin interfaceDSLContext- Returns:
- The new result
-
fetch
public <R extends Record> Result<R> fetch(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return results.- Specified by:
fetchin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The result. This will never be
null. - See Also:
ResultQuery.fetch()
-
fetchLazy
public <R extends Record> Cursor<R> fetchLazy(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a cursor.- Specified by:
fetchLazyin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The cursor. This will never be
null. - See Also:
ResultQuery.fetchLazy()
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(ResultQuery<R> query)
Description copied from interface:DSLContextFetch results in a newCompletionStage.The result is asynchronously completed by a task running in an
Executorprovided by theScope.configuration()'sConfiguration.executorProvider().- Specified by:
fetchAsyncin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The completion stage. The completed result will never be
null. - See Also:
ResultQuery.fetchAsync()
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, ResultQuery<R> query)
Description copied from interface:DSLContextFetch results in a newCompletionStagethat is asynchronously completed by a task running in the given executor.- Specified by:
fetchAsyncin interfaceDSLContextquery- The query to execute- Returns:
- The completion stage. The completed result will never be
null. - See Also:
ResultQuery.fetchAsync()
-
fetchStream
public <R extends Record> java.util.stream.Stream<R> fetchStream(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a stream.- Specified by:
fetchStreamin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The stream
- See Also:
ResultQuery.stream()
-
fetchMany
public <R extends Record> Results fetchMany(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a cursor.- Specified by:
fetchManyin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The results. This will never be
null. - See Also:
ResultQuery.fetchMany()
-
fetchOne
public <R extends Record> R fetchOne(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a record.- Specified by:
fetchOnein interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The record or
null, if no record was found. - See Also:
ResultQuery.fetchOne()
-
fetchSingle
public <R extends Record> R fetchSingle(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a record.- Specified by:
fetchSinglein interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The record. This is never
null. - See Also:
ResultQuery.fetchSingle()
-
fetchOptional
public <R extends Record> java.util.Optional<R> fetchOptional(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a record.- Specified by:
fetchOptionalin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The record
- See Also:
ResultQuery.fetchOptional()
-
fetchValue
public <T> T fetchValue(Table<? extends Record1<T>> table)
Description copied from interface:DSLContextFetch a single value from a single column table.- Specified by:
fetchValuein interfaceDSLContext- Parameters:
table- The table from which to fetch a value- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T,R extends Record1<T>> T fetchValue(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a single value.- Specified by:
fetchValuein interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T> T fetchValue(TableField<?,T> field)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a single value.- Specified by:
fetchValuein interfaceDSLContext- Parameters:
field- The field for which to fetch a single value.- Returns:
- The value or
null, if no record was found.
-
fetchValue
public <T> T fetchValue(Field<T> field)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a single value.- Specified by:
fetchValuein interfaceDSLContext- Parameters:
field- The field for which to fetch a single value.- Returns:
- The value or
null, if no record was found.
-
fetchOptionalValue
public <T,R extends Record1<T>> java.util.Optional<T> fetchOptionalValue(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a single value.- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The value.
-
fetchOptionalValue
public <T> java.util.Optional<T> fetchOptionalValue(TableField<?,T> field)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return a single value.- Specified by:
fetchOptionalValuein interfaceDSLContext- Parameters:
field- The field for which to fetch a single value.- Returns:
- The value.
-
fetchValues
public <T> java.util.List<T> fetchValues(Table<? extends Record1<T>> table)
Description copied from interface:DSLContextFetch all values from a single column table.- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
table- The table from which to fetch values- Returns:
- The values. This will never be
null.
-
fetchValues
public <T,R extends Record1<T>> java.util.List<T> fetchValues(ResultQuery<R> query)
Description copied from interface:DSLContextExecute aResultQueryin the context of thisDSLContextand return all values for the only column.- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The values. This will never be
null.
-
fetchValues
public <T> java.util.List<T> fetchValues(TableField<?,T> field)
Description copied from interface:DSLContextFetch all values in a givenTable'sTableField.- Specified by:
fetchValuesin interfaceDSLContext- Parameters:
field- The field for which to fetch all values.- Returns:
- The values. This will never be
null.
-
fetchByExample
public <R extends TableRecord<R>> Result<R> fetchByExample(R example)
Description copied from interface:DSLContextExecute a "Query by Example" (QBE) based on an example record.- Specified by:
fetchByExamplein interfaceDSLContext- Parameters:
example- The example record- Returns:
- The resulting records matching the example record.
- See Also:
DSL.condition(Record)
-
fetchCount
public int fetchCount(Select<?> query)
Description copied from interface:DSLContextExecute aSelectquery in the context of thisDSLContextand return aCOUNT(*)value.This wraps a pre-existing
SELECTquery in another one to calculate theCOUNT(*)value, without modifying the originalSELECT. An example:This is particularly useful for those databases that do not support the-- Original query: SELECT id, title FROM book WHERE title LIKE '%a%' -- Wrapped query: SELECT count(*) FROM ( SELECT id, title FROM book WHERE title LIKE '%a%' )
COUNT(*) OVER()window function to calculate total results in paged queries.- Specified by:
fetchCountin interfaceDSLContext- Parameters:
query- The wrapped query- Returns:
- The
COUNT(*)result
-
fetchCount
public int fetchCount(Table<?> table)
Description copied from interface:DSLContextCount the number of records in a table.This executes
SELECT COUNT(*) FROM table
- Specified by:
fetchCountin interfaceDSLContext- Parameters:
table- The table whose records to count- Returns:
- The number of records in the table
-
fetchCount
public int fetchCount(Table<?> table, Condition condition)
Description copied from interface:DSLContextCount the number of records in a table that satisfy a condition.This executes
SELECT COUNT(*) FROM table WHERE condition
- Specified by:
fetchCountin interfaceDSLContext- Parameters:
table- The table whose records to countcondition- The condition to apply- Returns:
- The number of records in the table that satisfy a condition
-
fetchCount
public int fetchCount(Table<?> table, Condition... conditions)
Description copied from interface:DSLContextCount the number of records in a table that satisfy a condition.This executes
SELECT COUNT(*) FROM table WHERE condition
Convenience API for calling
DSLContext.fetchCount(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchCountin interfaceDSLContext- Parameters:
table- The table whose records to countconditions- The conditions to apply- Returns:
- The number of records in the table that satisfy a condition
-
fetchCount
public int fetchCount(Table<?> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextCount the number of records in a table that satisfy a condition.This executes
SELECT COUNT(*) FROM table WHERE condition
Convenience API for calling
DSLContext.fetchCount(Table, Condition)withDSL.and(Collection).- Specified by:
fetchCountin interfaceDSLContext- Parameters:
table- The table whose records to countconditions- The conditions to apply- Returns:
- The number of records in the table that satisfy a condition
-
fetchExists
public boolean fetchExists(Select<?> query)
Description copied from interface:DSLContextCheck if aSelectwould return any records, if it were executed.This wraps a pre-existing
SELECTquery in another one to check for result existence, without modifying the originalSELECT. An example:-- Original query: SELECT id, title FROM book WHERE title LIKE '%a%' -- Wrapped query: SELECT EXISTS ( SELECT id, title FROM book WHERE title LIKE '%a%' )
- Specified by:
fetchExistsin interfaceDSLContext- Parameters:
query- The wrapped query- Returns:
- The
EXISTS(...)result
-
fetchExists
public boolean fetchExists(Table<?> table)
Description copied from interface:DSLContextCheck if a table has any records.This executes
SELECT EXISTS(SELECT * FROM table)
- Specified by:
fetchExistsin interfaceDSLContext- Parameters:
table- The table whose records to count- Returns:
- Whether the table contains any records
-
fetchExists
public boolean fetchExists(Table<?> table, Condition condition)
Description copied from interface:DSLContextCheck if a table has any records that satisfy a condition.This executes
SELECT EXISTS(SELECT * FROM table WHERE condition)
- Specified by:
fetchExistsin interfaceDSLContext- Parameters:
table- The table whose records to count- Returns:
- Whether the table contains any records that satisfy a condition
-
fetchExists
public boolean fetchExists(Table<?> table, Condition... conditions)
Description copied from interface:DSLContextCheck if a table has any records that satisfy a condition.This executes
SELECT EXISTS(SELECT * FROM table WHERE condition)
Convenience API for calling
DSLContext.fetchExists(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchExistsin interfaceDSLContext- Parameters:
table- The table whose records to count- Returns:
- Whether the table contains any records that satisfy a condition
-
fetchExists
public boolean fetchExists(Table<?> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextCheck if a table has any records that satisfy a condition.This executes
SELECT EXISTS(SELECT * FROM table WHERE condition)
Convenience API for calling
DSLContext.fetchExists(Table, Condition)withDSL.and(Collection).- Specified by:
fetchExistsin interfaceDSLContext- Parameters:
table- The table whose records to count- Returns:
- Whether the table contains any records that satisfy a condition
-
execute
public int execute(Query query)
Description copied from interface:DSLContextExecute aQueryin the context of thisDSLContext.- Specified by:
executein interfaceDSLContext- Parameters:
query- The query to execute- Returns:
- The number of affected rows
- See Also:
Query.execute()
-
fetch
public <R extends Record> Result<R> fetch(Table<R> table)
Description copied from interface:DSLContextExecute and return all records for.SELECT * FROM [table]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchin interfaceDSLContext- Returns:
- The results from the executed query. This will never be
null.
-
fetch
public <R extends Record> Result<R> fetch(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return all records for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchin interfaceDSLContext- Returns:
- The results from the executed query. This will never be
null.
-
fetch
public <R extends Record> Result<R> fetch(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return all records for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetch(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchin interfaceDSLContext- Returns:
- The results from the executed query. This will never be
null.
-
fetch
public <R extends Record> Result<R> fetch(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return all records for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetch(Table, Condition)withDSL.and(Collection).- Specified by:
fetchin interfaceDSLContext- Returns:
- The results from the executed query. This will never be
null.
-
fetchOne
public <R extends Record> R fetchOne(Table<R> table)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchOnein interfaceDSLContext- Returns:
- The record or
null, if no record was found.
-
fetchOne
public <R extends Record> R fetchOne(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchOnein interfaceDSLContext- Returns:
- The record or
null, if no record was found.
-
fetchOne
public <R extends Record> R fetchOne(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchOne(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchOnein interfaceDSLContext- Returns:
- The record or
null, if no record was found.
-
fetchOne
public <R extends Record> R fetchOne(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchOne(Table, Condition)withDSL.and(Collection).- Specified by:
fetchOnein interfaceDSLContext- Returns:
- The record or
null, if no record was found.
-
fetchSingle
public <R extends Record> R fetchSingle(Table<R> table)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT * FROM [table]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <R extends Record> R fetchSingle(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <R extends Record> R fetchSingle(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <R extends Record> R fetchSingle(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(Table, Condition)withDSL.and(Collection).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public Record fetchSingle(SelectField<?>... fields) throws DataAccessException
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null. - Throws:
DataAccessException- if something went wrong executing the query
-
fetchSingle
public Record fetchSingle(java.util.Collection<? extends SelectField<?>> fields) throws DataAccessException
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null. - Throws:
DataAccessException- if something went wrong executing the query
-
fetchSingle
public <T1> Record1<T1> fetchSingle(SelectField<T1> field1)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2> Record2<T1,T2> fetchSingle(SelectField<T1> field1, SelectField<T2> field2)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3> Record3<T1,T2,T3> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4> Record4<T1,T2,T3,T4> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5> Record5<T1,T2,T3,T4,T5> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6> Record6<T1,T2,T3,T4,T5,T6> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7> Record7<T1,T2,T3,T4,T5,T6,T7> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8> Record8<T1,T2,T3,T4,T5,T6,T7,T8> fetchSingle(SelectField<T1> field1, SelectField<T2> field2, SelectField<T3> field3, SelectField<T4> field4, SelectField<T5> field5, SelectField<T6> field6, SelectField<T7> field7, SelectField<T8> field8)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9> Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchSingle
public <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> fetchSingle(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)
Description copied from interface:DSLContextExecute and return exactly one record for.SELECT F1, F2, ..., FN
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchSingle(ResultQuery)withDSL.select(SelectFieldOrAsterisk...).- Specified by:
fetchSinglein interfaceDSLContext- Returns:
- The record. This is never
null.
-
fetchOptional
public <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchOptionalin interfaceDSLContext- Returns:
- The record
-
fetchOptional
public <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchOptionalin interfaceDSLContext- Returns:
- The record
-
fetchOptional
public <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchOptional(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchOptionalin interfaceDSLContext- Returns:
- The record
-
fetchOptional
public <R extends Record> java.util.Optional<R> fetchOptional(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition]
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchOptional(Table, Condition)withDSL.and(Collection).- Specified by:
fetchOptionalin interfaceDSLContext- Returns:
- The record
-
fetchAny
public <R extends Record> R fetchAny(Table<R> table)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] LIMIT 1
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAnyin interfaceDSLContext- Returns:
- The record or
nullif no record was returned
-
fetchAny
public <R extends Record> R fetchAny(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition] LIMIT 1
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAnyin interfaceDSLContext- Returns:
- The record or
nullif no record was returned
-
fetchAny
public <R extends Record> R fetchAny(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition] LIMIT 1
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAny(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchAnyin interfaceDSLContext- Returns:
- The record or
nullif no record was returned
-
fetchAny
public <R extends Record> R fetchAny(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return zero or one record for.SELECT * FROM [table] WHERE [condition] LIMIT 1
The resulting record is attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAny(Table, Condition)withDSL.and(Collection).- Specified by:
fetchAnyin interfaceDSLContext- Returns:
- The record or
nullif no record was returned
-
fetchLazy
public <R extends Record> Cursor<R> fetchLazy(Table<R> table)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchLazyin interfaceDSLContext- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public <R extends Record> Cursor<R> fetchLazy(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchLazyin interfaceDSLContext- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public <R extends Record> Cursor<R> fetchLazy(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchLazy(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchLazyin interfaceDSLContext- Returns:
- The cursor. This will never be
null.
-
fetchLazy
public <R extends Record> Cursor<R> fetchLazy(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchLazy(Table, Condition)withDSL.and(Collection).- Specified by:
fetchLazyin interfaceDSLContext- Returns:
- The cursor. This will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAsync(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAsync(Table, Condition)withDSL.and(Collection).- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAsync(Executor, Table, Condition)withDSL.and(Condition...).- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchAsync
public <R extends Record> java.util.concurrent.CompletionStage<Result<R>> fetchAsync(java.util.concurrent.Executor executor, Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return all records asynchronously for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchAsync(Executor, Table, Condition)withDSL.and(Collection).- Specified by:
fetchAsyncin interfaceDSLContext- Returns:
- The completion stage. The completed result will never be
null.
-
fetchStream
public <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchStreamin interfaceDSLContext
-
fetchStream
public <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table, Condition condition)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.- Specified by:
fetchStreamin interfaceDSLContext
-
fetchStream
public <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table, Condition... conditions)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchStream(Table, Condition)withDSL.and(Condition...).- Specified by:
fetchStreamin interfaceDSLContext
-
fetchStream
public <R extends Record> java.util.stream.Stream<R> fetchStream(Table<R> table, java.util.Collection<? extends Condition> conditions)
Description copied from interface:DSLContextExecute and return all records lazily for.SELECT * FROM [table] WHERE [condition]
The result and its contained records are attached to this
Configurationby default. UseSettings.isAttachRecords()to override this behaviour.Convenience API for calling
DSLContext.fetchStream(Table, Condition)withDSL.and(Collection).- Specified by:
fetchStreamin interfaceDSLContext
-
executeInsert
public int executeInsert(TableRecord<?> record)
Description copied from interface:DSLContextInsert one record.This executes something like the following statement:
INSERT INTO [table] ... VALUES [record]
Unlike
UpdatableRecord.store(), this does not change any of the argumentrecord's internal "changed" flags, such that a subsequent call toUpdatableRecord.store()might lead to anotherINSERTstatement being executed.- Specified by:
executeInsertin interfaceDSLContext- Returns:
- The number of inserted records
-
executeUpdate
public int executeUpdate(UpdatableRecord<?> record)
Description copied from interface:DSLContextUpdate a table.UPDATE [table] SET [modified values in record] WHERE [record is supplied record]
- Specified by:
executeUpdatein interfaceDSLContext- Returns:
- The number of updated records
-
executeUpdate
public int executeUpdate(TableRecord<?> record, Condition condition)
Description copied from interface:DSLContextUpdate a table.UPDATE [table] SET [modified values in record] WHERE [condition]
- Specified by:
executeUpdatein interfaceDSLContext- Returns:
- The number of updated records
-
executeDelete
public int executeDelete(UpdatableRecord<?> record)
Description copied from interface:DSLContextDelete a record from a table.DELETE FROM [table] WHERE [record is supplied record]
- Specified by:
executeDeletein interfaceDSLContext- Returns:
- The number of deleted records
-
executeDelete
public int executeDelete(TableRecord<?> record, Condition condition)
Description copied from interface:DSLContextDelete a record from a table.DELETE FROM [table] WHERE [condition]
- Specified by:
executeDeletein interfaceDSLContext- Returns:
- The number of deleted records
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
configuration
public final Configuration configuration()
Description copied from interface:ScopeThe configuration of the current scope.- Specified by:
configurationin interfaceScope
-
dsl
public final DSLContext dsl()
Description copied from interface:ScopeWrap theScope.configuration()in aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.
-
settings
public final Settings settings()
Description copied from interface:ScopeThe settings wrapped by this context.This method is a convenient way of accessing
configuration().settings().
-
dialect
public final SQLDialect dialect()
Description copied from interface:ScopeTheSQLDialectwrapped by this context.This method is a convenient way of accessing
configuration().dialect().
-
family
public final SQLDialect family()
Description copied from interface:ScopeTheSQLDialect.family()wrapped by this context.This method is a convenient way of accessing
configuration().family().
-
data
public final java.util.Map<java.lang.Object,java.lang.Object> data()
Description copied from interface:ScopeGet all custom data from thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope.
-
data
public final java.lang.Object data(java.lang.Object key)
Description copied from interface:ScopeGet some custom data from thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope
-
data
public final java.lang.Object data(java.lang.Object key, java.lang.Object value)Description copied from interface:ScopeSet some custom data to thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope.
-
-