|
|
@ -171,6 +171,8 @@ public class RocksDB { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public Map<byte[], byte[]> multiGet(List<byte[]> keys) |
|
|
|
public Map<byte[], byte[]> multiGet(List<byte[]> keys) |
|
|
|
throws RocksDBException { |
|
|
|
throws RocksDBException { |
|
|
|
|
|
|
|
assert(keys.size() != 0); |
|
|
|
|
|
|
|
|
|
|
|
List<byte[]> values = multiGet( |
|
|
|
List<byte[]> values = multiGet( |
|
|
|
nativeHandle_, keys, keys.size()); |
|
|
|
nativeHandle_, keys, keys.size()); |
|
|
|
|
|
|
|
|
|
|
@ -199,6 +201,8 @@ public class RocksDB { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public Map<byte[], byte[]> multiGet(ReadOptions opt, List<byte[]> keys) |
|
|
|
public Map<byte[], byte[]> multiGet(ReadOptions opt, List<byte[]> keys) |
|
|
|
throws RocksDBException { |
|
|
|
throws RocksDBException { |
|
|
|
|
|
|
|
assert(keys.size() != 0); |
|
|
|
|
|
|
|
|
|
|
|
List<byte[]> values = multiGet( |
|
|
|
List<byte[]> values = multiGet( |
|
|
|
nativeHandle_, opt.nativeHandle_, keys, keys.size()); |
|
|
|
nativeHandle_, opt.nativeHandle_, keys, keys.size()); |
|
|
|
|
|
|
|
|
|
|
|