Interface BatchTranslator
- All Known Implementing Classes:
- DefaultBatchTranslator,- DeleteBatchTranslator,- InsertBatchTranslator,- SoftDeleteBatchTranslator,- UpdateBatchTranslator
public interface BatchTranslator
Superclass of batch query translators.
- Since:
- 4.0
- 
Method SummaryModifier and Type Method Description DbAttributeBinding[]getBindings()Returns the widest possible array of bindings for this query.StringgetSql()Returns SQL String that can be used to init a PreparedStatement.DbAttributeBinding[]updateBindings(BatchQueryRow row)Updates internal bindings to be used with a given row, returning updated bindings array.
- 
Method Details- 
getSqlString getSql()Returns SQL String that can be used to init a PreparedStatement.
- 
getBindingsDbAttributeBinding[] getBindings()Returns the widest possible array of bindings for this query.
- 
updateBindingsUpdates 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.
 
-