aws-sdk-java-v2 icon indicating copy to clipboard operation
aws-sdk-java-v2 copied to clipboard

DynamoDB Document API

Open millems opened this issue 8 years ago • 13 comments

Review the inherited state of V1 Dynamo DB document API and determine which changes are necessary for V2.

(Feel free to comment on this issue with desired changes).

millems avatar Jul 03 '17 17:07 millems

Hi. I'm hoping it goes without saying, but it would be wonderful if this API would be updated to support the use of the async client and CompletableFutures.

jaymell avatar Oct 29 '17 18:10 jaymell

Feedback from v1: https://github.com/aws/aws-sdk-java/issues/1528

dagnir avatar Mar 30 '18 20:03 dagnir

Any progress on this?

bamapookie avatar Jan 23 '19 19:01 bamapookie

"Feel free to comment on this issue with desired changes"

Document API had its downsides (like no Java 8 streams support, etc) but at this point I would rather have it with all the downsides than not have it at all. Is there an ETA for it?

martel avatar Jan 24 '19 22:01 martel

The state of documentation on dynamo, at least on java lang side, is very confusing.

arashbi avatar Feb 10 '19 16:02 arashbi

In 2.x, we're thinking of combining the Document APIs and DynamoDB Mapper. We're created prototype APIs we're interested in feedback on. See https://github.com/aws/aws-sdk-java-v2/issues/35#issuecomment-468435660 for how you can check our these prototypes and help us deliver the right thing for you.

millems avatar Feb 28 '19 21:02 millems

I appreciated that the Document API in v1.11 had methods for converting from json to AttributeValue & vice versa because it made it possible to use DynamoDB for complicated data models without having to use DynamoDB Mapper.

Whatever happens in the new SDK, I would like to see a similar capability so that customers like me who don't want to use DynamoDB Mapper don't have to do all the heavy lifting of converting a complex data model.

mwfpope avatar Mar 22 '20 20:03 mwfpope

Is there a status on this now the DDB enhanced client is released?

I plus'd 1 on @mwfpope comment... item to/from json was a greatly appreciated feature in DDB.

gibbonsj avatar May 23 '20 13:05 gibbonsj

@gibbonsj The document client is high on our priority list. We should probably to a to/from json API as a separate feature request. I don't think our plans for the document client currently include a to/from JSON API in scope.

millems avatar May 26 '20 19:05 millems

Hi there !

Is there any update on this ?

muskacirca avatar Jun 07 '21 12:06 muskacirca

5 years without any updates. what a shame.

bykka avatar Apr 05 '22 13:04 bykka

We're aware this is a blocker for many people to move to 2.x, and it remains high on our priority list.

millems avatar Apr 05 '22 18:04 millems

Feature request: support Global Secondary Indexes waiters - https://github.com/aws/aws-sdk-java-v2/issues/3421.

debora-ito avatar Sep 15 '22 00:09 debora-ito

@millems so the Document API is replaced with the DynamoDbClient and DynamoDbEnhancedClient in v2, right?

mikhail-edk avatar Nov 28 '22 09:11 mikhail-edk

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Mar 24 '23 20:03 github-actions[bot]

Note that we have added Document API with EnhancedDocument APIs in V2 with PR#3849 And the Strongly typed interface: EnhancedDocument provides a strongly typed interface for working with documents. This makes it easier for developers to work with documents and ensures that the data is correctly typed. Thus the Dynamic Unsafe APIs of V1 which accessed args and returns as Object are not added intentionally to make it strongly typed interface and avoid runtime issues,

joviegas avatar Mar 24 '23 20:03 joviegas