BulkUpdateResponse Class
- java.
lang. Object - com.
microsoft. azure. documentdb. bulkexecutor. BulkUpdateResponse
- com.
public class BulkUpdateResponse
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Exception> |
getErrors()
Gets failure list if some documents failed to get updated. |
java.util.List<Bulk |
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() |
Methods inherited from java.lang.Object
Method Details
getErrors
public List
Gets failure list if some documents failed to get updated.
Returns:
getFailedUpdates
public List
Gets the list of updates which could not be completed along with the specific exceptions leading to the failures.
Returns:
getNumberOfDocumentsUpdated
public int getNumberOfDocumentsUpdated()
Gets number of documents successfully updated.
If this number is less than actual batch size (meaning some documents failed to get updated), use getErrors() to get the failure cause.
Returns:
getTotalRequestUnitsConsumed
public double getTotalRequestUnitsConsumed()
Returns:
getTotalTimeTaken
public Duration getTotalTimeTaken()
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin