public class R2dbcMessageHandlerSpec extends ReactiveMessageHandlerSpec<R2dbcMessageHandlerSpec,R2dbcMessageHandler>
ReactiveMessageHandlerSpec
for the R2dbcMessageHandler
.reactiveMessageHandler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
R2dbcMessageHandlerSpec(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations) |
Modifier and Type | Method and Description |
---|---|
R2dbcMessageHandlerSpec |
criteria(Expression criteriaExpression)
Set a SpEL expression to evaluate a
Criteria for query to execute. |
<P> R2dbcMessageHandlerSpec |
criteria(java.util.function.Function<Message<P>,org.springframework.data.relational.core.query.Criteria> criteriaFunction)
Set a
Function to evaluate a Criteria for query to execute. |
R2dbcMessageHandlerSpec |
criteria(String criteriaExpression)
Set a SpEL expression to evaluate a
Criteria for query to execute. |
R2dbcMessageHandlerSpec |
queryType(R2dbcMessageHandler.Type type)
Set a
R2dbcMessageHandler.Type for query to execute. |
R2dbcMessageHandlerSpec |
queryTypeExpression(Expression queryTypeExpression)
Set a SpEL expression to evaluate a
R2dbcMessageHandler.Type for query to execute. |
R2dbcMessageHandlerSpec |
queryTypeExpression(String queryTypeExpression)
Set a SpEL expression to evaluate a
R2dbcMessageHandler.Type for query to execute. |
<P> R2dbcMessageHandlerSpec |
queryTypeFunction(java.util.function.Function<Message<P>,R2dbcMessageHandler.Type> queryTypeFunction)
Set a
Function to evaluate a R2dbcMessageHandler.Type for query to execute against a request
message. |
R2dbcMessageHandlerSpec |
tableName(String tableName)
Specify a table in the target database to execute the query.
|
R2dbcMessageHandlerSpec |
tableNameExpression(Expression tableNameExpression)
Set a SpEL expression to evaluate a table name at runtime against request message.
|
R2dbcMessageHandlerSpec |
tableNameExpression(String tableNameExpression)
Set a SpEL expression to evaluate a table name at runtime against request message.
|
<P> R2dbcMessageHandlerSpec |
tableNameFunction(java.util.function.Function<Message<P>,String> tableNameFunction)
Set a
Function to evaluate a table name at runtime against request message. |
R2dbcMessageHandlerSpec |
values(Expression valuesExpression)
Set a SpEL expression to evaluate a
Map for name-value pairs to bind as parameters
into a query. |
<P> R2dbcMessageHandlerSpec |
values(java.util.function.Function<Message<P>,Map<String,?>> valuesFunction)
|
R2dbcMessageHandlerSpec |
values(String valuesExpression)
Set a SpEL expression to evaluate a
Map for name-value pairs to bind as parameters
into a query. |
getComponentsToRegister
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected R2dbcMessageHandlerSpec(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations)
public R2dbcMessageHandlerSpec queryType(R2dbcMessageHandler.Type type)
R2dbcMessageHandler.Type
for query to execute.type
- the R2dbcMessageHandler.Type
to use.public <P> R2dbcMessageHandlerSpec queryTypeFunction(java.util.function.Function<Message<P>,R2dbcMessageHandler.Type> queryTypeFunction)
Function
to evaluate a R2dbcMessageHandler.Type
for query to execute against a request
message.P
- the payload type.queryTypeFunction
- the function to use.public R2dbcMessageHandlerSpec queryTypeExpression(String queryTypeExpression)
R2dbcMessageHandler.Type
for query to execute.queryTypeExpression
- the expression to use.public R2dbcMessageHandlerSpec queryTypeExpression(Expression queryTypeExpression)
R2dbcMessageHandler.Type
for query to execute.queryTypeExpression
- the expression to use.public R2dbcMessageHandlerSpec tableName(String tableName)
tableName
- the name of the table to use.public <P> R2dbcMessageHandlerSpec tableNameFunction(java.util.function.Function<Message<P>,String> tableNameFunction)
Function
to evaluate a table name at runtime against request message.P
- the payload type.tableNameFunction
- the function to use.public R2dbcMessageHandlerSpec tableNameExpression(String tableNameExpression)
tableNameExpression
- the expression to use.public R2dbcMessageHandlerSpec tableNameExpression(Expression tableNameExpression)
tableNameExpression
- the expression to use.public <P> R2dbcMessageHandlerSpec values(java.util.function.Function<Message<P>,Map<String,?>> valuesFunction)
P
- the payload type.valuesFunction
- the function to use.public R2dbcMessageHandlerSpec values(String valuesExpression)
Map
for name-value pairs to bind as parameters
into a query.valuesExpression
- the expression to use.public R2dbcMessageHandlerSpec values(Expression valuesExpression)
Map
for name-value pairs to bind as parameters
into a query.valuesExpression
- the expression to use.public <P> R2dbcMessageHandlerSpec criteria(java.util.function.Function<Message<P>,org.springframework.data.relational.core.query.Criteria> criteriaFunction)
Function
to evaluate a Criteria
for query to execute.P
- the payload type.criteriaFunction
- the function to use.public R2dbcMessageHandlerSpec criteria(String criteriaExpression)
Criteria
for query to execute.criteriaExpression
- the expression to use.public R2dbcMessageHandlerSpec criteria(Expression criteriaExpression)
Criteria
for query to execute.criteriaExpression
- the expression to use.