Look at the Titan/BDB storage adapter for a simple example:
https://github.com/thinkaurelius/titan/tree/master/titan-ber...
It implements the KeyValueStore interfaces (there are other interfaces for different types of DBs, such as KeyValueColumnStore, etc):
https://github.com/thinkaurelius/titan/blob/master/titan-cor...
If you are interested in implementing a Titan storage adapter for a new backend datastore and you have questions, you can discuss it in the Aurelius Graphs group:
https://groups.google.com/forum/?fromgroups#!forum/aureliusg...
Look at the Titan/BDB storage adapter for a simple example:
https://github.com/thinkaurelius/titan/tree/master/titan-ber...
It implements the KeyValueStore interfaces (there are other interfaces for different types of DBs, such as KeyValueColumnStore, etc):
https://github.com/thinkaurelius/titan/blob/master/titan-cor...
https://github.com/thinkaurelius/titan/blob/master/titan-cor...
https://github.com/thinkaurelius/titan/blob/master/titan-cor...
If you are interested in implementing a Titan storage adapter for a new backend datastore and you have questions, you can discuss it in the Aurelius Graphs group:
https://groups.google.com/forum/?fromgroups#!forum/aureliusg...