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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по