Update rocksdb
This commit is contained in:
parent
f9335d890f
commit
cf61636141
@ -26,7 +26,6 @@ import org.rocksdb.CompactRangeOptions;
|
||||
import org.rocksdb.FlushOptions;
|
||||
import org.rocksdb.Holder;
|
||||
import org.rocksdb.KeyMayExist.KeyMayExistEnum;
|
||||
import org.rocksdb.KeyMayExistWorkaround;
|
||||
import org.rocksdb.ReadOptions;
|
||||
import org.rocksdb.RocksDB;
|
||||
import org.rocksdb.RocksDBException;
|
||||
|
@ -1,16 +0,0 @@
|
||||
package org.rocksdb;
|
||||
|
||||
public class KeyMayExistWorkaround {
|
||||
|
||||
/**
|
||||
* 0 = not exists
|
||||
*
|
||||
* 1 = exists without value
|
||||
*
|
||||
* 2 = exists with value
|
||||
*
|
||||
*/
|
||||
public static int getExistenceState(KeyMayExist keyMayExist) {
|
||||
return keyMayExist.exists.ordinal();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user