StatementMapper
,
UpdateMapper
and R2dbcConverter
.@Deprecated public interface ReactiveDataAccessStrategy
DatabaseClient
and repository support. SQL creation is limited to single-table operations and single-column
primary keys.PreparedOperation
Modifier and Type | Interface and Description |
---|---|
static interface |
ReactiveDataAccessStrategy.NamedParameterProvider
Deprecated.
Interface to retrieve parameters for named parameter processing.
|
Modifier and Type | Method and Description |
---|---|
List<org.springframework.data.relational.core.sql.SqlIdentifier> |
getAllColumns(Class<?> entityType)
Deprecated.
|
Parameter |
getBindValue(Parameter value)
Deprecated.
Return a potentially converted
Parameter for strategies that support type conversion. |
SettableValue |
getBindValue(SettableValue value)
Deprecated.
since 1.2, use
getBindValue(Parameter) instead. |
R2dbcConverter |
getConverter()
Deprecated.
Returns the
R2dbcConverter . |
List<org.springframework.data.relational.core.sql.SqlIdentifier> |
getIdentifierColumns(Class<?> entityType)
Deprecated.
|
OutboundRow |
getOutboundRow(Object object)
Deprecated.
Returns a
OutboundRow that maps column names to a Parameter value. |
<T> BiFunction<Row,RowMetadata,T> |
getRowMapper(Class<T> typeToRead)
Deprecated.
|
StatementMapper |
getStatementMapper()
Deprecated.
Returns the
R2dbcDialect -specific StatementMapper . |
org.springframework.data.relational.core.sql.SqlIdentifier |
getTableName(Class<?> type)
Deprecated.
|
PreparedOperation<?> |
processNamedParameters(String query,
ReactiveDataAccessStrategy.NamedParameterProvider parameterProvider)
Deprecated.
since 1.2.
DatabaseClient encapsulates named parameter handling
entirely. |
default String |
renderForGeneratedValues(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
Deprecated.
Render a
SqlIdentifier in a way suitable for registering it as a generated key with a statement through
Statement#returnGeneratedValues . |
String |
toSql(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
Deprecated.
Render a
SqlIdentifier for SQL usage. |
List<org.springframework.data.relational.core.sql.SqlIdentifier> getAllColumns(Class<?> entityType)
entityType
- List<org.springframework.data.relational.core.sql.SqlIdentifier> getIdentifierColumns(Class<?> entityType)
entityType
- OutboundRow getOutboundRow(Object object)
OutboundRow
that maps column names to a Parameter
value.object
- must not be null.@Deprecated SettableValue getBindValue(SettableValue value)
getBindValue(Parameter)
instead.SettableValue
for strategies that support type conversion.value
- must not be null.Parameter getBindValue(Parameter value)
Parameter
for strategies that support type conversion.value
- must not be null.<T> BiFunction<Row,RowMetadata,T> getRowMapper(Class<T> typeToRead)
T
- typeToRead
- org.springframework.data.relational.core.sql.SqlIdentifier getTableName(Class<?> type)
type
- entity type
.@Deprecated PreparedOperation<?> processNamedParameters(String query, ReactiveDataAccessStrategy.NamedParameterProvider parameterProvider)
DatabaseClient
encapsulates named parameter handling
entirely.PreparedOperation
wrapping the given bindings.query
- the query to expand.parameterProvider
- indexed parameter bindings.PreparedOperation
encapsulating expanded SQL and namedBindings.InvalidDataAccessApiUsageException
- if a named parameter value cannot be resolved.StatementMapper getStatementMapper()
R2dbcDialect
-specific StatementMapper
.R2dbcDialect
-specific StatementMapper
.R2dbcConverter getConverter()
R2dbcConverter
.R2dbcConverter
.String toSql(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
SqlIdentifier
for SQL usage.identifier
- the identifier to be rendered.SqlIdentifier.toSql(IdentifierProcessing)
default String renderForGeneratedValues(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
SqlIdentifier
in a way suitable for registering it as a generated key with a statement through
Statement#returnGeneratedValues
.identifier
- to render. Must not be null.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.