JNI bindings for leveldb