Class MutableBindings
java.lang.Object
org.springframework.r2dbc.core.binding.Bindings
org.springframework.r2dbc.core.binding.MutableBindings
- All Implemented Interfaces:
Iterable<Bindings.Binding>
- Since:
- 5.3
- Author:
- Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.r2dbc.core.binding.Bindings
Bindings.Binding
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBind a value and return the relatedBindMarker
.bind
(BindMarker marker, Object value) Bind a value toBindMarker
.Bind aNULL
value and return the relatedBindMarker
.bindNull
(BindMarker marker, Class<?> valueType) Bind aNULL
value toBindMarker
.Obtain the nextBindMarker
.nextMarker
(String hint) Obtain the nextBindMarker
with a namehint
.Methods inherited from class org.springframework.r2dbc.core.binding.Bindings
and, apply, empty, forEach, getBindings, iterator, merge, spliterator
-
Constructor Details
-
MutableBindings
Create newMutableBindings
.- Parameters:
markers
- theBindMarkers
to wrap
-
-
Method Details
-
nextMarker
Obtain the nextBindMarker
. IncrementsBindMarkers
state- Returns:
- the next
BindMarker
-
nextMarker
- Parameters:
hint
- name hint- Returns:
- the next
BindMarker
-
bind
Bind a value toBindMarker
.- Parameters:
marker
- theBindMarker
to bind tovalue
- the value to bind
-
bind
Bind a value and return the relatedBindMarker
. IncrementsBindMarkers
state.- Parameters:
value
- the value to bind
-
bindNull
Bind aNULL
value toBindMarker
.- Parameters:
marker
- theBindMarker
to bind tovalueType
- the value type
-
bindNull
- Parameters:
valueType
- the value type
-