Class BaseBatchTranslator<T extends BatchQuery>
java.lang.Object
org.apache.cayenne.access.translator.batch.BaseBatchTranslator<T>
- Type Parameters:
T
- type of the batch query to translate
- Direct Known Subclasses:
DeleteBatchTranslator
,InsertBatchTranslator
,UpdateBatchTranslator
- Since:
- 4.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DbAttributeBinding[]
protected final org.apache.cayenne.access.translator.batch.BatchTranslatorContext
<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExpressionNodeBuilder
buildQualifier
(List<DbAttribute> attributeList) protected String
doTranslate
(NodeBuilder nodeBuilder) This method appliesBaseSQLTreeProcessor
to the provided SQL tree node and generates SQL string from it.protected abstract boolean
isNullAttribute
(DbAttribute attribute)
-
Field Details
-
context
protected final org.apache.cayenne.access.translator.batch.BatchTranslatorContext<T extends BatchQuery> context -
bindings
-
-
Constructor Details
-
BaseBatchTranslator
-
-
Method Details
-
getBindings
-
doTranslate
This method appliesBaseSQLTreeProcessor
to the provided SQL tree node and generates SQL string from it.- Parameters:
nodeBuilder
- SQL tree node builder- Returns:
- SQL string
-
isNullAttribute
-
buildQualifier
-