You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/bulk-executor-java.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.service: cosmos-db
6
6
ms.subservice: cosmosdb-sql
7
7
ms.devlang: java
8
8
ms.topic: how-to
9
-
ms.date: 06/05/2020
9
+
ms.date: 08/26/2020
10
10
ms.author: ramkris
11
11
ms.reviewer: sngun
12
12
ms.custom: devx-track-java
@@ -180,7 +180,8 @@ You can update existing documents by using the BulkUpdateAsync API. In this exam
180
180
|int getNumberOfDocumentsUpdated() | The total number of documents that were successfully updated out of the documents supplied to the bulk update API call. |
181
181
|double getTotalRequestUnitsConsumed() | The total request units (RU) consumed by the bulk update API call. |
182
182
|Duration getTotalTimeTaken() | The total time taken by the bulk update API call to complete execution. |
183
-
|List\<Exception> getErrors() | Gets the list of errors if some documents out of the batch supplied to the bulk update API call failed to get inserted. |
183
+
|List\<Exception> getErrors() | Gets the list of operational or networking issues related to the update operation. |
184
+
|List\<BulkUpdateFailure> getFailedUpdates() | Gets the list of updates which could not be completed along with the specific exceptions leading to the failures.|
184
185
185
186
3. After you have the bulk update application ready, build the command-line tool from source by using the 'mvn clean package' command. This command generates a jar file in the target folder:
0 commit comments