Class BindTargetBinder

java.lang.Object
org.springframework.data.r2dbc.dialect.BindTargetBinder

public final class BindTargetBinder extends Object
Utility to bind Parameter to a BindTarget. Mainly used within the framework.
Since:
1.4.1
Author:
Mark Paluch
  • Constructor Details

    • BindTargetBinder

      public BindTargetBinder(BindTarget target)
  • Method Details

    • bind

      public void bind(String name, Parameter parameter)
      Bind a Parameter by name.
      Parameters:
      name - must not be null.
      parameter - must not be null.
    • bind

      public void bind(int index, Parameter parameter)
      Bind a Parameter by index.
      Parameters:
      index - must not be null.
      parameter - must not be null.