- All Implemented Interfaces:
- Serializable,- Configuration
DSLContext, if no
 custom configuration was supplied to DSL.using(Configuration).
 
 The DefaultConfiguration
- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal AuditProviderGet the configuredAuditProviderfrom this configuration.final CacheProviderGet this configuration's underlying cache provider.final CharsetProviderGet the configuredCharsetProviderfrom this configuration.final Clockclock()Get this configuration'sClock, which is used for optimistic locking, transaction time, and other time-depending features.final CommitProviderGet this configuration's underlying commit provider.final io.r2dbc.spi.ConnectionFactoryGet this configuration's underlying R2DBC connection factory.final ConnectionProviderGet this configuration's underlying connection provider.final ConverterProviderGet the configuredConverterProviderfrom this configuration.final ConcurrentHashMap<Object,Object> data()Get all custom data from thisConfiguration.final ObjectGet some custom data from thisConfiguration.final ObjectSet some custom data to thisConfiguration.final Configurationderive()Create a derived configuration from this one, without changing any properties.final Configurationderive(io.r2dbc.spi.ConnectionFactory newConnectionFactory) Create a derived configuration from this one, with a new R2DBC connection factory.final Configurationderive(Connection newConnection) Create a derived configuration from this one, with a new connection wrapped in aDefaultConnectionProvider.final ConfigurationCreate a derived configuration from this one, with a newClock.final ConfigurationCreate a derived configuration from this one, with a new executor.final Configurationderive(DataSource newDataSource) Create a derived configuration from this one, with a new data source wrapped in aDataSourceConnectionProvider.final Configurationderive(AuditProvider newAuditProvider) Create a derived configuration from this one, with a new audit provider.final Configurationderive(CacheProvider newCacheProvider) Create a derived configuration from this one, with a new cache provider.final Configurationderive(CharsetProvider newCharsetProvider) Create a derived configuration from this one, with a new charset provider.final Configurationderive(CommitProvider newCommitProvider) Create a derived configuration from this one, with a new commit provider.final ConfigurationCreate a derived configuration from this one, with new settings.final Configurationderive(ConnectionProvider newConnectionProvider) Create a derived configuration from this one, with a new connection provider.final Configurationderive(ConverterProvider newConverterProvider) Create a derived configuration from this one, with new converter provider.final Configurationderive(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Create a derived configuration from this one, with new diagnostics listener providers.final Configurationderive(ExecuteListenerProvider... newExecuteListenerProviders) Create a derived configuration from this one, with new execute listener providers.final Configurationderive(ExecutorProvider newExecutorProvider) Create a derived configuration from this one, with a new executor provider.final Configurationderive(FormattingProvider newFormattingProvider) Create a derived configuration from this one, with new formatting provider.final Configurationderive(MetaProvider newMetaProvider) Create a derived configuration from this one, with a new meta provider.final Configurationderive(MigrationListenerProvider... newMigrationListenerProviders) Create a derived configuration from this one, with new migration listener providers.final Configurationderive(ParseListenerProvider... newParseListenerProviders) Create a derived configuration from this one, with new parse listener providers.final Configurationderive(RecordListenerProvider... newRecordListenerProviders) Create a derived configuration from this one, with new record listener providers.final Configurationderive(RecordMapper<?, ?> newRecordMapper) Create a derived configuration from this one, with a new record mapper.final Configurationderive(RecordMapperProvider newRecordMapperProvider) Create a derived configuration from this one, with a new record mapper provider.final Configurationderive(RecordUnmapper<?, ?> newRecordUnmapper) Create a derived configuration from this one, with a new record unmapper.final Configurationderive(RecordUnmapperProvider newRecordUnmapperProvider) Create a derived configuration from this one, with a new record unmapper provider.final Configurationderive(SQLDialect newDialect) Create a derived configuration from this one, with a new dialect.final Configurationderive(TransactionListenerProvider... newTransactionListenerProviders) Create a derived configuration from this one, with new transaction listener providers.final Configurationderive(TransactionProvider newTransactionProvider) Create a derived configuration from this one, with a new transaction provider.final Configurationderive(TransformProvider newTransformProvider) Create a derived configuration from this one, with a new transform provider.final ConfigurationCreate a derived configuration from this one, with a new unwrapper.final Configurationderive(UnwrapperProvider newUnwrapperProvider) Create a derived configuration from this one, with a new unwrapper provider.final Configurationderive(VisitListenerProvider... newVisitListenerProviders) Create a derived configuration from this one, with new visit listener providers.final ConfigurationderiveSettings(Function<? super Settings, ? extends Settings> newSettings) Create a derived configuration from this one, with new settings constructed from a clone of the current settings.final DiagnosticsListenerProvider[]Get the configuredDiagnosticsListenerProviders from this configuration.final SQLDialectdialect()Retrieve the configured dialect.final DSLContextdsl()Wrap thisConfigurationin aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.final ExecuteListenerProvider[]Get the configuredExecuteListenerProviders from this configuration.final ExecutorProviderGet this configuration's underlying executor provider.final SQLDialectfamily()Retrieve the family of the configured dialect.final FormattingProviderGet the configuredFormattingProviderfrom this configuration.final ConnectionProviderGet this configuration's underlying interpreter connection provider, which provides connections for DDL interpretation.final MetaProviderGet this configuration's underlying meta provider.final MigrationListenerProvider[]Get the configuredMigrationListenerProviders from this configuration.final ParseListenerProvider[]Get the configuredParseListenerProviderinstances from this configuration.final RecordListenerProvider[]Get the configuredRecordListenerProviders from this configuration.final RecordMapperProviderGet this configuration's underlying record mapper provider.final RecordUnmapperProviderGet this configuration's underlying record unmapper provider.final SchemaMappingDeprecated.final Configurationset(io.r2dbc.spi.ConnectionFactory newConnectionFactory) Change this configuration to hold a new R2DBC connection factory.final Configurationset(Connection newConnection) Change this configuration to hold a new connection wrapped in aDefaultConnectionProvider.final ConfigurationChange this configuration to hold a newClock.final ConfigurationChange this configuration to hold a new executor.final Configurationset(DataSource newDataSource) Change this configuration to hold a new data source wrapped in aDataSourceConnectionProvider.final Configurationset(AuditProvider newAuditProvider) Change this configuration to hold new audit provider.final Configurationset(CacheProvider newCacheProvider) Change this configuration to hold a new cache provider.final Configurationset(CharsetProvider newCharsetProvider) Change this configuration to hold a new charset provider.final Configurationset(CommitProvider newCommitProvider) Change this configuration to hold a new commit provider.final ConfigurationChange this configuration to hold a new settings.final Configurationset(ConnectionProvider newConnectionProvider) Change this configuration to hold a new connection provider.final Configurationset(ConverterProvider newConverterProvider) Change this configuration to hold a new converter provider.final Configurationset(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Change this configuration to hold new diagnostics listener providers.final Configurationset(ExecuteListenerProvider... newExecuteListenerProviders) Change this configuration to hold new execute listener providers.final Configurationset(ExecutorProvider newExecutorProvider) Change this configuration to hold a new executor provider.final Configurationset(FormattingProvider newFormattingProvider) Change this configuration to hold a new formatting provider.final Configurationset(MetaProvider newMetaProvider) Change this configuration to hold a new meta provider.final Configurationset(MigrationListenerProvider... newMigrationListenerProviders) Change this configuration to hold new migration listener providers.final Configurationset(ParseListenerProvider... newParseListenerProviders) Change this configuration to hold new parse listener providers.final Configurationset(RecordListenerProvider... newRecordListenerProviders) Change this configuration to hold new record listener providers.final Configurationset(RecordMapper<?, ?> newRecordMapper) Change this configuration to hold a new record mapper.final Configurationset(RecordMapperProvider newRecordMapperProvider) Change this configuration to hold a new record mapper provider.final Configurationset(RecordUnmapper<?, ?> newRecordUnmapper) Change this configuration to hold a new record unmapper.final Configurationset(RecordUnmapperProvider newRecordUnmapperProvider) Change this configuration to hold a new record unmapper provider.final Configurationset(SQLDialect newDialect) Change this configuration to hold a new dialect.final Configurationset(TransactionListenerProvider... newTransactionListenerProviders) Change this configuration to hold new transaction listener providers.final Configurationset(TransactionProvider newTransactionProvider) Change this configuration to hold a new transaction provider.final Configurationset(TransformProvider newTransformProvider) Change this configuration to hold new transform provider.final ConfigurationChange this configuration to hold a new unwrapper.final Configurationset(UnwrapperProvider newUnwrapperProvider) Change this configuration to hold a new unwrapper provider.final Configurationset(VisitListenerProvider... newVisitListenerProviders) Change this configuration to hold new visit listener providers.final voidsetAuditProvider(AuditProvider newAuditProvider) final voidsetCacheProvider(CacheProvider newCacheProvider) final voidfinal voidsetConnection(Connection newConnection) final voidsetConnectionFactory(io.r2dbc.spi.ConnectionFactory newConnectionFactory) final voidsetConnectionProvider(ConnectionProvider newConnectionProvider) final voidsetDataSource(DataSource newDataSource) final voidsetDiagnosticsListener(DiagnosticsListener... newDiagnosticsListener) final voidsetDiagnosticsListenerProvider(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) final voidsetExecuteListener(ExecuteListener... newExecuteListeners) final voidsetExecuteListenerProvider(ExecuteListenerProvider... newExecuteListenerProviders) final voidsetExecutor(Executor newExecutor) final voidsetExecutorProvider(ExecutorProvider newExecutorProvider) final voidsetInterpreterConnectionProvider(ConnectionProvider newInterpreterConnectionProvider) final voidsetMetaProvider(MetaProvider newMetaProvider) final voidsetParseListener(ParseListener... newParseListener) final voidsetParseListenerProvider(ParseListenerProvider... newParseListenerProviders) final voidsetRecordListener(RecordListener... newRecordListeners) final voidsetRecordListenerProvider(RecordListenerProvider... newRecordListenerProviders) final voidsetRecordMapper(RecordMapper<?, ?> newRecordMapper) final voidsetRecordMapperProvider(RecordMapperProvider newRecordMapperProvider) final voidsetRecordUnmapper(RecordUnmapper<?, ?> newRecordUnmapper) final voidsetRecordUnmapperProvider(RecordUnmapperProvider newRecordUnmapperProvider) final voidsetSettings(Settings newSettings) final voidsetSQLDialect(SQLDialect newDialect) final voidsetSystemConnectionProvider(ConnectionProvider newSystemConnectionProvider) final Settingssettings()Retrieve the runtime configuration settings.final voidsetTransactionListener(TransactionListener... newTransactionListeners) final voidsetTransactionListenerProvider(TransactionListenerProvider... newTransactionListenerProviders) final voidsetTransactionProvider(TransactionProvider newTransactionProvider) final voidsetTransformProvider(TransformProvider newTransformProvider) final voidsetUnwrapper(Unwrapper newUnwrapper) final voidsetUnwrapperProvider(UnwrapperProvider newUnwrapperProvider) final voidsetVersionProvider(CommitProvider newCommitProvider) final voidsetVisitListener(VisitListener... newVisitListeners) final voidsetVisitListenerProvider(VisitListenerProvider... newVisitListenerProviders) final ConnectionProviderGet this configuration's underlying system connection provider, which provides connections for system tasks.toString()final TransactionListenerProvider[]Get the configuredTransactionListenerProviders from this configuration.final TransactionProviderGet this configuration's underlying transaction provider.final TransformProviderGet the configuredTransformProviderfrom this configuration.final UnwrapperProviderGet the configuredUnwrapperProviderfrom this configuration.final VisitListenerProvider[]Get the configuredVisitListenerProviderinstances from this configuration.Methods inherited from class org.jooq.impl.AbstractConfigurationcommercial, derive, derive, derive, derive, derive, derive, derive, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, deriveAppending, requireCommercial, set, set, set, set, set, set, set, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppending, setAppendingMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.Configurationcommercial
- 
Constructor Details- 
DefaultConfigurationpublic DefaultConfiguration()Create a new configuration object.
 
- 
- 
Method Details- 
dslDescription copied from interface:ConfigurationWrap thisConfigurationin aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.In the DefaultConfigurationimplementation, this is just convenience forDSL.using(Configuration). There's no functional difference between the two methods.
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, without changing any properties.- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new connection wrapped in aDefaultConnectionProvider.- Parameters:
- newConnection- The new connection to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new data source wrapped in aDataSourceConnectionProvider.- Parameters:
- newDataSource- The new data source to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new R2DBC connection factory.- Parameters:
- newConnectionFactory- The new connection factory to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new connection provider.- Parameters:
- newConnectionProvider- The new connection provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new meta provider.- Parameters:
- newMetaProvider- The new meta provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new commit provider.- Parameters:
- newCommitProvider- The new commit provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new executor.This will wrap the argument Executorin aDefaultExecutorProviderfor convenience.- Parameters:
- newExecutor- The new executor to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new executor provider.- Parameters:
- newExecutorProvider- The new executor provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new cache provider.- Parameters:
- newCacheProvider- The new cache provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new transaction provider.- Parameters:
- newTransactionProvider- The new transaction provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new record mapper.This will wrap the argument RecordMapperin aDefaultRecordMapperProviderfor convenience.- Parameters:
- newRecordMapper- The new record mapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new record mapper provider.- Parameters:
- newRecordMapperProvider- The new record mapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new record unmapper.This will wrap the argument RecordUnmapperin aDefaultRecordUnmapperProviderfor convenience.- Parameters:
- newRecordUnmapper- The new record unmapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new record unmapper provider.- Parameters:
- newRecordUnmapperProvider- The new record unmapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new record listener providers.- Parameters:
- newRecordListenerProviders- The new record listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new execute listener providers.- Parameters:
- newExecuteListenerProviders- The new execute listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new migration listener providers.- Parameters:
- newMigrationListenerProviders- The new migration listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new visit listener providers.- Parameters:
- newVisitListenerProviders- The new visit listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new transaction listener providers.- Parameters:
- newTransactionListenerProviders- The new transaction listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new diagnostics listener providers.- Parameters:
- newDiagnosticsListenerProviders- The new diagnostics listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new unwrapper.- Parameters:
- newUnwrapper- The new unwrapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new unwrapper provider.- Parameters:
- newUnwrapperProvider- The new unwrapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new charset provider.- Parameters:
- newCharsetProvider- The new charset provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new converter provider.- Parameters:
- newConverterProvider- The new converter provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new formatting provider.- Parameters:
- newFormattingProvider- The new formatting provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new parse listener providers.- Parameters:
- newParseListenerProviders- The new parse listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new audit provider.- Parameters:
- newAuditProvider- The new audit provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new transform provider.- Parameters:
- newTransformProvider- The new transform provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a newClock.- Parameters:
- newClock- The new clock to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with a new dialect.- Parameters:
- newDialect- The new dialect to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new settings.- Parameters:
- newSettings- The new settings to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveSettingspublic final Configuration deriveSettings(Function<? super Settings, ? extends Settings> newSettings) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new settings constructed from a clone of the current settings.- Parameters:
- newSettings- A function producing the new settings to be contained in the derived configuration based on a clone of the current settings.
- Returns:
- The derived configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new connection wrapped in aDefaultConnectionProvider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newConnection- The new connection to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new data source wrapped in aDataSourceConnectionProvider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newDataSource- The new data source to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new connection provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newConnectionProvider- The new connection provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new R2DBC connection factory.This method is not thread-safe and should not be used in globally available Configurationobjects.- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new meta provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newMetaProvider- The new meta provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new commit provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newCommitProvider- The new commit provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new executor.This will wrap the argument Executorin aDefaultExecutorProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newExecutor- The new executor to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new executor provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newExecutorProvider- The new executor provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new cache provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newCacheProvider- The new cache provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new transaction provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newTransactionProvider- The new transaction provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new record mapper.This will wrap the argument RecordMapperin aDefaultRecordMapperProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newRecordMapper- The new record mapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new record mapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newRecordMapperProvider- The new record mapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new record unmapper.This will wrap the argument RecordUnmapperin aDefaultRecordUnmapperProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newRecordUnmapper- The new record unmapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new record unmapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newRecordUnmapperProvider- The new record unmapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new record listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newRecordListenerProviders- The new record listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new execute listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newExecuteListenerProviders- The new execute listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new migration listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newMigrationListenerProviders- The new migration listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new visit listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newVisitListenerProviders- The new visit listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new transaction listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newTransactionListenerProviders- The new transaction listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new diagnostics listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newDiagnosticsListenerProviders- The new diagnostics listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new unwrapper.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newUnwrapper- The new unwrapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new unwrapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newUnwrapperProvider- The new unwrapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new charset provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newCharsetProvider- The new charset provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new converter provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newConverterProvider- The new converter provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new formatting provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newFormattingProvider- The new formatting provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new parse listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newParseListenerProviders- The new parse listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new audit provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newAuditProvider- The new audit provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new transform provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newTransformProvider- The new transform provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a newClock.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newClock- The new clock to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new dialect.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newDialect- The new dialect to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new settings.This method is not thread-safe and should not be used in globally available Configurationobjects.- Parameters:
- newSettings- The new settings to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setConnection- See Also:
 
- 
setDataSource- See Also:
 
- 
setConnectionFactorypublic final void setConnectionFactory(io.r2dbc.spi.ConnectionFactory newConnectionFactory) - See Also:
 
- 
setConnectionProvider- See Also:
 
- 
setInterpreterConnectionProviderpublic final void setInterpreterConnectionProvider(ConnectionProvider newInterpreterConnectionProvider) - See Also:
 
- 
setSystemConnectionProvider- See Also:
 
- 
setMetaProvider- See Also:
 
- 
setVersionProvider- See Also:
 
- 
setExecutor- See Also:
 
- 
setExecutorProvider- See Also:
 
- 
setCacheProvider- See Also:
 
- 
setTransactionProvider- See Also:
 
- 
setRecordMapper- See Also:
 
- 
setRecordMapperProvider- See Also:
 
- 
setRecordUnmapper- See Also:
 
- 
setRecordUnmapperProvider- See Also:
 
- 
setRecordListener
- 
setRecordListenerProvider- See Also:
 
- 
setExecuteListener
- 
setExecuteListenerProviderpublic final void setExecuteListenerProvider(ExecuteListenerProvider... newExecuteListenerProviders) - See Also:
 
- 
setVisitListener
- 
setVisitListenerProvider- See Also:
 
- 
setTransactionListener
- 
setTransactionListenerProviderpublic final void setTransactionListenerProvider(TransactionListenerProvider... newTransactionListenerProviders) - See Also:
 
- 
setDiagnosticsListener
- 
setDiagnosticsListenerProviderpublic final void setDiagnosticsListenerProvider(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) - See Also:
 
- 
setParseListener
- 
setParseListenerProvider- See Also:
 
- 
setAuditProvider- See Also:
 
- 
setTransformProvider- See Also:
 
- 
setUnwrapper- See Also:
 
- 
setUnwrapperProvider- See Also:
 
- 
setClock- See Also:
 
- 
setSQLDialect- See Also:
 
- 
setSettings- See Also:
 
- 
connectionProviderDescription copied from interface:ConfigurationGet this configuration's underlying connection provider.
- 
interpreterConnectionProviderDescription copied from interface:ConfigurationGet this configuration's underlying interpreter connection provider, which provides connections for DDL interpretation.- See Also:
 
- 
systemConnectionProviderDescription copied from interface:ConfigurationGet this configuration's underlying system connection provider, which provides connections for system tasks.System tasks may include the generation of auxiliary data types or stored procedures, which users may want to generate using a different data source or transaction. By default, this connection provider is the same as Configuration.connectionProvider().
- 
connectionFactorypublic final io.r2dbc.spi.ConnectionFactory connectionFactory()Description copied from interface:ConfigurationGet this configuration's underlying R2DBC connection factory.
- 
metaProviderDescription copied from interface:ConfigurationGet this configuration's underlying meta provider.
- 
commitProviderDescription copied from interface:ConfigurationGet this configuration's underlying commit provider.
- 
executorProviderDescription copied from interface:ConfigurationGet this configuration's underlying executor provider.Asynchronous operations will call back to this SPI to obtain an executor. This applies, for example, to ResultQuery.fetchAsync().The following logic is applied when resolving the appropriate executor:- If Configuration.executorProvider()does not returnnull, thenExecutorProvider.provide()is called to obtain anExecutorfor the asynchronous task.
- In the jOOQ Java 8 distribution, ForkJoinPool.commonPool()is used ifForkJoinPool.getCommonPoolParallelism()> 1
- A new "one thread per call" Executoris used in any other case.
 The SPI will not be called if an asynchronous operation explicitly overrides the Executor, e.g. as is the case forResultQuery.fetchAsync(Executor).
- If 
- 
cacheProviderDescription copied from interface:ConfigurationGet this configuration's underlying cache provider.Cached operations will call this SPI to obtain a thread safe cache implementation to cache various things internally. This SPI allows for replacing the default cache implementation, which is mostly a ConcurrentHashMap, by a more specialised one, e.g. a LRU cache, e.g. from Guava.
- 
transactionProviderDescription copied from interface:ConfigurationGet this configuration's underlying transaction provider.If no explicit transaction provider was specified, and if Configuration.connectionProvider()is aDefaultConnectionProvider, then this will return aDefaultTransactionProvider.
- 
recordMapperProviderDescription copied from interface:ConfigurationGet this configuration's underlying record mapper provider.
- 
recordUnmapperProviderDescription copied from interface:ConfigurationGet this configuration's underlying record unmapper provider.
- 
recordListenerProvidersDescription copied from interface:ConfigurationGet the configuredRecordListenerProviders from this configuration.This method allows for retrieving the configured RecordListenerProviderfrom this configuration. The providers will provide jOOQ withRecordListenerinstances. These instances receive record manipulation notification events every time jOOQ executes queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an RecordContext(i.e. that of a single record manipulation)
- follow an entirely different lifecycle.
 - Returns:
- The configured set of record listeners.
- See Also:
 
- share this 
- 
executeListenerProvidersDescription copied from interface:ConfigurationGet the configuredExecuteListenerProviders from this configuration.This method allows for retrieving the configured ExecuteListenerProviderfrom this configuration. The providers will provide jOOQ withExecuteListenerinstances. These instances receive execution lifecycle notification events every time jOOQ executes queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an ExecuteContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 Note, depending on your Settings.isExecuteLogging(), some additional listeners may be prepended to this list, internally. Those listeners will never be exposed through this method, though.- Returns:
- The configured set of execute listeners.
- See Also:
 
- share this 
- 
migrationListenerProvidersDescription copied from interface:ConfigurationGet the configuredMigrationListenerProviders from this configuration.This method allows for retrieving the configured MigrationListenerProviderfrom this configuration. The providers will provide jOOQ withMigrationListenerinstances. These instances receive migration lifecycle notification events every time jOOQ executes migrations. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an MigrationContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 - Returns:
- The configured set of migration listeners.
- See Also:
 
- share this 
- 
visitListenerProvidersDescription copied from interface:ConfigurationGet the configuredVisitListenerProviderinstances from this configuration.This method allows for retrieving the configured VisitListenerProviderinstances from this configuration. The providers will provide jOOQ withVisitListenerinstances. These instances receive query rendering lifecycle notification events every time jOOQ renders queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an ExecuteContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 - Returns:
- The configured set of visit listeners.
- See Also:
 
- share this 
- 
transactionListenerProvidersDescription copied from interface:ConfigurationGet the configuredTransactionListenerProviders from this configuration.
- 
diagnosticsListenerProvidersDescription copied from interface:ConfigurationGet the configuredDiagnosticsListenerProviders from this configuration.
- 
unwrapperProviderDescription copied from interface:ConfigurationGet the configuredUnwrapperProviderfrom this configuration.
- 
charsetProviderDescription copied from interface:ConfigurationGet the configuredCharsetProviderfrom this configuration.
- 
converterProviderDescription copied from interface:ConfigurationGet the configuredConverterProviderfrom this configuration.
- 
formattingProviderDescription copied from interface:ConfigurationGet the configuredFormattingProviderfrom this configuration.
- 
parseListenerProvidersDescription copied from interface:ConfigurationGet the configuredParseListenerProviderinstances from this configuration.
- 
auditProviderDescription copied from interface:ConfigurationGet the configuredAuditProviderfrom this configuration.
- 
transformProviderDescription copied from interface:ConfigurationGet the configuredTransformProviderfrom this configuration.
- 
clockDescription copied from interface:ConfigurationGet this configuration'sClock, which is used for optimistic locking, transaction time, and other time-depending features.
- 
dialectDescription copied from interface:ConfigurationRetrieve the configured dialect.
- 
familyDescription copied from interface:ConfigurationRetrieve the family of the configured dialect.
- 
settingsDescription copied from interface:ConfigurationRetrieve the runtime configuration settings.
- 
dataDescription copied from interface:ConfigurationGet all custom data from thisConfiguration.This is custom data that was previously set to the configuration using Configuration.data(Object, Object). Use custom data if you want to pass data to your customQueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.See ExecuteListenerfor more details.- Returns:
- The custom data. This is never null
- See Also:
 
- 
dataDescription copied from interface:ConfigurationGet some custom data from thisConfiguration.This is custom data that was previously set to the configuration using Configuration.data(Object, Object). Use custom data if you want to pass data to your customQueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.See ExecuteListenerfor more details.- Parameters:
- key- A key to identify the custom data
- Returns:
- The custom data or nullif no such data is contained in thisConfiguration
- See Also:
 
- 
dataDescription copied from interface:ConfigurationSet some custom data to thisConfiguration.Use custom data if you want to pass data to your custom QueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.Be sure that your custom data implements Serializableif you want to serialise thisConfigurationor objects referencing thisConfiguration, e.g. yourRecordtypes.See ExecuteListenerfor more details.- Parameters:
- key- A key to identify the custom data
- value- The custom data
- Returns:
- The previously set custom data or nullif no data was previously set for the given key
- See Also:
 
- 
schemaMappingDeprecated.Description copied from interface:ConfigurationRetrieve the configured schema mapping.
- 
toString
 
-