-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved batch operations APIs to TableAsyncClient and TableClient. (#21796
) * Introduced TableTransactionAction and TableTransactionActionType. Created the submitTransaction() and submitTransactionWithResponse() methods in TableAsyncClient and TableClient. * Corrected the Exception type thrown by TableServiceAsyncClient.listTables() and TableAsyncClient.listEntitites() * Removed TableAsyncBatch and TableBatch and re-recorded tests. * Fixed SpotBugs issue. * Changed batch-related class names from Batch* to TransactionalBatch*. Intoduced a new exception for transactional batch operations : TablesTransactionFailedException. Introduced a new return type containing all sub-responses from submitting a transactional batch of actions: TableTransactionResult. * Added more tests. * Added transactional batch samples. * Updated TableTransactionAction's JavaDoc to better reflect the delete scenario's behavior. * Fixed CheckStyle issues. * Updated JavaDoc comments.
- Loading branch information
Showing
43 changed files
with
1,439 additions
and
1,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
395 changes: 0 additions & 395 deletions
395
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncBatch.java
This file was deleted.
Oops, something went wrong.
336 changes: 261 additions & 75 deletions
336
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
270 changes: 0 additions & 270 deletions
270
sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableBatch.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.