Class DefaultBatchTranslatorFactory
java.lang.Object
org.apache.cayenne.access.translator.batch.DefaultBatchTranslatorFactory
- All Implemented Interfaces:
BatchTranslatorFactory
- Direct Known Subclasses:
SoftDeleteTranslatorFactory
Default implementation of
BatchTranslatorFactory
.- Since:
- 4.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BatchTranslator
deleteTranslator
(DeleteBatchQuery query, DbAdapter adapter) protected BatchTranslator
insertTranslator
(InsertBatchQuery query, DbAdapter adapter) translator
(BatchQuery query, DbAdapter adapter, String trimFunction) Creates a proper translator for a BatchQueryprotected BatchTranslator
updateTranslator
(UpdateBatchQuery query, DbAdapter adapter)
-
Constructor Details
-
DefaultBatchTranslatorFactory
public DefaultBatchTranslatorFactory()
-
-
Method Details
-
translator
Description copied from interface:BatchTranslatorFactory
Creates a proper translator for a BatchQuery- Specified by:
translator
in interfaceBatchTranslatorFactory
-
deleteTranslator
-
insertTranslator
-
updateTranslator
-