Uses of Class
org.springframework.integration.r2dbc.dsl.R2dbcMessageSourceSpec
Package
Description
Provides classes for supporting Java DSL for R2DBC components.
-
Uses of R2dbcMessageSourceSpec in org.springframework.integration.r2dbc.dsl
Modifier and TypeMethodDescriptionR2dbcMessageSourceSpec.bindFunction
(BiFunction<DatabaseClient.GenericExecuteSpec, ?, DatabaseClient.GenericExecuteSpec> bindFunction) Set aBiFunction
which is used to bind parameters into the update query.R2dbcMessageSourceSpec.expectSingleResult
(boolean expectSingleResult) The flag to manage which find* method to invoke onR2dbcEntityOperations
.static R2dbcMessageSourceSpec
R2dbc.inboundChannelAdapter
(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, String query) Create an instance ofR2dbcMessageSourceSpec
for the providedR2dbcEntityOperations
and query string.static R2dbcMessageSourceSpec
R2dbc.inboundChannelAdapter
(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, Function<R2dbcMessageSource.SelectCreator, org.springframework.data.r2dbc.core.StatementMapper.SelectSpec> selectFunction) Create an instance ofR2dbcMessageSourceSpec
for the providedR2dbcEntityOperations
and function to create aStatementMapper.SelectSpec
instance.static R2dbcMessageSourceSpec
R2dbc.inboundChannelAdapter
(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, Expression queryExpression) Create an instance ofR2dbcMessageSourceSpec
for the providedR2dbcEntityOperations
and SpEL expression for query.R2dbcMessageSourceSpec.payloadType
(Class<?> payloadType) Set the expected payload type.Configure an update query.