rocksdb/java
Tomas Kolda 1001bc01c9 Read Options to support direct slice (#7132)
Summary:
This request is adding support for using DirectSlice in ReadOptions lower/upper bounds.

To be more efficient I have added setLength to DirectSlice so I can just update the length to be used by slice from direct buffer. It is also needed, because when one creates iterator it keep pointer to original slice so setting new slice in options does not help (it needs to reuse existing one). Using this approach one can modify the slice any time during operations with iterator.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7132

Reviewed By: zhichao-cao

Differential Revision: D25840092

Pulled By: jay-zhuang

fbshipit-source-id: 760167baf61568c9a35138145c4bf9b06824cb71
2021-01-15 17:05:18 -08:00
..
benchmark/src/main/java/org/rocksdb/benchmark
crossbuild Automatically number the Maven artifacts (#7219) 2020-08-06 14:13:30 -07:00
jmh Improve RocksJava Comparator (#6252) 2020-02-03 12:30:13 -08:00
rocksjni Read Options to support direct slice (#7132) 2021-01-15 17:05:18 -08:00
samples/src/main/java
src Read Options to support direct slice (#7132) 2021-01-15 17:05:18 -08:00
CMakeLists.txt Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
HISTORY-JAVA.md
jdb_bench.sh
Makefile Update the versions of the test dependencies used for RocksJava (#7805) 2021-01-13 16:01:38 -08:00
pom.xml.template Update the versions of the test dependencies used for RocksJava (#7805) 2021-01-13 16:01:38 -08:00
RELEASE.md Add shared library for musl-libc (#3143) 2019-11-26 18:24:09 -08:00