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 ExpressionNodeBuilderbuildQualifier(List<DbAttribute> attributeList) protected StringdoTranslate(NodeBuilder nodeBuilder) This method appliesBaseSQLTreeProcessorto the provided SQL tree node and generates SQL string from it.protected abstract booleanisNullAttribute(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 appliesBaseSQLTreeProcessorto the provided SQL tree node and generates SQL string from it.- Parameters:
nodeBuilder- SQL tree node builder- Returns:
- SQL string
-
isNullAttribute
-
buildQualifier
-