## Uses of Interface
org.apache.cayenne.access.translator.batch.BatchTranslator

- Packages that use BatchTranslator
  Package | Description
  --- | ---
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions.
  org.apache.cayenne.access.translator.batch |

- - ### Uses of BatchTranslator in org.apache.cayenne.access

    Methods in org.apache.cayenne.access that return BatchTranslator
    Modifier and Type | Method and Description
    --- | ---
    `BatchTranslator` | DataNode.`batchTranslator(BatchQuery query, String trimFunction)`

  - ### Uses of BatchTranslator in org.apache.cayenne.access.jdbc

    Methods in org.apache.cayenne.access.jdbc that return BatchTranslator
    Modifier and Type | Method and Description
    --- | ---
    `protected BatchTranslator` | BatchAction.`createTranslator()`

    Methods in org.apache.cayenne.access.jdbc with parameters of type BatchTranslator
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BatchAction.`runAsBatch(Connection con, BatchTranslator translator, OperationObserver delegate)`
    `protected void` | BatchAction.`runAsIndividualQueries(Connection connection, BatchTranslator translator, OperationObserver delegate, boolean generatesKeys)` Executes batch as individual queries over the same prepared statement.

  - ### Uses of BatchTranslator in org.apache.cayenne.access.translator.batch

    Classes in org.apache.cayenne.access.translator.batch that implement BatchTranslator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultBatchTranslator` Superclass of batch query translators.
    `class` | `DeleteBatchTranslator` Translator for delete BatchQueries.
    `class` | `InsertBatchTranslator` Translator of InsertBatchQueries.
    `class` | `SoftDeleteBatchTranslator` Implementation of `DeleteBatchTranslator`, which uses 'soft' delete (runs UPDATE and sets 'deleted' field to true instead-of running SQL DELETE)
    `class` | `UpdateBatchTranslator` A translator for UpdateBatchQueries that produces parameterized SQL.

    Methods in org.apache.cayenne.access.translator.batch that return BatchTranslator
    Modifier and Type | Method and Description
    --- | ---
    `protected BatchTranslator` | DefaultBatchTranslatorFactory.`deleteTranslator(DeleteBatchQuery query, DbAdapter adapter, String trimFunction)`
    `protected BatchTranslator` | SoftDeleteTranslatorFactory.`deleteTranslator(DeleteBatchQuery query, DbAdapter adapter, String trimFunction)`
    `protected BatchTranslator` | DefaultBatchTranslatorFactory.`insertTranslator(InsertBatchQuery query, DbAdapter adapter)`
    `BatchTranslator` | BatchTranslatorFactory.`translator(BatchQuery query, DbAdapter adapter, String trimFunction)` Creates a proper translator for a BatchQuery
    `BatchTranslator` | DefaultBatchTranslatorFactory.`translator(BatchQuery query, DbAdapter adapter, String trimFunction)`
    `protected BatchTranslator` | DefaultBatchTranslatorFactory.`updateTranslator(UpdateBatchQuery query, DbAdapter adapter, String trimFunction)`

Copyright © 2001–2018 Apache Cayenne. All rights reserved.