rocksdb/java/rocksjni
Adam Retter 88c818e437 Replace deprecated RocksDB#addFile with RocksDB#ingestExternalFile
Summary:
Previously the Java implementation of `RocksDB#addFile` was both incomplete and not inline with the C++ API.

Rather than fix it, as I see that `rocksdb::DB::AddFile` is now deprecated in favour of `rocksdb::DB::IngestExternalFile`, I have removed the old broken implementation and implemented `RocksDB#ingestExternalFile`.

Closes https://github.com/facebook/rocksdb/issues/2261
Closes https://github.com/facebook/rocksdb/pull/2291

Differential Revision: D5061264

Pulled By: sagar0

fbshipit-source-id: 85df0899fa1b1fc3535175cac4f52353511d4104
2017-05-22 10:27:23 -07:00
..
backupablejni.cc Remove orphaned Java classes 2017-05-02 21:13:49 -07:00
backupenginejni.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
checkpoint.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
clock_cache.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
columnfamilyhandle.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
compaction_filter.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
compaction_options_fifo.cc Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
compaction_options_universal.cc Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
comparator.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
comparatorjnicallback.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
comparatorjnicallback.h Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
compression_options.cc Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
env_options.cc Remove orphaned Java classes 2017-05-02 21:13:49 -07:00
env.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
filter.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
ingest_external_file_options.cc Replace deprecated RocksDB#addFile with RocksDB#ingestExternalFile 2017-05-22 10:27:23 -07:00
iterator.cc Fix Compilation errors when using IBM Java 2017-03-22 18:09:10 -07:00
loggerjnicallback.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
loggerjnicallback.h Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
lru_cache.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
memtablejni.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
merge_operator.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
options.cc change use_direct_writes to use_direct_io_for_flush_and_compaction 2017-04-13 16:12:04 -07:00
portal.h Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
ratelimiterjni.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
remove_emptyvalue_compactionfilterjni.cc Improve the speed and synchronization around the construction of Java/JNI objects 2016-02-10 14:44:39 +00:00
restorejni.cc Remove orphaned Java classes 2017-05-02 21:13:49 -07:00
rocksdb_exception_test.cc Add Status to RocksDBException so that meaningful function result Status from the C++ API isn't lost (#1273) 2016-08-22 11:01:42 -07:00
rocksjni.cc Replace deprecated RocksDB#addFile with RocksDB#ingestExternalFile 2017-05-22 10:27:23 -07:00
slice.cc Fix Compilation errors when using IBM Java 2017-03-22 18:09:10 -07:00
snapshot.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
sst_file_writerjni.cc Remove orphaned Java classes 2017-05-02 21:13:49 -07:00
statistics.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
table.cc Adding pin_l0_filter_and_index_blocks_in_cache feature and related fixes. 2016-04-01 10:42:39 -07:00
transaction_log.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
ttl.cc Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
write_batch_test.cc Move various string utility functions into string_util 2017-04-06 14:54:12 -07:00
write_batch_with_index.cc Expose DB::DeleteRange and WriteBath::DeleteRange in Java 2017-03-06 22:24:26 -08:00
write_batch.cc AIX and Solaris Sparc Support 2017-04-21 20:48:04 -07:00
writebatchhandlerjnicallback.cc Fix Compilation errors when using IBM Java 2017-03-22 18:09:10 -07:00
writebatchhandlerjnicallback.h Expose DB::DeleteRange and WriteBath::DeleteRange in Java 2017-03-06 22:24:26 -08:00