Top Description Methods
org.springframework.r2dbc.core

public Interface PreparedOperation<T>

extends QueryOperation
Known Direct Implementers
org.springframework.r2dbc.core.NamedParameterUtils.ExpandedQuery
Type Parameters
<T>
underlying operation source
Imports
java.util.function.Supplier, org.springframework.r2dbc.core.binding.BindTarget

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 org.springframework.r2dbc.core.DatabaseClient.

Author
Mark Paluch
Since
5.3
See Also
org.springframework.r2dbc.core.DatabaseClient#sql(Supplier)

Method Summary

Modifier and TypeMethod and Description
public void
bindTo(BindTarget
the target to apply bindings to
target
)

Apply bindings to the supplied BindTarget.

public T

Returns:

the query source, such as a statement/criteria object
getSource
()

Get the underlying query source.

Inherited from org.springframework.r2dbc.core.QueryOperation:
gettoQuery

Method Detail

bindToback to summary
public void bindTo(BindTarget target)

Apply bindings to the supplied BindTarget.

Parameters
target:BindTarget

the target to apply bindings to

getSourceback to summary
public T getSource()

Get the underlying query source.

Returns:T

the query source, such as a statement/criteria object