你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: