Module storm

Interface SqlTemplate.BindVariables

Enclosing interface:
SqlTemplate

public static interface SqlTemplate.BindVariables
Manages the binding of variables in a SQL query.

Provides a handle for configuring parameter bindings and allows registering a listener for batch processing events.

  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a handle to the bound variables.
    void
    Registers a listener that will be notified when positional parameters are processed in batches.
  • Method Details

    • getHandle

      BindVarsHandle getHandle()
      Retrieves a handle to the bound variables. Can be used for configuring or inspecting the parameters associated with the current query.
      Returns:
      a handle to the bound variables.
    • setBatchListener

      void setBatchListener(@Nonnull SqlTemplate.BatchListener listener)
      Registers a listener that will be notified when positional parameters are processed in batches.
      Parameters:
      listener - the listener to be notified of batch events.