Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few corrections in DynamoDbAsyncTable javadoc #4848

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ default CompletableFuture<DeleteItemEnhancedResponse<T>> deleteItemWithResponse(
* </pre>
*
* @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table.
* @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted.
* @return a {@link CompletableFuture} of the retrieved item.
*/
default CompletableFuture<T> getItem(GetItemEnhancedRequest request) {
throw new UnsupportedOperationException();
Expand Down Expand Up @@ -423,7 +423,7 @@ default CompletableFuture<T> getItem(T keyItem) {
* </pre>
*
* @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table.
* @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted.
* @return a {@link CompletableFuture} containing the response returned by DynamoDB.
*/
default CompletableFuture<GetItemEnhancedResponse<T>> getItemWithResponse(GetItemEnhancedRequest request) {
throw new UnsupportedOperationException();
Expand Down Expand Up @@ -454,7 +454,7 @@ default CompletableFuture<GetItemEnhancedResponse<T>> getItemWithResponse(GetIte
*
* @param requestConsumer A {@link Consumer} of {@link GetItemEnhancedRequest.Builder} with key and optional directives
* for retrieving an item from the table.
* @return a {@link CompletableFuture} of the retrieved item
* @return a {@link CompletableFuture} containing the response returned by DynamoDB.
*/
default CompletableFuture<GetItemEnhancedResponse<T>> getItemWithResponse(
Consumer<GetItemEnhancedRequest.Builder> requestConsumer) {
Expand Down Expand Up @@ -931,7 +931,7 @@ default CompletableFuture<Void> deleteTable() {
}

/**
* Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable).
* Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable}.
* This operation calls the low-level DynamoDB API DescribeTable operation,
* see {@link DynamoDbAsyncClient#describeTable(DescribeTableRequest)}
*
Expand Down
Loading