rocksdb/java/rocksjni
mrambacher 8948dc8524 Make ImmutableOptions struct that inherits from ImmutableCFOptions and ImmutableDBOptions (#8262)
Summary:
The ImmutableCFOptions contained a bunch of fields that belonged to the ImmutableDBOptions.  This change cleans that up by introducing an ImmutableOptions struct.  Following the pattern of Options struct, this class inherits from the DB and CFOption structs (of the Immutable form).

Only one structural change (the ImmutableCFOptions::fs was changed to a shared_ptr from a raw one) is in this PR.  All of the other changes involve moving the member variables from the ImmutableCFOptions into the ImmutableOptions and changing member variables or function parameters as required for compilation purposes.

Follow-on PRs may do a further clean-up of the code, such as renaming variables (such as "ImmutableOptions cf_options") and potentially eliminating un-needed function parameters (there is no longer a need to pass both an ImmutableDBOptions and an ImmutableOptions to a function).

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

Reviewed By: pdillinger

Differential Revision: D28226540

Pulled By: mrambacher

fbshipit-source-id: 18ae71eadc879dedbe38b1eb8e6f9ff5c7147dbf
2021-05-05 14:00:17 -07:00
..
backupablejni.cc
backupenginejni.cc
cache.cc support getUsage and getPinnedUsage in JavaAPI for Cache (#7925) 2021-03-17 09:30:33 -07:00
cassandra_compactionfilterjni.cc
cassandra_value_operator.cc
checkpoint.cc
clock_cache.cc
columnfamilyhandle.cc
compact_range_options.cc
compaction_filter.cc
compaction_filter_factory.cc
compaction_filter_factory_jnicallback.cc
compaction_filter_factory_jnicallback.h
compaction_job_info.cc
compaction_job_stats.cc
compaction_options.cc
compaction_options_fifo.cc
compaction_options_universal.cc
comparator.cc
comparatorjnicallback.cc
comparatorjnicallback.h
compression_options.cc Limit buffering for collecting samples for compression dictionary (#7970) 2021-02-19 14:09:54 -08:00
concurrent_task_limiter.cc S390 Linux is failing tests ColumnFamilyOptionsTest.cfPaths (#7853) 2021-01-15 16:32:31 -08:00
config_options.cc Add a ConfigOptions for use in comparing objects and converting to/from strings (#6389) 2020-04-21 17:38:17 -07:00
env.cc
env_options.cc
event_listener.cc Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
event_listener_jnicallback.cc Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
event_listener_jnicallback.h Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
filter.cc
ingest_external_file_options.cc
iterator.cc
jnicallback.cc Fix tabs and lint-ignores (#6734) 2020-04-20 11:39:31 -07:00
jnicallback.h Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
loggerjnicallback.cc
loggerjnicallback.h
lru_cache.cc
memory_util.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
memtablejni.cc
merge_operator.cc
native_comparator_wrapper_test.cc
optimistic_transaction_db.cc
optimistic_transaction_options.cc
options.cc S390 Linux is failing tests ColumnFamilyOptionsTest.cfPaths (#7853) 2021-01-15 16:32:31 -08:00
options_util.cc Add a ConfigOptions for use in comparing objects and converting to/from strings (#6389) 2020-04-21 17:38:17 -07:00
persistent_cache.cc
portal.h Add sample_for_compression results to table properties (#8139) 2021-03-31 18:21:50 -07:00
ratelimiterjni.cc
remove_emptyvalue_compactionfilterjni.cc
restorejni.cc
rocks_callback_object.cc Fix tabs and lint-ignores (#6734) 2020-04-20 11:39:31 -07:00
rocksdb_exception_test.cc
rocksjni.cc Fix getApproximateMemTableStats() return type (#8098) 2021-03-31 09:46:47 -07:00
slice.cc Read Options to support direct slice (#7132) 2021-01-15 17:05:18 -08:00
snapshot.cc
sst_file_manager.cc
sst_file_reader_iterator.cc
sst_file_readerjni.cc
sst_file_writerjni.cc
sst_partitioner.cc SST Partitioner interface that allows to split SST files (#6957) 2020-07-24 13:44:49 -07:00
statistics.cc
statisticsjni.cc Fix tabs and lint-ignores (#6734) 2020-04-20 11:39:31 -07:00
statisticsjni.h Fix tabs and lint-ignores (#6734) 2020-04-20 11:39:31 -07:00
table.cc Align RocksJava BlockBasedTableOptions with C++ API (#7088) 2020-07-10 14:32:58 -07:00
table_filter.cc
table_filter_jnicallback.cc
table_filter_jnicallback.h
testable_event_listener.cc Add sample_for_compression results to table properties (#8139) 2021-03-31 18:21:50 -07:00
thread_status.cc
trace_writer.cc
trace_writer_jnicallback.cc
trace_writer_jnicallback.h
transaction.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
transaction_db.cc
transaction_db_options.cc
transaction_log.cc
transaction_notifier.cc
transaction_notifier_jnicallback.cc
transaction_notifier_jnicallback.h
transaction_options.cc
ttl.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
wal_filter.cc
wal_filter_jnicallback.cc
wal_filter_jnicallback.h
write_batch.cc
write_batch_test.cc Make ImmutableOptions struct that inherits from ImmutableCFOptions and ImmutableDBOptions (#8262) 2021-05-05 14:00:17 -07:00
write_batch_with_index.cc Add newer WBWI::NewIteratorWithBase functions to RocksJava (#6872) 2020-05-27 11:59:12 -07:00
write_buffer_manager.cc
writebatchhandlerjnicallback.cc
writebatchhandlerjnicallback.h