public final class R2dbc extends Object
| Modifier and Type | Method and Description |
|---|---|
static R2dbcMessageSourceSpec |
inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations,
Expression queryExpression)
Create an instance of
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and SpEL expression for query. |
static R2dbcMessageSourceSpec |
inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations,
java.util.function.Function<R2dbcMessageSource.SelectCreator,org.springframework.data.r2dbc.core.StatementMapper.SelectSpec> selectFunction)
Create an instance of
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and function to create a StatementMapper.SelectSpec instance. |
static R2dbcMessageSourceSpec |
inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations,
String query)
Create an instance of
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and query string. |
static R2dbcMessageHandlerSpec |
outboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations)
Create an instance of
R2dbcMessageHandlerSpec for the provided R2dbcEntityOperations. |
public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, String query)
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and query string.r2dbcEntityOperations - the R2dbcEntityOperations to use.query - the query to execute.public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, java.util.function.Function<R2dbcMessageSource.SelectCreator,org.springframework.data.r2dbc.core.StatementMapper.SelectSpec> selectFunction)
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and function to create a StatementMapper.SelectSpec instance.r2dbcEntityOperations - the R2dbcEntityOperations to use.selectFunction - the expression to evaluate a query for execution.public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, Expression queryExpression)
R2dbcMessageSourceSpec for the provided R2dbcEntityOperations
and SpEL expression for query.r2dbcEntityOperations - the R2dbcEntityOperations to use.queryExpression - the expression to evaluate a query for execution.public static R2dbcMessageHandlerSpec outboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations)
R2dbcMessageHandlerSpec for the provided R2dbcEntityOperations.r2dbcEntityOperations - the R2dbcEntityOperations to use.