Top Description Interfaces Classes
[default module]

Package org.springframework.r2dbc.core

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Core domain types around DatabaseClient.

Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
BindParameterSource

Interface that defines common functionality for objects that can offer parameter values for named bind parameters, serving as argument for NamedParameterExpander operations.

public interface
ConnectionAccessor

Interface declaring methods that accept callback Function to operate within the scope of a Connection.

pack-priv interface
ConnectionFunction<
the type of the result of the function.
R
>

Union type combining Function and SqlProvider to expose the SQL that is related to the underlying action.

public interface
DatabaseClient

A non-blocking, reactive client for performing database calls with Reactive Streams back pressure.

public interface
ExecuteFunction

Represents a function that executes a Statement for a (delayed) Result stream.

public interface
FetchSpec<
the row result type
T
>

Union type for fetching results.

public interface
PreparedOperation<
underlying operation source
T
>

Extension to QueryOperation for a prepared SQL query Supplier with bound parameters.

public interface
QueryOperation

Interface declaring a query operation that can be represented with a query string.

public interface
RowsFetchSpec<
the row result type
T
>

Contract for fetching tabular results.

public interface
SqlProvider

Interface to be implemented by objects that can provide SQL strings.

public interface
StatementFilterFunction

Represents a function that filters an ExecuteFunction.

public interface
UpdatedRowsFetchSpec

Contract for fetching the number of affected rows.

Class Summary

Modifier and TypeClass and Description
public class
BeanPropertyRowMapper<
the result type
T
>

Mapping Function implementation that converts an R2DBC Readable (a Row or OutParameters) into a new instance of the specified mapped target class.

public class
ColumnMapRowMapper

Mapping function implementation that creates a java.util.Map for each row, representing all columns as key-value pairs: one entry for each column, with the column name as key.

public class
DataClassRowMapper<
the result type
T
>

Mapping Function implementation that converts an R2DBC Readable (a Row or OutParameters) into a new instance of the specified mapped target class.

pack-priv class
DefaultDatabaseClient

The default implementation of DatabaseClient, as created by the static factory method.

pack-priv class
pack-priv class
DefaultFetchSpec<
the row result type
T
>

Default FetchSpec implementation.

pack-priv class
DelegateConnectionFunction<
the type of the result of the function.
R
>

A ConnectionFunction that delegates to a SqlProvider and a plain Function.

pack-priv class
MapBindParameterSource

BindParameterSource implementation that holds a given Map of parameters encapsulated as Parameter.

pack-priv class
NamedParameterExpander

SQL translation support allowing the use of named parameters rather than native placeholders.

pack-priv abstract class
NamedParameterUtils

Helper methods for named parameter parsing.

public class
Parameter

Deprecated since 6.0. since 6.0, use io.r2dbc.spi.Parameter instead.
A database value that can be set in a statement.
pack-priv class
ParsedSql

Holds information about a parsed SQL statement.

pack-priv class
ResultFunction

A ConnectionFunction that produces a Flux of Result and that defers generation of the SQL until the function has been applied.