- All Implemented Interfaces:
Serializable
,AutoCloseable
,CloseableDSLContext
,DSLContext
,Scope
DefaultDSLContext
that implements also the
CloseableDSLContext
contract.- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultCloseableDSLContext
(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect) DefaultCloseableDSLContext
(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect, Settings settings) DefaultCloseableDSLContext
(ConnectionProvider connectionProvider, SQLDialect dialect) DefaultCloseableDSLContext
(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the underlying resources, if any resources have been allocated when constructing thisDSLContext
.final Configuration
The configuration of the current scope.data()
Get all custom data from thisScope
.final Object
Get some custom data from thisScope
.final Object
Set some custom data to thisScope
.final SQLDialect
dialect()
TheSQLDialect
wrapped by this context.final DSLContext
dsl()
Wrap theScope.configuration()
in aDSLContext
, providing access to the configuration-contextual DSL to construct executable queries.final SQLDialect
family()
TheSQLDialect.family()
wrapped by this context.final Settings
settings()
The settings wrapped by this context.Methods inherited from class org.jooq.impl.DefaultDSLContext
alterDatabase, alterDatabase, alterDatabase, alterDatabaseIfExists, alterDatabaseIfExists, alterDatabaseIfExists, alterDomain, alterDomain, alterDomain, alterDomainIfExists, alterDomainIfExists, alterDomainIfExists, alterIndex, alterIndex, alterIndex, alterIndexIfExists, alterIndexIfExists, alterIndexIfExists, alterSchema, alterSchema, alterSchema, alterSchemaIfExists, alterSchemaIfExists, alterSchemaIfExists, alterSequence, alterSequence, alterSequence, alterSequenceIfExists, alterSequenceIfExists, alterSequenceIfExists, alterTable, alterTable, alterTable, alterTableIfExists, alterTableIfExists, alterTableIfExists, alterType, alterType, alterView, alterView, alterView, alterViewIfExists, alterViewIfExists, alterViewIfExists, attach, attach, batch, batch, batch, batch, batch, batch, batch, batch, batchDelete, batchDelete, batched, batchedResult, batchInsert, batchInsert, batchMerge, batchMerge, batchStore, batchStore, batchUpdate, batchUpdate, begin, begin, bindContext, call, call, commentOnColumn, commentOnColumn, commentOnColumn, commentOnTable, commentOnTable, commentOnTable, commentOnView, commentOnView, commentOnView, commit, commits, connection, connectionResult, createDatabase, createDatabase, createDatabase, createDatabaseIfNotExists, createDatabaseIfNotExists, createDatabaseIfNotExists, createDomain, createDomain, createDomain, createDomainIfNotExists, createDomainIfNotExists, createDomainIfNotExists, createFunction, createFunction, createGlobalTemporaryTable, createGlobalTemporaryTable, createGlobalTemporaryTable, createIndex, createIndex, createIndex, createIndex, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createOrReplaceFunction, createOrReplaceFunction, createOrReplaceProcedure, createOrReplaceProcedure, createOrReplaceTrigger, createOrReplaceTrigger, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createProcedure, createProcedure, createSchema, createSchema, createSchema, createSchemaIfNotExists, createSchemaIfNotExists, createSchemaIfNotExists, createSequence, createSequence, createSequence, createSequenceIfNotExists, createSequenceIfNotExists, createSequenceIfNotExists, createTable, createTable, createTable, createTableIfNotExists, createTableIfNotExists, createTableIfNotExists, createTemporaryTable, createTemporaryTable, createTemporaryTable, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTrigger, createTrigger, createType, createType, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createView, createView, createView, createView, createView, createView, createView, createView, createView, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, currval, currval, currval, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, delete, deleteFrom, deleteQuery, diagnosticsConnection, diagnosticsDataSource, dropDatabase, dropDatabase, dropDatabase, dropDatabaseIfExists, dropDatabaseIfExists, dropDatabaseIfExists, dropDomain, dropDomain, dropDomain, dropDomainIfExists, dropDomainIfExists, dropDomainIfExists, dropFunction, dropFunction, dropFunctionIfExists, dropFunctionIfExists, dropIndex, dropIndex, dropIndex, dropIndexIfExists, dropIndexIfExists, dropIndexIfExists, dropProcedure, dropProcedure, dropProcedureIfExists, dropProcedureIfExists, dropSchema, dropSchema, dropSchema, dropSchemaIfExists, dropSchemaIfExists, dropSchemaIfExists, dropSequence, dropSequence, dropSequence, dropSequenceIfExists, dropSequenceIfExists, dropSequenceIfExists, dropTable, dropTable, dropTable, dropTableIfExists, dropTableIfExists, dropTableIfExists, dropTemporaryTable, dropTemporaryTable, dropTemporaryTable, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTrigger, dropTrigger, dropTriggerIfExists, dropTriggerIfExists, dropType, dropType, dropType, dropType, dropType, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropView, dropView, dropView, dropViewIfExists, dropViewIfExists, dropViewIfExists, execute, execute, execute, execute, execute, executeDelete, executeDelete, executeInsert, executeUpdate, executeUpdate, explain, extractBindValues, extractParam, extractParams, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchAny, fetchAny, fetchAny, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchByExample, fetchCount, fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchExists, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromHTML, fetchFromJSON, fetchFromStringData, fetchFromStringData, fetchFromStringData, fetchFromTXT, fetchFromTXT, fetchFromXML, fetchGroups, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchMany, fetchMany, fetchMany, fetchMany, fetchMany, fetchMap, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, grant, grant, grant, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertQuery, lastID, loadInto, map, map, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, meta, meta, meta, meta, meta, meta, meta, meta, meta, migrateTo, mock, mockResult, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, nextval, nextval, nextval, nextvals, parser, parsingConnection, parsingConnectionFactory, parsingDataSource, queries, queries, query, query, query, query, render, renderContext, renderInlined, renderNamedOrInlinedParams, renderNamedParams, resultQuery, resultQuery, resultQuery, resultQuery, revoke, revoke, revoke, revokeGrantOptionFor, revokeGrantOptionFor, revokeGrantOptionFor, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, selectCount, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectOne, selectQuery, selectQuery, selectZero, set, setCatalog, setCatalog, setCatalog, setLocal, setSchema, setSchema, setSchema, statements, statements, toString, transaction, transaction, transactionAsync, transactionAsync, transactionResult, transactionResult, transactionResultAsync, transactionResultAsync, truncate, truncate, truncate, truncateTable, truncateTable, truncateTable, update, updateQuery, version, versions, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jooq.DSLContext
alterDatabase, alterDatabase, alterDatabase, alterDatabaseIfExists, alterDatabaseIfExists, alterDatabaseIfExists, alterDomain, alterDomain, alterDomain, alterDomainIfExists, alterDomainIfExists, alterDomainIfExists, alterIndex, alterIndex, alterIndex, alterIndexIfExists, alterIndexIfExists, alterIndexIfExists, alterSchema, alterSchema, alterSchema, alterSchemaIfExists, alterSchemaIfExists, alterSchemaIfExists, alterSequence, alterSequence, alterSequence, alterSequenceIfExists, alterSequenceIfExists, alterSequenceIfExists, alterTable, alterTable, alterTable, alterTableIfExists, alterTableIfExists, alterTableIfExists, alterType, alterType, alterView, alterView, alterView, alterViewIfExists, alterViewIfExists, alterViewIfExists, attach, attach, batch, batch, batch, batch, batch, batch, batch, batch, batchDelete, batchDelete, batched, batchedResult, batchInsert, batchInsert, batchMerge, batchMerge, batchStore, batchStore, batchUpdate, batchUpdate, begin, begin, bindContext, call, call, commentOnColumn, commentOnColumn, commentOnColumn, commentOnTable, commentOnTable, commentOnTable, commentOnView, commentOnView, commentOnView, commit, commits, connection, connectionResult, createDatabase, createDatabase, createDatabase, createDatabaseIfNotExists, createDatabaseIfNotExists, createDatabaseIfNotExists, createDomain, createDomain, createDomain, createDomainIfNotExists, createDomainIfNotExists, createDomainIfNotExists, createFunction, createFunction, createGlobalTemporaryTable, createGlobalTemporaryTable, createGlobalTemporaryTable, createIndex, createIndex, createIndex, createIndex, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createOrReplaceFunction, createOrReplaceFunction, createOrReplaceProcedure, createOrReplaceProcedure, createOrReplaceTrigger, createOrReplaceTrigger, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createProcedure, createProcedure, createSchema, createSchema, createSchema, createSchemaIfNotExists, createSchemaIfNotExists, createSchemaIfNotExists, createSequence, createSequence, createSequence, createSequenceIfNotExists, createSequenceIfNotExists, createSequenceIfNotExists, createTable, createTable, createTable, createTableIfNotExists, createTableIfNotExists, createTableIfNotExists, createTemporaryTable, createTemporaryTable, createTemporaryTable, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTrigger, createTrigger, createType, createType, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createView, createView, createView, createView, createView, createView, createView, createView, createView, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, currval, currval, currval, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, delete, deleteFrom, deleteQuery, diagnosticsConnection, diagnosticsDataSource, dropDatabase, dropDatabase, dropDatabase, dropDatabaseIfExists, dropDatabaseIfExists, dropDatabaseIfExists, dropDomain, dropDomain, dropDomain, dropDomainIfExists, dropDomainIfExists, dropDomainIfExists, dropFunction, dropFunction, dropFunctionIfExists, dropFunctionIfExists, dropIndex, dropIndex, dropIndex, dropIndexIfExists, dropIndexIfExists, dropIndexIfExists, dropProcedure, dropProcedure, dropProcedureIfExists, dropProcedureIfExists, dropSchema, dropSchema, dropSchema, dropSchemaIfExists, dropSchemaIfExists, dropSchemaIfExists, dropSequence, dropSequence, dropSequence, dropSequenceIfExists, dropSequenceIfExists, dropSequenceIfExists, dropTable, dropTable, dropTable, dropTableIfExists, dropTableIfExists, dropTableIfExists, dropTemporaryTable, dropTemporaryTable, dropTemporaryTable, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTrigger, dropTrigger, dropTriggerIfExists, dropTriggerIfExists, dropType, dropType, dropType, dropType, dropType, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropView, dropView, dropView, dropViewIfExists, dropViewIfExists, dropViewIfExists, execute, execute, execute, execute, execute, executeDelete, executeDelete, executeInsert, executeUpdate, executeUpdate, explain, extractBindValues, extractParam, extractParams, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchAny, fetchAny, fetchAny, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchByExample, fetchCount, fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchExists, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromHTML, fetchFromJSON, fetchFromStringData, fetchFromStringData, fetchFromStringData, fetchFromTXT, fetchFromTXT, fetchFromXML, fetchGroups, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchMany, fetchMany, fetchMany, fetchMany, fetchMany, fetchMap, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, grant, grant, grant, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertQuery, lastID, loadInto, map, map, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, meta, meta, meta, meta, meta, meta, meta, meta, meta, migrateTo, mock, mockResult, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, nextval, nextval, nextval, nextvals, parser, parsingConnection, parsingConnectionFactory, parsingDataSource, queries, queries, query, query, query, query, render, renderContext, renderInlined, renderNamedOrInlinedParams, renderNamedParams, resultQuery, resultQuery, resultQuery, resultQuery, revoke, revoke, revoke, revokeGrantOptionFor, revokeGrantOptionFor, revokeGrantOptionFor, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, selectCount, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectOne, selectQuery, selectQuery, selectZero, set, setCatalog, setCatalog, setCatalog, setLocal, setSchema, setSchema, setSchema, statements, statements, transaction, transaction, transactionAsync, transactionAsync, transactionResult, transactionResult, transactionResultAsync, transactionResultAsync, truncate, truncate, truncate, truncateTable, truncateTable, truncateTable, update, updateQuery, version, versions, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive
-
Constructor Details
-
DefaultCloseableDSLContext
public DefaultCloseableDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) -
DefaultCloseableDSLContext
-
DefaultCloseableDSLContext
public DefaultCloseableDSLContext(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect, Settings settings) -
DefaultCloseableDSLContext
public DefaultCloseableDSLContext(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect)
-
-
Method Details
-
close
public void close()Description copied from interface:CloseableDSLContext
Close the underlying resources, if any resources have been allocated when constructing thisDSLContext
.Some
DSLContext
constructors, such asDSL.using(String)
,DSL.using(String, Properties)
, orDSL.using(String, String, String)
allocate aConnection
resource, which is inaccessible to the outside of theDSLContext
implementation. Proper resource management must thus be done via thisCloseableDSLContext.close()
method.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseableDSLContext
-
configuration
Description copied from interface:Scope
The configuration of the current scope.- Specified by:
configuration
in interfaceScope
-
dsl
Description copied from interface:Scope
Wrap theScope.configuration()
in aDSLContext
, providing access to the configuration-contextual DSL to construct executable queries. -
settings
Description copied from interface:Scope
The settings wrapped by this context.This method is a convenient way of accessing
configuration().settings()
. -
dialect
Description copied from interface:Scope
TheSQLDialect
wrapped by this context.This method is a convenient way of accessing
configuration().dialect()
. -
family
Description copied from interface:Scope
TheSQLDialect.family()
wrapped by this context.This method is a convenient way of accessing
configuration().family()
. -
data
Description copied from interface:Scope
Get 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 toQueryPart
objects for a givenScope
. -
data
Description copied from interface:Scope
Get 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 toQueryPart
objects for a givenScope
-
data
Description copied from interface:Scope
Set 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 toQueryPart
objects for a givenScope
.
-