2
votes

I am trying to use DynamoDb transaction library scan operation :

https://github.com/awslabs/dynamodb-transactions/blob/master/src/main/java/com/amazonaws/services/dynamodbv2/transactions/TransactionManagerDynamoDBFacade.java#L214

Scan operation return ScanResult which contains Map. Is there a better to map it to an object ?

There is an interface called ItemConvertor http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/datamodeling/ItemConverter.html , is there any concrete implementation for this ?

1
It has a method- marshalIntoObjects and it is working for me. Thankssidss

1 Answers