# Class Bind

java.lang.Object
org.apache.cayenne.access.translator.sqltemplate.directive.Bind

All Implemented Interfaces:
  `Directive`

Direct Known Subclasses:
  `BindEqual, BindNotEqual`

public class Bind extends Object implements Directive

Since:
  4.1

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Bind`
  `INSTANCE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Bind()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `apply(Context context, ASTExpression... expressions)`
  `protected void`
  `bindValue(Context context, Object value, String jdbcTypeName, int scale)`
  `protected void`
  `processBinding(Context context, int jdbcType, int scale, Object value)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INSTANCE

    public static final Bind INSTANCE

- ## Constructor Details

  - ### Bind

    public Bind()

- ## Method Details

  - ### apply

    public void apply(Context context, ASTExpression... expressions)
    Specified by:
      `apply` in interface `Directive`

  - ### bindValue

    protected void bindValue(Context context, Object value, String jdbcTypeName, int scale)

  - ### processBinding

    protected void processBinding(Context context, int jdbcType, int scale, Object value)