2 ms·
Any plans to support other storage backends? Postgresql and Riak comes in my mind.
by agilord 14y ago
Any plans to support other storage backends? Postgresql and Riak comes in my mind.
- espeed 14y agoAnyone can implement new Titan storage adapters by implementing a few interface classes. Look at the Titan/BDB storage adapter for a simple example: https://github.com/thinkaurelius/titan/tree/master/titan-berkeleyje/src/main/java/com/thinkaurelius/titan/diskstorage/berkeleyje 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-core/src/main/java/com/thinkaurelius/titan/diskstorage/keycolumnvalue/keyvalue/KeyValueStoreManager.java https://github.com/thinkaurelius/titan/blob/master/titan-cor... https://github.com/thinkaurelius/titan/blob/master/titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/keycolumnvalue/keyvalue/KeyValueStore.java https://github.com/thinkaurelius/titan/blob/master/titan-cor... https://github.com/thinkaurelius/titan/blob/master/titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/common/AbstractStoreTransaction.java 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/aureliusgraphs https://groups.google.com/forum/?fromgroups#!forum/aureliusg...