T
- type of the batch query to translatepublic abstract class BaseBatchTranslator<T extends BatchQuery> extends Object
Modifier and Type | Field and Description |
---|---|
protected DbAttributeBinding[] |
bindings |
protected org.apache.cayenne.access.translator.batch.BatchTranslatorContext<T> |
context |
Constructor and Description |
---|
BaseBatchTranslator(T query,
DbAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionNodeBuilder |
buildQualifier(List<DbAttribute> attributeList) |
protected String |
doTranslate(NodeBuilder nodeBuilder)
This method applies
BaseSQLTreeProcessor to the
provided SQL tree node and generates SQL string from it. |
DbAttributeBinding[] |
getBindings() |
protected abstract boolean |
isNullAttribute(DbAttribute attribute) |
protected final org.apache.cayenne.access.translator.batch.BatchTranslatorContext<T extends BatchQuery> context
protected DbAttributeBinding[] bindings
public DbAttributeBinding[] getBindings()
protected String doTranslate(NodeBuilder nodeBuilder)
BaseSQLTreeProcessor
to the
provided SQL tree node and generates SQL string from it.nodeBuilder
- SQL tree node builderprotected abstract boolean isNullAttribute(DbAttribute attribute)
protected ExpressionNodeBuilder buildQualifier(List<DbAttribute> attributeList)
Copyright © 2001–2021 Apache Cayenne. All rights reserved.