Package st.orm

Interface BindVars


public interface BindVars
Marker interface used within an SQL template to indicate where bind variables (parameters) should be injected.

This interface is typically referenced within the SQL string to specify placeholder positions for parameter binding.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A listener for record events within a SQL query context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets a listener that is invoked for each record that is being bound.
  • Method Details

    • setRecordListener

      void setRecordListener(@Nonnull BindVars.RecordListener listener)
      Sets a listener that is invoked for each record that is being bound.

      This method can be used to optimize the binding of parameters to the SQL statement.

      Parameters:
      listener - the consumer to invoke for each bind variable.
      Since:
      1.2