I was looking at DynamoDB documentation and googling, but I could not find any implementation of atomic counters using DynamoDB mapper.
Is this possible? Or only the low level API can be used for this?
With the Java API you should look at UpdateItemRequest with AttributeAction.ADD
The lower level api can also be used
Edit after comment..
I am not aware of that option. Perhaps you should edit your question and add the code you wished was available.
If you want a @DynamoDBAutoIncrementAttribute for an integer - there isn't one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With