Interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>

All Known Subinterfaces:
HistoricCaseInstanceQuery, HistoricProcessInstanceQuery
All Known Implementing Classes:
HistoricCaseInstanceQueryImpl, HistoricProcessInstanceQueryImpl

public interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>
Author:
Filip Hrisafov
  • Method Details

    • deleteInParallelUsingBatch

      String deleteInParallelUsingBatch(int batchSize, String batchName)
      Perform the deletion in parallel using the given batch size. Doing the deletion in parallel means that multiple batches can be deleted in the same time
      Parameters:
      batchSize - the size of each batch deletion
      batchName - the name of the batch
      Returns:
      the id the batch that is doing the deletion
    • deleteSequentiallyUsingBatch

      String deleteSequentiallyUsingBatch(int batchSize, String batchName)
      Perform the deletion sequentially using the given batch size. Doing the deletion sequentially means that the deletion will be done one batch at a time.
      Parameters:
      batchSize - the size of each batch deletion
      batchName - the name of the batch
      Returns:
      the id the batch that is doing the deletion