Skip to main content

Module options

Module options 

Source
Expand description

Options for a region.

If we add options in this mod, we also need to modify [store_api::mito_engine_options].

Modulesยง

prefix_bulk ๐Ÿ”’
prefix_inverted_index ๐Ÿ”’
prefix_twcs ๐Ÿ”’

Structsยง

IndexOptions
Options for index.
InvertedIndexOptions
Options for the inverted index.
RegionOptions
Options that affect the entire region.
RegionOptionsWithoutEnum ๐Ÿ”’
We need to define a new struct without enum fields as #[serde(default)] does not support external tagging.
TwcsOptions
Time window compaction options.

Enumsยง

CompactionOptions
Options for compactions
MemtableOptions
Options for region level memtable.
MergeMode
Mode to handle duplicate rows while merging.

Constantsยง

COMPACTION_TWCS_PREFIX ๐Ÿ”’
DEFAULT_INDEX_SEGMENT_ROW_COUNT ๐Ÿ”’
LEGACY_PARTITION_TREE_MEMTABLE_TYPE ๐Ÿ”’
Legacy memtable type identifier accepted for backward compatibility. The partition tree memtable has been removed; parsing this value falls back to the default (bulk) memtable at runtime.
MEMTABLE_BULK_PREFIX ๐Ÿ”’
MEMTABLE_PARTITION_TREE_PREFIX ๐Ÿ”’

Functionsยง

deserialize_ignore_column_ids ๐Ÿ”’
options_map_to_value ๐Ÿ”’
Converts the options map to a json object.
parse_wal_options ๐Ÿ”’
serialize_ignore_column_ids ๐Ÿ”’
validate_enum_options ๐Ÿ”’
Validates whether the options_map has valid options for specific enum_tag_key and returns true if the map contains the enum tag.