summaryrefslogtreecommitdiff
path: root/src.mk
diff options
context:
space:
mode:
authorChristian Esken <christian.esken@trivago.com>2018-08-17 10:52:58 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-08-17 10:57:25 -0700
commitc7cf981a8565d0cb9278fa4c142cd3b5c44652df (patch)
tree0c60831c92a60b67a8b4f5637fda69877d171612 /src.mk
parentfa4de6e30ffaf9188a48f5e30d2da1ac0e454917 (diff)
Add CompactRangeOptions for Java (#4220)
Summary: Closes https://github.com/facebook/rocksdb/issues/4195 CompactRangeOptions are available the CPP API, but not in the Java API. This PR adds CompactRangeOptions to the Java API and adds an overloaded compactRange() method. See https://github.com/facebook/rocksdb/issues/4195 for the original discussion. This change supports all fields of CompactRangeOptions, including the required enum converters in the JNI portal. Significant changes: - Make CompactRangeOptions available in the compactRange() for Java. - Deprecate other compactRange() methods that have individual option params, like in the CPP code. - Migrate rocksdb_compactrange_helper() to CompactRangeOptions. - Add Java unit tests for CompactRangeOptions. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4220 Differential Revision: D9380007 Pulled By: sagar0 fbshipit-source-id: 6af6c334f221427f1997b33fb24c3986b092fed6
Diffstat (limited to 'src.mk')
-rw-r--r--src.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src.mk b/src.mk
index 4a4a32289..9257e9228 100644
--- a/src.mk
+++ b/src.mk
@@ -417,6 +417,7 @@ JNI_NATIVE_SOURCES = \
java/rocksjni/compaction_filter.cc \
java/rocksjni/compaction_filter_factory.cc \
java/rocksjni/compaction_filter_factory_jnicallback.cc \
+ java/rocksjni/compact_range_options.cc \
java/rocksjni/compaction_options_fifo.cc \
java/rocksjni/compaction_options_universal.cc \
java/rocksjni/comparator.cc \