Interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>
-
public interface BatchDeleteQuery<Q extends BatchDeleteQuery<Q>>- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdeleteInParallelUsingBatch(int batchSize, String batchName)Perform the deletion in parallel using the given batch size.StringdeleteSequentiallyUsingBatch(int batchSize, String batchName)Perform the deletion sequentially using the given batch size.
-
-
-
Method Detail
-
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 deletionbatchName- 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 deletionbatchName- the name of the batch- Returns:
- the id the batch that is doing the deletion
-
-