public class BatchDeleter extends Object
| Modifier and Type | Field and Description |
|---|---|
AtomicInteger |
numberOfDocumentsDeleted
The count of documents bulk deleted by this batch deleted.
|
com.google.common.util.concurrent.AtomicDouble |
totalRequestUnitsConsumed
The total request units consumed by this batch deleter.
|
| Constructor and Description |
|---|
BatchDeleter(String partitionKeyRangeId,
com.microsoft.azure.documentdb.DocumentClient client,
String bulkDeleteSprocLink,
BulkDeleteQuerySpec querySpec) |
BatchDeleter(String partitionKeyRangeId,
com.microsoft.azure.documentdb.DocumentClient client,
String bulkDeleteSprocLink,
com.microsoft.azure.documentdb.PartitionKeyDefinition partitionKeyDefinition,
List<org.apache.commons.lang3.tuple.Pair<String,String>> pkIdTuplesToDelete) |
| Modifier and Type | Method and Description |
|---|---|
Callable<Void> |
executeDelete() |
List<BulkDeleteFailure> |
getBulkDeleteFailures()
Gets the list of failures during the bulk delete execution for the mini batch
|
int |
getNumberOfDocumentsDeleted()
Gets the number of documents deleted by this batch deleter
|
double |
getTotalRequestUnitsConsumed()
Gets the number of Request Units consumed by this batch deleter
|
public AtomicInteger numberOfDocumentsDeleted
public com.google.common.util.concurrent.AtomicDouble totalRequestUnitsConsumed
public BatchDeleter(String partitionKeyRangeId, com.microsoft.azure.documentdb.DocumentClient client, String bulkDeleteSprocLink, BulkDeleteQuerySpec querySpec)
public int getNumberOfDocumentsDeleted()
public double getTotalRequestUnitsConsumed()
public List<BulkDeleteFailure> getBulkDeleteFailures()
Copyright © 2021. All rights reserved.