Interface BatchTranslator
- All Known Implementing Classes:
 DefaultBatchTranslator,DeleteBatchTranslator,DeleteBatchTranslator,InsertBatchTranslator,InsertBatchTranslator,SoftDeleteBatchTranslator,SoftDeleteBatchTranslator,UpdateBatchTranslator,UpdateBatchTranslator
public interface BatchTranslator
Superclass of batch query translators.
- Since:
 - 4.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the widest possible array of bindings for this query.getSql()Returns SQL String that can be used to init a PreparedStatement.Updates internal bindings to be used with a given row, returning updated bindings array. 
- 
Method Details
- 
getSql
String getSql()Returns SQL String that can be used to init a PreparedStatement. - 
getBindings
DbAttributeBinding[] getBindings()Returns the widest possible array of bindings for this query. - 
updateBindings
Updates internal bindings to be used with a given row, returning updated bindings array. This method guarantees that the returned array contains the same bindings in the same order as in the array returned fromgetBindings()(but in a state corresponding to the 'row' parameter). Usually the returned array is actually the same object reused for every iteration, only with changed object state. 
 -