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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceA listener for record events within a SQL query context. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRecordListener(BindVars.RecordListener listener) Sets a listener that is invoked for each record that is being bound.
-
Method Details
-
setRecordListener
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
-