class RocksDB::Options

Included Modules

Defined in:

rocksdb/options.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module RocksDB::RawMemory(LibRocksDB::RocksdbOptionsT)

close close, closed? closed?, opened? opened?, raw : T raw

Instance methods inherited from module RocksDB::Api

rocksdb_close(*args) rocksdb_close, rocksdb_create_iterator(*args) rocksdb_create_iterator, rocksdb_delete(*args) rocksdb_delete, rocksdb_get(*args) rocksdb_get, rocksdb_iter_destroy(*args) rocksdb_iter_destroy, rocksdb_iter_key(*args) rocksdb_iter_key, rocksdb_iter_next(*args) rocksdb_iter_next, rocksdb_iter_prev(*args) rocksdb_iter_prev, rocksdb_iter_seek(*args) rocksdb_iter_seek, rocksdb_iter_seek_to_first(*args) rocksdb_iter_seek_to_first, rocksdb_iter_seek_to_last(*args) rocksdb_iter_seek_to_last, rocksdb_iter_valid(*args) rocksdb_iter_valid, rocksdb_iter_value(*args) rocksdb_iter_value, rocksdb_open(*args) rocksdb_open, rocksdb_open_for_read_only(*args) rocksdb_open_for_read_only, rocksdb_options_create(*args) rocksdb_options_create, rocksdb_options_destroy(*args) rocksdb_options_destroy, rocksdb_put(*args) rocksdb_put, rocksdb_readoptions_create(*args) rocksdb_readoptions_create, rocksdb_readoptions_destroy(*args) rocksdb_readoptions_destroy, rocksdb_writeoptions_create(*args) rocksdb_writeoptions_create, rocksdb_writeoptions_destroy(*args) rocksdb_writeoptions_destroy

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.default #

[View source]

Instance Method Detail

def enable_statistics(*args) #

option set_max_bytes_for_level_multiplier_additional(x0 : RocksdbOptionsT, level_values : LibC::Int*, num_levels : LibC::SizeT)


[View source]
def increase_parallelism(*args) #

[View source]
def optimize_for_point_lookup(*args) #

[View source]
def optimize_level_style_compaction(*args) #

[View source]
def optimize_universal_style_compaction(*args) #

[View source]
def prepare_for_bulk_load(*args) #

[View source]
def set_access_hint_on_compaction_start(*args) #

[View source]
def set_advise_random_on_open(*args) #

[View source]
def set_allow_mmap_reads(*args) #

[View source]
def set_allow_mmap_writes(*args) #

[View source]
def set_allow_os_buffer(*args) #

[View source]
def set_arena_block_size(*args) #

[View source]
def set_bloom_locality(*args) #

[View source]
def set_bytes_per_sync(*args) #

[View source]
def set_create_if_missing(*args) #

option set_compaction_filter(x0 : RocksdbOptionsT, x1 : RocksdbCompactionfilterT) option set_compaction_filter_factory(x0 : RocksdbOptionsT, x1 : RocksdbCompactionfilterfactoryT) option set_comparator(x0 : RocksdbOptionsT, x1 : RocksdbComparatorT) option set_merge_operator(x0 : RocksdbOptionsT, x1 : RocksdbMergeoperatorT) option set_uint64add_merge_operator(x0 : RocksdbOptionsT) option set_compression_per_level(opt : RocksdbOptionsT, level_values : LibC::Int*, num_levels : LibC::SizeT)


[View source]
def set_create_missing_column_families(*args) #

[View source]
def set_delete_obsolete_files_period_micros(*args) #

[View source]
def set_disable_auto_compactions(*args) #

[View source]
def set_disable_data_sync(*args) #

[View source]
def set_error_if_exists(*args) #

[View source]
def set_expanded_compaction_factor(*args) #

[View source]
def set_filter_deletes(*args) #

[View source]
def set_hard_rate_limit(*args) #

[View source]
def set_hash_link_list_rep(*args) #

[View source]
def set_hash_skip_list_rep(*args) #

[View source]
def set_info_log_level(*args) #

option set_env(x0 : RocksdbOptionsT, x1 : RocksdbEnvT) option set_info_log(x0 : RocksdbOptionsT, x1 : RocksdbLoggerT)


[View source]
def set_inplace_update_num_locks(*args) #

[View source]
def set_inplace_update_support(*args) #

[View source]
def set_is_fd_close_on_exec(*args) #

[View source]
def set_keep_log_file_num(*args) #

[View source]
def set_level0_file_num_compaction_trigger(*args) #

[View source]
def set_level0_slowdown_writes_trigger(*args) #

[View source]
def set_level0_stop_writes_trigge(*args) #

[View source]
def set_log_file_time_to_roll(*args) #

[View source]
def set_manifest_preallocation_size(*args) #

[View source]
def set_max_background_compactions(*args) #

[View source]
def set_max_background_flushes(*args) #

[View source]
def set_max_bytes_for_level_base(*args) #

[View source]
def set_max_bytes_for_level_multiplier(*args) #

[View source]
def set_max_grandparent_overlap_factor(*args) #

[View source]
def set_max_log_file_size(*args) #

[View source]
def set_max_manifest_file_size(*args) #

[View source]
def set_max_mem_compaction_level(*args) #

[View source]
def set_max_open_files(*args) #

[View source]
def set_max_sequential_skip_in_iterations(*args) #

[View source]
def set_max_successive_merges(*args) #

[View source]
def set_max_total_wal_size(*args) #

[View source]
def set_max_write_buffer_number(*args) #

option statistics_get_string(opt : RocksdbOptionsT) : LibC::Char*


[View source]
def set_max_write_buffer_number_to_maintain(*args) #

[View source]
def set_memtable_prefix_bloom_bits(*args) #

[View source]
def set_memtable_prefix_bloom_probes(*args) #

[View source]
def set_memtable_vector_rep(*args) #

[View source]
def set_min_level_to_compress(*args) #

[View source]
def set_min_partial_merge_operands(*args) #

[View source]
def set_min_write_buffer_number_to_merge(*args) #

[View source]
def set_num_levels(*args) #

option set_compression_options(x0 : RocksdbOptionsT, x1 : LibC::Int, x2 : LibC::Int, x3 : LibC::Int) option set_prefix_extractor(x0 : RocksdbOptionsT, x1 : RocksdbSlicetransformT)


[View source]
def set_paranoid_checks(*args) #

[View source]
def set_plain_table_factory(*args) #

[View source]
def set_purge_redundant_kvs_while_flush(*args) #

[View source]
def set_rate_limit_delay_max_milliseconds(*args) #

[View source]
def set_skip_log_error_on_recovery(*args) #

[View source]
def set_soft_rate_limit(*args) #

[View source]
def set_source_compaction_factor(*args) #

[View source]
def set_stats_dump_period_sec(*args) #

[View source]
def set_table_cache_numshardbits(*args) #

[View source]
def set_table_cache_remove_scan_count_limit(*args) #

[View source]
def set_target_file_size_base(*args) #

[View source]
def set_target_file_size_multiplier(*args) #

[View source]
def set_use_adaptive_mutex(*args) #

[View source]
def set_use_fsync(*args) #

[View source]
def set_verify_checksums_in_compaction(*args) #

[View source]
def set_wal_size_limit_mb(*args) #

[View source]
def set_wal_ttl_seconds(*args) #

option set_db_log_dir(x0 : RocksdbOptionsT, x1 : LibC::Char*) option set_wal_dir(x0 : RocksdbOptionsT, x1 : LibC::Char*)


[View source]
def set_write_buffer_size(*args) #

[View source]

Macro Detail

macro option(name) #

[View source]