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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBind a value and return the relatedBindMarker.bind(BindMarker marker, Object value) Bind a value toBindMarker.Bind aNULLvalue and return the relatedBindMarker.bindNull(BindMarker marker, Class<?> valueType) Bind aNULLvalue toBindMarker.Obtain the nextBindMarker.nextMarker(String hint) Obtain the nextBindMarkerwith 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- theBindMarkersto wrap
-
-
Method Details
-
nextMarker
Obtain the nextBindMarker. IncrementsBindMarkersstate- Returns:
- the next
BindMarker
-
nextMarker
- Parameters:
hint- name hint- Returns:
- the next
BindMarker
-
bind
Bind a value toBindMarker.- Parameters:
marker- theBindMarkerto bind tovalue- the value to bind
-
bind
Bind a value and return the relatedBindMarker. IncrementsBindMarkersstate.- Parameters:
value- the value to bind
-
bindNull
Bind aNULLvalue toBindMarker.- Parameters:
marker- theBindMarkerto bind tovalueType- the value type
-
bindNull
- Parameters:
valueType- the value type
-