- BadSqlGrammarException - Exception in org.springframework.r2dbc
-
Exception thrown when SQL specified is invalid.
- BadSqlGrammarException(String, String, R2dbcException) - Constructor for exception org.springframework.r2dbc.BadSqlGrammarException
-
Constructor for BadSqlGrammarException.
- BeanFactoryConnectionFactoryLookup - Class in org.springframework.r2dbc.connection.lookup
-
- BeanFactoryConnectionFactoryLookup() - Constructor for class org.springframework.r2dbc.connection.lookup.BeanFactoryConnectionFactoryLookup
-
- BeanFactoryConnectionFactoryLookup(BeanFactory) - Constructor for class org.springframework.r2dbc.connection.lookup.BeanFactoryConnectionFactoryLookup
-
- bind(BindTarget, Object) - Method in interface org.springframework.r2dbc.core.binding.BindMarker
-
Bind the given value
to the Statement
using the underlying binding strategy.
- bind(String, Object) - Method in interface org.springframework.r2dbc.core.binding.BindTarget
-
Bind a value.
- bind(int, Object) - Method in interface org.springframework.r2dbc.core.binding.BindTarget
-
Bind a value to an index.
- bind(BindMarker, Object) - Method in class org.springframework.r2dbc.core.binding.MutableBindings
-
- bind(Object) - Method in class org.springframework.r2dbc.core.binding.MutableBindings
-
- bind(int, Object) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Bind a non-null
value to a parameter identified by its
index
.
- bind(String, Object) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Bind a non-null
value to a parameter identified by its name
.
- Binding(BindMarker) - Constructor for class org.springframework.r2dbc.core.binding.Bindings.Binding
-
- Bindings - Class in org.springframework.r2dbc.core.binding
-
Value object representing value and
null
bindings
for a
Statement
using
BindMarkers
.
- Bindings() - Constructor for class org.springframework.r2dbc.core.binding.Bindings
-
- Bindings(Collection<Bindings.Binding>) - Constructor for class org.springframework.r2dbc.core.binding.Bindings
-
- Bindings.Binding - Class in org.springframework.r2dbc.core.binding
-
Base class for value objects representing a value or a NULL
binding.
- BindMarker - Interface in org.springframework.r2dbc.core.binding
-
A bind marker represents a single bindable parameter within a query.
- BindMarkers - Interface in org.springframework.r2dbc.core.binding
-
Bind markers represent placeholders in SQL queries for substitution
for an actual parameter.
- bindMarkers(BindMarkersFactory) - Method in interface org.springframework.r2dbc.core.DatabaseClient.Builder
-
- BindMarkersFactory - Interface in org.springframework.r2dbc.core.binding
-
This class creates new
BindMarkers
instances to bind
parameter to a specific
Statement
.
- BindMarkersFactoryResolver - Class in org.springframework.r2dbc.core.binding
-
- BindMarkersFactoryResolver.BindMarkerFactoryProvider - Interface in org.springframework.r2dbc.core.binding
-
SPI to extend Spring's default R2DBC BindMarkersFactory discovery mechanism.
- BindMarkersFactoryResolver.NoBindMarkersFactoryException - Exception in org.springframework.r2dbc.core.binding
-
- bindNull(BindTarget, Class<?>) - Method in interface org.springframework.r2dbc.core.binding.BindMarker
-
Bind a null
value to the Statement
using the underlying binding strategy.
- bindNull(String, Class<?>) - Method in interface org.springframework.r2dbc.core.binding.BindTarget
-
Bind a null
value.
- bindNull(int, Class<?>) - Method in interface org.springframework.r2dbc.core.binding.BindTarget
-
Bind a null
value.
- bindNull(BindMarker, Class<?>) - Method in class org.springframework.r2dbc.core.binding.MutableBindings
-
- bindNull(Class<?>) - Method in class org.springframework.r2dbc.core.binding.MutableBindings
-
Bind a
NULL
value and return the related
BindMarker
.
- bindNull(int, Class<?>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Bind a null
value to a parameter identified by its index
.
- bindNull(String, Class<?>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Bind a null
value to a parameter identified by its name
.
- BindTarget - Interface in org.springframework.r2dbc.core.binding
-
Target to apply bindings to.
- bindTo(BindTarget) - Method in interface org.springframework.r2dbc.core.PreparedOperation
-
- build() - Method in interface org.springframework.r2dbc.core.DatabaseClient.Builder
-
- builder() - Static method in interface org.springframework.r2dbc.core.DatabaseClient
-
Obtain a DatabaseClient
builder.
- buildErrorMessage(String, int, EncodedResource) - Static method in exception org.springframework.r2dbc.connection.init.ScriptStatementFailedException
-
Build an error message for an SQL script execution failure,
based on the supplied arguments.
- CannotReadScriptException - Exception in org.springframework.r2dbc.connection.init
-
- CannotReadScriptException(EncodedResource, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.CannotReadScriptException
-
Create a new CannotReadScriptException
.
- clear() - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
- ColumnMapRowMapper - Class in org.springframework.r2dbc.core
-
Mapping function
implementation that creates a
java.util.Map
for each row, representing all columns as
key-value pairs: one entry for each column, with the column name as key.
- ColumnMapRowMapper() - Constructor for class org.springframework.r2dbc.core.ColumnMapRowMapper
-
- CompositeDatabasePopulator - Class in org.springframework.r2dbc.connection.init
-
- CompositeDatabasePopulator() - Constructor for class org.springframework.r2dbc.connection.init.CompositeDatabasePopulator
-
Create an empty CompositeDatabasePopulator
.
- CompositeDatabasePopulator(Collection<DatabasePopulator>) - Constructor for class org.springframework.r2dbc.connection.init.CompositeDatabasePopulator
-
Create a CompositeDatabasePopulator
.
- CompositeDatabasePopulator(DatabasePopulator...) - Constructor for class org.springframework.r2dbc.connection.init.CompositeDatabasePopulator
-
Create a CompositeDatabasePopulator
with the given populators.
- CONNECTION_SYNCHRONIZATION_ORDER - Static variable in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Order value for ReactiveTransactionSynchronization objects that clean up R2DBC Connections.
- ConnectionAccessor - Interface in org.springframework.r2dbc.core
-
Interface declaring methods that accept callback
Function
to operate within the scope of a
Connection
.
- connectionFactory(ConnectionFactory) - Method in interface org.springframework.r2dbc.core.DatabaseClient.Builder
-
Configure the R2DBC connector
.
- ConnectionFactoryInitializer - Class in org.springframework.r2dbc.connection.init
-
Used to
set up a database during
initialization and
clean up
a database during
destruction.
- ConnectionFactoryInitializer() - Constructor for class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- ConnectionFactoryLookup - Interface in org.springframework.r2dbc.connection.lookup
-
Strategy interface for looking up ConnectionFactory
by name.
- ConnectionFactoryLookupFailureException - Exception in org.springframework.r2dbc.connection.lookup
-
Exception to be thrown by a
ConnectionFactoryLookup
implementation,
indicating that the specified
ConnectionFactory
could
not be obtained.
- ConnectionFactoryLookupFailureException(String) - Constructor for exception org.springframework.r2dbc.connection.lookup.ConnectionFactoryLookupFailureException
-
Create a new ConnectionFactoryLookupFailureException
.
- ConnectionFactoryLookupFailureException(String, Throwable) - Constructor for exception org.springframework.r2dbc.connection.lookup.ConnectionFactoryLookupFailureException
-
Create a new ConnectionFactoryLookupFailureException
.
- ConnectionFactoryUtils - Class in org.springframework.r2dbc.connection
-
Helper class that provides static methods for obtaining R2DBC Connections from
a ConnectionFactory
.
- ConnectionHolder - Class in org.springframework.r2dbc.connection
-
Resource holder wrapping a R2DBC Connection
.
- ConnectionHolder(Connection) - Constructor for class org.springframework.r2dbc.connection.ConnectionHolder
-
Create a new ConnectionHolder for the given R2DBC Connection
,
assuming that there is no ongoing transaction.
- ConnectionHolder(Connection, boolean) - Constructor for class org.springframework.r2dbc.connection.ConnectionHolder
-
Create a new ConnectionHolder for the given R2DBC Connection
.
- containsSqlScriptDelimiters(String, String) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Does the provided SQL script contain the specified delimiter?
- convertR2dbcException(String, String, R2dbcException) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Translate the given R2dbcException
into a generic DataAccessException
.
- create() - Method in class org.springframework.r2dbc.connection.DelegatingConnectionFactory
-
- create() - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- create() - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
- create() - Method in class org.springframework.r2dbc.connection.TransactionAwareConnectionFactoryProxy
-
- create() - Method in interface org.springframework.r2dbc.core.binding.BindMarkersFactory
-
- create(ConnectionFactory) - Static method in interface org.springframework.r2dbc.core.DatabaseClient
-
Create a DatabaseClient
that will use the provided ConnectionFactory
.
- createColumnMap(int) - Method in class org.springframework.r2dbc.core.ColumnMapRowMapper
-
Create a
Map
instance to be used as column map.
- currentConnectionFactory(ConnectionFactory) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Obtain the ConnectionFactory
from the current TransactionSynchronizationManager
.
- DatabaseClient - Interface in org.springframework.r2dbc.core
-
A non-blocking, reactive client for performing database calls requests with
Reactive Streams back pressure.
- DatabaseClient.Builder - Interface in org.springframework.r2dbc.core
-
- DatabaseClient.GenericExecuteSpec - Interface in org.springframework.r2dbc.core
-
Contract for specifying an SQL call along with options leading to the execution.
- DatabasePopulator - Interface in org.springframework.r2dbc.connection.init
-
Strategy used to populate, initialize, or clean up a database.
- DEFAULT_BLOCK_COMMENT_END_DELIMITER - Static variable in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Default end delimiter for block comments within SQL scripts: "*/"
.
- DEFAULT_BLOCK_COMMENT_START_DELIMITER - Static variable in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Default start delimiter for block comments within SQL scripts: "/*"
.
- DEFAULT_COMMENT_PREFIX - Static variable in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Default prefix for single-line comments within SQL scripts: "--"
.
- DEFAULT_COMMENT_PREFIXES - Static variable in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Default prefixes for single-line comments within SQL scripts: ["--"]
.
- DEFAULT_STATEMENT_SEPARATOR - Static variable in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Default statement separator within SQL scripts: ";"
.
- DelegatingConnectionFactory - Class in org.springframework.r2dbc.connection
-
R2DBC ConnectionFactory
implementation that delegates
all calls to a given target ConnectionFactory
.
- DelegatingConnectionFactory(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.DelegatingConnectionFactory
-
- destroy() - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- destroy() - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Close the underlying Connection
.
- determineCurrentLookupKey() - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Determine the current lookup key.
- determineTargetConnectionFactory() - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Retrieve the current target ConnectionFactory
.
- determineTimeout(TransactionDefinition) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Determine the actual timeout to use for the given definition.
- doBegin(TransactionSynchronizationManager, Object, TransactionDefinition) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doCleanupAfterCompletion(TransactionSynchronizationManager, Object) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doCommit(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doGetConnection(ConnectionFactory) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Actually obtain a R2DBC Connection from the given ConnectionFactory
.
- doGetTransaction(TransactionSynchronizationManager) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doReleaseConnection(Connection, ConnectionFactory) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Actually close the given Connection
, obtained from the given
ConnectionFactory
.
- doResume(TransactionSynchronizationManager, Object, Object) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doRollback(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doSetRollbackOnly(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- doSuspend(TransactionSynchronizationManager, Object) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- get() - Method in interface org.springframework.r2dbc.core.QueryOperation
-
- getAutoCommitValue() - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Return whether the returned Connection
's "autoCommit" setting should be overridden.
- getBindings() - Method in class org.springframework.r2dbc.core.binding.Bindings
-
- getBindMarker() - Method in class org.springframework.r2dbc.core.binding.Bindings.Binding
-
- getBindMarkers(ConnectionFactory) - Method in interface org.springframework.r2dbc.core.binding.BindMarkersFactoryResolver.BindMarkerFactoryProvider
-
- getCloseSuppressingConnectionProxy(Connection) - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Wrap the given Connection
with a proxy that delegates every method call to it
but suppresses close calls.
- getColumnKey(String) - Method in class org.springframework.r2dbc.core.ColumnMapRowMapper
-
Determine the key to use for the given column in the column
Map
.
- getColumnValue(Row, int) - Method in class org.springframework.r2dbc.core.ColumnMapRowMapper
-
Retrieve a R2DBC object value for the specified column.
- getConnection(ConnectionFactory) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Obtain a Connection
from the given ConnectionFactory
.
- getConnection() - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
- getConnectionFactories() - Method in class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
Get the
Map
of
ConnectionFactories
maintained by this object.
- getConnectionFactory(String) - Method in class org.springframework.r2dbc.connection.lookup.BeanFactoryConnectionFactoryLookup
-
- getConnectionFactory(String) - Method in interface org.springframework.r2dbc.connection.lookup.ConnectionFactoryLookup
-
Retrieve the ConnectionFactory
identified by the given name.
- getConnectionFactory(String) - Method in class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
- getConnectionFactory(String) - Method in class org.springframework.r2dbc.connection.lookup.SingleConnectionFactoryLookup
-
- getConnectionFactory() - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Return the R2DBC ConnectionFactory
that this instance manages transactions for.
- getConnectionFactory() - Method in interface org.springframework.r2dbc.core.DatabaseClient
-
Return the ConnectionFactory
that this client uses.
- getMetadata() - Method in class org.springframework.r2dbc.connection.DelegatingConnectionFactory
-
- getMetadata() - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- getPlaceholder() - Method in interface org.springframework.r2dbc.core.binding.BindMarker
-
Return the database-specific placeholder for a given substitution.
- getR2dbcException() - Method in exception org.springframework.r2dbc.BadSqlGrammarException
-
Return the wrapped R2dbcException
.
- getR2dbcException() - Method in exception org.springframework.r2dbc.UncategorizedR2dbcException
-
Return the wrapped R2dbcException
.
- getSource() - Method in interface org.springframework.r2dbc.core.PreparedOperation
-
Return the underlying query source.
- getSql() - Method in exception org.springframework.r2dbc.BadSqlGrammarException
-
Return the SQL that caused the problem.
- getSql() - Method in interface org.springframework.r2dbc.core.SqlProvider
-
Return the SQL string for this object, i.e.
- getSql() - Method in exception org.springframework.r2dbc.UncategorizedR2dbcException
-
Return the SQL that led to the problem (if known).
- getTargetConnection(Connection) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Return the innermost target Connection
of the given Connection
.
- getTargetConnectionFactory() - Method in class org.springframework.r2dbc.connection.DelegatingConnectionFactory
-
- getTransactionAwareConnectionProxy(ConnectionFactory) - Method in class org.springframework.r2dbc.connection.TransactionAwareConnectionFactoryProxy
-
Wraps the given
Connection
with a proxy that delegates every method call to it but delegates
close()
calls to
ConnectionFactoryUtils
.
- getType() - Method in class org.springframework.r2dbc.core.Parameter
-
Returns the column value type.
- getValue() - Method in class org.springframework.r2dbc.core.binding.Bindings.Binding
-
Return the binding value.
- getValue() - Method in class org.springframework.r2dbc.core.Parameter
-
Return the column value.
- R2dbcTransactionManager - Class in org.springframework.r2dbc.connection
-
ReactiveTransactionManager
implementation for a single R2DBC ConnectionFactory
.
- R2dbcTransactionManager() - Constructor for class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Create a new @link ConnectionFactoryTransactionManager} instance.
- R2dbcTransactionManager(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- readScript(EncodedResource, DataBufferFactory) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Read a script from the given resource, using "--
" as the comment prefix
and ";
" as the statement separator, and build a String containing the lines.
- readScript(LineNumberReader, String, String, String) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Read a script from the provided LineNumberReader
, using the supplied
comment prefix and statement separator, and build a String
containing
the lines.
- readScript(LineNumberReader, String[], String, String) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Read a script from the provided LineNumberReader
, using the supplied
comment prefixes and statement separator, and build a String
containing
the lines.
- releaseConnection(Connection, ConnectionFactory) - Static method in class org.springframework.r2dbc.connection.ConnectionFactoryUtils
-
Close the given Connection
, obtained from the given ConnectionFactory
, if
it is not managed externally (that is, not bound to the subscription).
- released() - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
Releases the current Connection
.
- resetConnection() - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Reset the underlying shared Connection, to be reinitialized on next access.
- resolve(ConnectionFactory) - Static method in class org.springframework.r2dbc.core.binding.BindMarkersFactoryResolver
-
- resolveIsolationLevel(int) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Resolve the isolation level constant
to a R2DBC
IsolationLevel
.
- resolveSpecifiedConnectionFactory(Object) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Resolve the specified connection factory object into a
ConnectionFactory
instance.
- resolveSpecifiedLookupKey(Object) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- ResourceDatabasePopulator - Class in org.springframework.r2dbc.connection.init
-
Populates, initializes, or cleans up a database using SQL
scripts defined in external resources.
- ResourceDatabasePopulator() - Constructor for class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Create a new ResourceDatabasePopulator
with default settings.
- ResourceDatabasePopulator(Resource...) - Constructor for class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Create a new ResourceDatabasePopulator
with default settings for the supplied scripts.
- ResourceDatabasePopulator(boolean, boolean, String, Resource...) - Constructor for class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Construct a new ResourceDatabasePopulator
with the supplied values.
- RowsFetchSpec<T> - Interface in org.springframework.r2dbc.core
-
Contract for fetching tabular results.
- rowsUpdated() - Method in interface org.springframework.r2dbc.core.UpdatedRowsFetchSpec
-
Get the number of updated rows.
- ScriptException - Exception in org.springframework.r2dbc.connection.init
-
Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.
- ScriptException(String) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptException
-
Create a new ScriptException
.
- ScriptException(String, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptException
-
Create a new ScriptException
.
- ScriptParseException - Exception in org.springframework.r2dbc.connection.init
-
Thrown by
ScriptUtils
if an SQL script cannot be properly parsed.
- ScriptParseException(String, EncodedResource) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptParseException
-
Create a new ScriptParseException
.
- ScriptParseException(String, EncodedResource, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptParseException
-
Create a new ScriptParseException
.
- ScriptStatementFailedException - Exception in org.springframework.r2dbc.connection.init
-
Thrown by
ScriptUtils
if a statement in an SQL script failed when
executing it against the target database.
- ScriptStatementFailedException(String, int, EncodedResource, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptStatementFailedException
-
Create a new ScriptStatementFailedException
.
- ScriptUtils - Class in org.springframework.r2dbc.connection.init
-
Generic utility methods for working with SQL scripts.
- setAutoCommit(boolean) - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Set whether the returned Connection
's "autoCommit" setting should be overridden.
- setBeanFactory(BeanFactory) - Method in class org.springframework.r2dbc.connection.lookup.BeanFactoryConnectionFactoryLookup
-
- setBlockCommentEndDelimiter(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the end delimiter that identifies block comments within the SQL
scripts.
- setBlockCommentStartDelimiter(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the start delimiter that identifies block comments within the SQL
scripts.
- setCommentPrefix(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the prefix that identifies single-line comments within the SQL scripts.
- setCommentPrefixes(String...) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the prefixes that identify single-line comments within the SQL scripts.
- setConnection(Connection) - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
Override the existing Connection with the given Connection
.
- setConnectionFactories(Map<String, ConnectionFactory>) - Method in class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
Set the
Map
of
ConnectionFactories
.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
The ConnectionFactory
for the database to populate when this component is initialized and to clean up when
this component is shut down.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Set the R2DBC ConnectionFactory
that this instance should manage transactions for.
- setConnectionFactoryLookup(ConnectionFactoryLookup) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- setContinueOnError(boolean) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Flag to indicate that all failures in SQL should be logged but not cause a failure.
- setDatabaseCleaner(DatabasePopulator) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
Set the
DatabasePopulator
to execute during the bean destruction phase, cleaning up the database and
leaving it in a known state for others.
- setDatabasePopulator(DatabasePopulator) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- setDataBufferFactory(DataBufferFactory) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the DataBufferFactory
to use for Resource
loading.
- setDefaultTargetConnectionFactory(Object) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Specify the default target ConnectionFactory
, if any.
- setEnabled(boolean) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- setEnforceReadOnly(boolean) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Specify whether to enforce the read-only nature of a transaction (as indicated by
TransactionDefinition.isReadOnly()
through an explicit statement on the
transactional connection: "SET TRANSACTION READ ONLY" as understood by Oracle,
MySQL and Postgres.
- setIgnoreFailedDrops(boolean) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Flag to indicate that a failed SQL DROP
statement can be ignored.
- setLenientFallback(boolean) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Specify whether to apply a lenient fallback to the default ConnectionFactory
if no specific ConnectionFactory
could be found for the current lookup key.
- setPopulators(DatabasePopulator...) - Method in class org.springframework.r2dbc.connection.init.CompositeDatabasePopulator
-
Specify one or more populators to delegate to.
- setScripts(Resource...) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the scripts to execute to initialize or clean up the database,
replacing any previously added scripts.
- setSeparator(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the statement separator, if a custom one.
- setSqlScriptEncoding(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the encoding for the configured SQL scripts,
if different from the platform encoding.
- setSqlScriptEncoding(Charset) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the encoding for the configured SQL scripts,
if different from the platform encoding.
- setSuppressClose(boolean) - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Set whether the returned Connection
should be a close-suppressing proxy
or the physical Connection
.
- setTargetConnectionFactories(Map<?, ?>) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
Specify the map of target ConnectionFactories
,
with the lookup key as key.
- setTransactionActive(boolean) - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
Set whether this holder represents an active, R2DBC-managed transaction.
- SingleConnectionFactory - Class in org.springframework.r2dbc.connection
-
- SingleConnectionFactory(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Constructor for bean-style configuration.
- SingleConnectionFactory(String, boolean) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
- SingleConnectionFactory(Connection, ConnectionFactoryMetadata, boolean) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
- SingleConnectionFactoryLookup - Class in org.springframework.r2dbc.connection.lookup
-
An implementation of
ConnectionFactoryLookup
that
simply wraps a single given
ConnectionFactory
returned for any connection factory name.
- SingleConnectionFactoryLookup(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.lookup.SingleConnectionFactoryLookup
-
- spliterator() - Method in class org.springframework.r2dbc.core.binding.Bindings
-
- splitSqlScript(String, char, List<String>) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Split an SQL script into separate statements delimited by the provided
separator character.
- splitSqlScript(String, String, List<String>) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Split an SQL script into separate statements delimited by the provided
separator string.
- splitSqlScript(EncodedResource, String, String, String, String, String, List<String>) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Split an SQL script into separate statements delimited by the provided
separator string.
- splitSqlScript(EncodedResource, String, String, String[], String, String, List<String>) - Static method in class org.springframework.r2dbc.connection.init.ScriptUtils
-
Split an SQL script into separate statements delimited by the provided
separator string.
- sql(String) - Method in interface org.springframework.r2dbc.core.DatabaseClient
-
Specify a static sql
statement to run.
- sql(Supplier<String>) - Method in interface org.springframework.r2dbc.core.DatabaseClient
-
- SqlProvider - Interface in org.springframework.r2dbc.core
-
Interface to be implemented by objects that can provide SQL strings.
- StatementFilterFunction - Interface in org.springframework.r2dbc.core
-