Class Bindings.NullBinding

java.lang.Object
org.springframework.data.r2dbc.dialect.Bindings.Binding
org.springframework.data.r2dbc.dialect.Bindings.NullBinding
Enclosing class:
Bindings

public static class Bindings.NullBinding extends Bindings.Binding
NULL binding.
  • Constructor Details

  • Method Details

    • hasValue

      public boolean hasValue()
      Description copied from class: Bindings.Binding
      Return true if there is a value present, otherwise false for a NULL binding.
      Specified by:
      hasValue in class Bindings.Binding
      Returns:
      true if there is a value present, otherwise false for a NULL binding.
    • getValue

      @Nullable public Object getValue()
      Description copied from class: Bindings.Binding
      Returns the value of this binding. Can be null if this is a NULL binding.
      Specified by:
      getValue in class Bindings.Binding
      Returns:
      value of this binding. Can be null if this is a NULL binding.
    • getValueType

      public Class<?> getValueType()
    • apply

      public void apply(BindTarget bindTarget)
      Description copied from class: Bindings.Binding
      Applies the binding to a BindTarget.
      Specified by:
      apply in class Bindings.Binding
      Parameters:
      bindTarget - the target to apply bindings to.