Top Description Methods
org.springframework.r2dbc.core.binding

public Interface BindTarget

Known Direct Implementers
org.springframework.r2dbc.core.DefaultDatabaseClient.StatementWrapper

Target to apply bindings to.
Author
Mark Paluch
Since
5.3
See Also
io.r2dbc.spi.Statement#bind, io.r2dbc.spi.Statement#bindNull

Method Summary

Modifier and TypeMethod and Description
public void
bind(String
the identifier to bind to
identifier
,
Object
the value to bind
value
)

Bind a value.

public void
bind(int
the index to bind to
index
,
Object
the value to bind
value
)

Bind a value to an index.

public void
bindNull(String
the identifier to bind to
identifier
,
Class<?>
the type of null value
type
)

Bind a null value.

public void
bindNull(int
the index to bind to
index
,
Class<?>
the type of null value
type
)

Bind a null value.

Method Detail

bindback to summary
public void bind(String identifier, Object value)

Bind a value.

Parameters
identifier:String

the identifier to bind to

value:Object

the value to bind

bindback to summary
public void bind(int index, Object value)

Bind a value to an index. Indexes are zero-based.

Parameters
index:int

the index to bind to

value:Object

the value to bind

bindNullback to summary
public void bindNull(String identifier, Class<?> type)

Bind a null value.

Parameters
identifier:String

the identifier to bind to

type:Class<?>

the type of null value

bindNullback to summary
public void bindNull(int index, Class<?> type)

Bind a null value.

Parameters
index:int

the index to bind to

type:Class<?>

the type of null value