Home
last modified time | relevance | path

Searched refs:getFromBatch (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/java/src/main/java/org/rocksdb/
DWriteBatchWithIndex.java171 public byte[] getFromBatch(final ColumnFamilyHandle columnFamilyHandle, in getFromBatch() method in WriteBatchWithIndex
173 return getFromBatch(nativeHandle_, options.nativeHandle_, in getFromBatch()
190 public byte[] getFromBatch(final DBOptions options, final byte[] key) in getFromBatch() method in WriteBatchWithIndex
192 return getFromBatch(nativeHandle_, options.nativeHandle_, key, key.length); in getFromBatch()
308 private native byte[] getFromBatch(final long handle, final long optHandle, in getFromBatch() method in WriteBatchWithIndex
310 private native byte[] getFromBatch(final long handle, final long optHandle, in getFromBatch() method in WriteBatchWithIndex
/rocksdb-6.9/java/src/test/java/org/rocksdb/
DWriteBatchWithIndexTest.java353 assertThat(wbwi.getFromBatch(options,"k1".getBytes(UTF_8))).isEqualTo("v1".getBytes()); in restorePoints()
467 public void getFromBatch() throws RocksDBException { in getFromBatch() method in WriteBatchWithIndexTest
483 assertThat(wbwi.getFromBatch(dbOptions, k1)).isEqualTo(v1); in getFromBatch()
484 assertThat(wbwi.getFromBatch(dbOptions, k2)).isEqualTo(v2); in getFromBatch()
485 assertThat(wbwi.getFromBatch(dbOptions, k3)).isEqualTo(v3); in getFromBatch()
486 assertThat(wbwi.getFromBatch(dbOptions, k4)).isNull(); in getFromBatch()
490 assertThat(wbwi.getFromBatch(dbOptions, k2)).isNull(); in getFromBatch()
518 assertThat(wbwi.getFromBatch(dbOptions, k1)).isNull(); in getFromBatchAndDB()
519 assertThat(wbwi.getFromBatch(dbOptions, k2)).isNull(); in getFromBatchAndDB()
520 assertThat(wbwi.getFromBatch(dbOptions, k4)).isNull(); in getFromBatchAndDB()
[all …]