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 Summary

    Constructors
    Constructor
    Description
    BindTargetBinder(org.springframework.r2dbc.core.binding.BindTarget target)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(int index, org.springframework.r2dbc.core.Parameter parameter)
    Bind a Parameter by index.
    void
    bind(String name, org.springframework.r2dbc.core.Parameter parameter)
    Bind a Parameter by name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BindTargetBinder

      public BindTargetBinder(org.springframework.r2dbc.core.binding.BindTarget target)
  • Method Details

    • bind

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

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