- 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 TypeMethodDescriptionRetrieves a handle to the bound variables.voidsetBatchListener(SqlTemplate.BatchListener listener) 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
Registers a listener that will be notified when positional parameters are processed in batches.- Parameters:
listener- the listener to be notified of batch events.
-