bio4j / dynamograph

GSoC 2014 project - a DynamoDB based graph DB
GNU Affero General Public License v3.0
4 stars 1 forks source link

DynamoDB SDK #11

Closed evdokim closed 10 years ago

evdokim commented 10 years ago

@alberskib As I said the dynamodb part of aws-scala-library is not in very good state now. So I suggest to use Amazon SDK. Although in general it's easy to use I would like to share with you some code just to save your time with some stupid technical things.

creating tables

https://github.com/ohnosequences/metapasta/blob/master/src/main/scala/ohnosequences/awstools/ddb/Utils.scala#L46

batch writes

https://github.com/ohnosequences/metapasta/blob/master/src/main/scala/ohnosequences/nisperon/queues/DynamoDBWriter.scala#L78

scans

https://github.com/ohnosequences/metapasta/blob/master/src/main/scala/ohnosequences/nisperon/queues/DynamoDBQueue.scala#L134