Class Bindings.NullBinding
java.lang.Object
org.springframework.data.r2dbc.dialect.Bindings.Binding
org.springframework.data.r2dbc.dialect.Bindings.NullBinding
- Enclosing class:
- Bindings
NULL
binding.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(BindTarget bindTarget) Applies the binding to aBindTarget
.getValue()
Returns the value of this binding.Class<?>
boolean
hasValue()
Return true if there is a value present, otherwise false for aNULL
binding.Methods inherited from class org.springframework.data.r2dbc.dialect.Bindings.Binding
getBindMarker, isNull
-
Constructor Details
-
NullBinding
-
-
Method Details
-
hasValue
public boolean hasValue()Description copied from class:Bindings.Binding
Return true if there is a value present, otherwise false for aNULL
binding.- Specified by:
hasValue
in classBindings.Binding
- Returns:
- true if there is a value present, otherwise false for a
NULL
binding.
-
getValue
Description copied from class:Bindings.Binding
Returns the value of this binding. Can be null if this is aNULL
binding.- Specified by:
getValue
in classBindings.Binding
- Returns:
- value of this binding. Can be null if this is a
NULL
binding.
-
getValueType
-
apply
Description copied from class:Bindings.Binding
Applies the binding to aBindTarget
.- Specified by:
apply
in classBindings.Binding
- Parameters:
bindTarget
- the target to apply bindings to.
-