spring 6.1.4
spring.r2dbc
org.springframework.r2dbc.core
ConnectionFunction
Top
Description
Methods
org.springframework.r2dbc.core
pack-priv
sealed
Interface ConnectionFunction<R>
extends
Function
<
Connection
, R>,
SqlProvider
Known Direct Implementers
org.
springframework.
r2dbc.
core.
DelegateConnectionFunction
,
org.
springframework.
r2dbc.
core.
ResultFunction
Annotations
@SuppressWarnings
:
rawtypes
Type Parameters
<R>
the type of the result of the function.
Imports
java.
util.
function.
Function
,
io.
r2dbc.
spi.
Connection
Union type combining
Function
and
SqlProvider
to expose the SQL that is related to the underlying action. The
SqlProvider
can support lazy / generate-once semantics, in which case
getSql()
can be
null
until the
#apply(Connection)
method is invoked.
Authors
Mark Paluch, Simon Baslé
Since
5.3
Method Summary
Inherited from
java.util.function.Function
:
andThen
apply
compose
identity
Inherited from
org.springframework.r2dbc.core.SqlProvider
:
getSql