This is JNoSQL communication drivers for the key value stores:
Note that this is a very simple/primitive implementation - no bells and whistles.
First create the configuration.
KeyValueConfiguration cfg = new BDBJEConfiguration(dbdir, dbnam, prefix, ser, deser); KeyValueConfiguration cfg = new RocksDBConfiguration(dbpath, prefix, ser, deser);
will create a configuration based on the provided parameters.
KeyValueConfiguration cfg = new BDBJEConfiguration(); KeyValueConfiguration cfg = new RocksDBConfiguration();
will create a configuration based on a properties file (bdbje.properties or rocksdb.properties respectively).
KeyValueConfiguration cfg = KeyValueConfiguration.getConfiguration();
will create a configuration based on a properties file - the type will be based on what jar file is in classpath. Note: does not work with multiple drivers in classpath.
The rest is totally standard JNoSQL. See documentation.
See Java Docs.
This library is written by Arne Vajhoej (arne@vajhoej.dk).
Bug reports, bug fixes and comments in general are welcome.
Since this is a hobby project, then I can not give any guarantees about timeline for new releases.