public class BulkUpdateResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Exception> |
getErrors()
Gets failure list if some documents failed to get updated.
|
List<BulkUpdateFailure> |
getFailedUpdates()
Gets the list of updates which could not be completed along with the specific exceptions leading to the failures.
|
int |
getNumberOfDocumentsUpdated()
Gets number of documents successfully updated.
|
double |
getTotalRequestUnitsConsumed() |
java.time.Duration |
getTotalTimeTaken() |
public List<Exception> getErrors()
public int getNumberOfDocumentsUpdated()
If this number is less than actual batch size (meaning some documents failed to get updated),
use getErrors() to get the failure cause.
public double getTotalRequestUnitsConsumed()
public java.time.Duration getTotalTimeTaken()
public List<BulkUpdateFailure> getFailedUpdates()
Copyright © 2021. All rights reserved.