public class InsertBatchTranslator extends DefaultBatchTranslator
adapter, bindings, query, sql, translated, trimFunction
Constructor and Description |
---|
InsertBatchTranslator(InsertBatchQuery query,
DbAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
protected DbAttributeBinding[] |
createBindings() |
protected String |
createSql() |
protected DbAttributeBinding[] |
doUpdateBindings(BatchQueryRow row) |
protected boolean |
includeInBatch(DbAttribute attribute)
Returns true if an attribute should be included in the batch.
|
appendDbAttribute, ensureTranslated, getBindings, getSql, updateBindings
public InsertBatchTranslator(InsertBatchQuery query, DbAdapter adapter)
protected String createSql()
createSql
in class DefaultBatchTranslator
protected DbAttributeBinding[] createBindings()
createBindings
in class DefaultBatchTranslator
protected DbAttributeBinding[] doUpdateBindings(BatchQueryRow row)
doUpdateBindings
in class DefaultBatchTranslator
protected boolean includeInBatch(DbAttribute attribute)
Copyright © 2001–2019 Apache Cayenne. All rights reserved.