|
|
@ -795,12 +795,16 @@ rocksdb_options_optimize_universal_style_compaction( |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_allow_ingest_behind(rocksdb_options_t*, |
|
|
|
rocksdb_options_set_allow_ingest_behind(rocksdb_options_t*, |
|
|
|
unsigned char); |
|
|
|
unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_allow_ingest_behind(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compaction_filter( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compaction_filter( |
|
|
|
rocksdb_options_t*, rocksdb_compactionfilter_t*); |
|
|
|
rocksdb_options_t*, rocksdb_compactionfilter_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compaction_filter_factory( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compaction_filter_factory( |
|
|
|
rocksdb_options_t*, rocksdb_compactionfilterfactory_t*); |
|
|
|
rocksdb_options_t*, rocksdb_compactionfilterfactory_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_compaction_readahead_size( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_compaction_readahead_size( |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
|
|
|
|
rocksdb_options_get_compaction_readahead_size(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_comparator( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_comparator( |
|
|
|
rocksdb_options_t*, rocksdb_comparator_t*); |
|
|
|
rocksdb_options_t*, rocksdb_comparator_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_merge_operator( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_merge_operator( |
|
|
@ -811,13 +815,21 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compression_per_level( |
|
|
|
rocksdb_options_t* opt, int* level_values, size_t num_levels); |
|
|
|
rocksdb_options_t* opt, int* level_values, size_t num_levels); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_create_if_missing( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_create_if_missing( |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char rocksdb_options_get_create_if_missing( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_create_missing_column_families(rocksdb_options_t*, |
|
|
|
rocksdb_options_set_create_missing_column_families(rocksdb_options_t*, |
|
|
|
unsigned char); |
|
|
|
unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_create_missing_column_families(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_error_if_exists( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_error_if_exists( |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char rocksdb_options_get_error_if_exists( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_paranoid_checks( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_paranoid_checks( |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char rocksdb_options_get_paranoid_checks( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_db_paths(rocksdb_options_t*, |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_db_paths(rocksdb_options_t*, |
|
|
|
const rocksdb_dbpath_t** path_values, |
|
|
|
const rocksdb_dbpath_t** path_values, |
|
|
|
size_t num_paths); |
|
|
|
size_t num_paths); |
|
|
@ -827,16 +839,28 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_info_log(rocksdb_options_t*, |
|
|
|
rocksdb_logger_t*); |
|
|
|
rocksdb_logger_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_info_log_level( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_info_log_level( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_info_log_level( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_write_buffer_size( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_write_buffer_size( |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
|
|
|
|
rocksdb_options_get_write_buffer_size(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_db_write_buffer_size( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_db_write_buffer_size( |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
rocksdb_options_t*, size_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
|
|
|
|
rocksdb_options_get_db_write_buffer_size(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_open_files( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_open_files( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_max_open_files( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_file_opening_threads( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_file_opening_threads( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_max_file_opening_threads( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_total_wal_size( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_total_wal_size( |
|
|
|
rocksdb_options_t* opt, uint64_t n); |
|
|
|
rocksdb_options_t* opt, uint64_t n); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API uint64_t |
|
|
|
|
|
|
|
rocksdb_options_get_max_total_wal_size(rocksdb_options_t* opt); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compression_options( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compression_options( |
|
|
|
rocksdb_options_t*, int, int, int, int); |
|
|
|
rocksdb_options_t*, int, int, int, int); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
@ -852,25 +876,43 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_prefix_extractor( |
|
|
|
rocksdb_options_t*, rocksdb_slicetransform_t*); |
|
|
|
rocksdb_options_t*, rocksdb_slicetransform_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_num_levels( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_num_levels( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_num_levels( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_level0_file_num_compaction_trigger(rocksdb_options_t*, int); |
|
|
|
rocksdb_options_set_level0_file_num_compaction_trigger(rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int |
|
|
|
|
|
|
|
rocksdb_options_get_level0_file_num_compaction_trigger(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_level0_slowdown_writes_trigger(rocksdb_options_t*, int); |
|
|
|
rocksdb_options_set_level0_slowdown_writes_trigger(rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int |
|
|
|
|
|
|
|
rocksdb_options_get_level0_slowdown_writes_trigger(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_level0_stop_writes_trigger( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_level0_stop_writes_trigger( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_level0_stop_writes_trigger( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_mem_compaction_level( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_mem_compaction_level( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_target_file_size_base( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_target_file_size_base( |
|
|
|
rocksdb_options_t*, uint64_t); |
|
|
|
rocksdb_options_t*, uint64_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API uint64_t |
|
|
|
|
|
|
|
rocksdb_options_get_target_file_size_base(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_target_file_size_multiplier( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_target_file_size_multiplier( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_target_file_size_multiplier( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_bytes_for_level_base( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_bytes_for_level_base( |
|
|
|
rocksdb_options_t*, uint64_t); |
|
|
|
rocksdb_options_t*, uint64_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API uint64_t |
|
|
|
|
|
|
|
rocksdb_options_get_max_bytes_for_level_base(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_level_compaction_dynamic_level_bytes(rocksdb_options_t*, |
|
|
|
rocksdb_options_set_level_compaction_dynamic_level_bytes(rocksdb_options_t*, |
|
|
|
unsigned char); |
|
|
|
unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_level_compaction_dynamic_level_bytes(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_max_bytes_for_level_multiplier(rocksdb_options_t*, double); |
|
|
|
rocksdb_options_set_max_bytes_for_level_multiplier(rocksdb_options_t*, double); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API double |
|
|
|
|
|
|
|
rocksdb_options_get_max_bytes_for_level_multiplier(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_max_bytes_for_level_multiplier_additional( |
|
|
|
rocksdb_options_set_max_bytes_for_level_multiplier_additional( |
|
|
|
rocksdb_options_t*, int* level_values, size_t num_levels); |
|
|
|
rocksdb_options_t*, int* level_values, size_t num_levels); |
|
|
@ -879,9 +921,14 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_enable_statistics( |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_skip_stats_update_on_db_open(rocksdb_options_t* opt, |
|
|
|
rocksdb_options_set_skip_stats_update_on_db_open(rocksdb_options_t* opt, |
|
|
|
unsigned char val); |
|
|
|
unsigned char val); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_skip_stats_update_on_db_open(rocksdb_options_t* opt); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_skip_checking_sst_file_sizes_on_db_open( |
|
|
|
rocksdb_options_set_skip_checking_sst_file_sizes_on_db_open( |
|
|
|
rocksdb_options_t* opt, unsigned char val); |
|
|
|
rocksdb_options_t* opt, unsigned char val); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_skip_checking_sst_file_sizes_on_db_open( |
|
|
|
|
|
|
|
rocksdb_options_t* opt); |
|
|
|
|
|
|
|
|
|
|
|
/* returns a pointer to a malloc()-ed, null terminated string */ |
|
|
|
/* returns a pointer to a malloc()-ed, null terminated string */ |
|
|
|
extern ROCKSDB_LIBRARY_API char* rocksdb_options_statistics_get_string( |
|
|
|
extern ROCKSDB_LIBRARY_API char* rocksdb_options_statistics_get_string( |
|
|
@ -889,20 +936,34 @@ extern ROCKSDB_LIBRARY_API char* rocksdb_options_statistics_get_string( |
|
|
|
|
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_write_buffer_number( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_write_buffer_number( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int rocksdb_options_get_max_write_buffer_number( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_min_write_buffer_number_to_merge(rocksdb_options_t*, int); |
|
|
|
rocksdb_options_set_min_write_buffer_number_to_merge(rocksdb_options_t*, int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int |
|
|
|
|
|
|
|
rocksdb_options_get_min_write_buffer_number_to_merge(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_max_write_buffer_number_to_maintain(rocksdb_options_t*, |
|
|
|
rocksdb_options_set_max_write_buffer_number_to_maintain(rocksdb_options_t*, |
|
|
|
int); |
|
|
|
int); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int |
|
|
|
|
|
|
|
rocksdb_options_get_max_write_buffer_number_to_maintain(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
extern ROCKSDB_LIBRARY_API void |
|
|
|
rocksdb_options_set_max_write_buffer_size_to_maintain(rocksdb_options_t*, |
|
|
|
rocksdb_options_set_max_write_buffer_size_to_maintain(rocksdb_options_t*, |
|
|
|
int64_t); |
|
|
|
int64_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API int64_t |
|
|
|
|
|
|
|
rocksdb_options_get_max_write_buffer_size_to_maintain(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_enable_pipelined_write( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_enable_pipelined_write( |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char |
|
|
|
|
|
|
|
rocksdb_options_get_enable_pipelined_write(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_unordered_write( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_unordered_write( |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
rocksdb_options_t*, unsigned char); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API unsigned char rocksdb_options_get_unordered_write( |
|
|
|
|
|
|
|
rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_subcompactions( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_subcompactions( |
|
|
|
rocksdb_options_t*, uint32_t); |
|
|
|
rocksdb_options_t*, uint32_t); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API uint32_t |
|
|
|
|
|
|
|
rocksdb_options_get_max_subcompactions(rocksdb_options_t*); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_background_jobs( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_background_jobs( |
|
|
|
rocksdb_options_t*, int); |
|
|
|
rocksdb_options_t*, int); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_background_compactions( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_background_compactions( |
|
|
|