Package org.springframework.r2dbc.core
Interface PreparedOperation<T>
- Type Parameters:
T
- underlying operation source
- All Superinterfaces:
QueryOperation
,Supplier<String>
Extension to
QueryOperation
for a prepared SQL query
Supplier
with bound parameters. Contains parameter
bindings that can be bound
to a BindTarget
.
Can be executed with DatabaseClient
.
- Since:
- 5.3
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(BindTarget target) Apply bindings to the suppliedBindTarget
.Get the underlying query source.Methods inherited from interface org.springframework.r2dbc.core.QueryOperation
get, toQuery
-
Method Details
-
getSource
T getSource()Get the underlying query source.- Returns:
- the query source, such as a statement/criteria object
-
bindTo
Apply bindings to the suppliedBindTarget
.- Parameters:
target
- the target to apply bindings to
-