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_inverted_index ๐Ÿ”’
prefix_partition_tree ๐Ÿ”’
prefix_twcs ๐Ÿ”’

Structsยง

IndexOptions
Options for index.
InvertedIndexOptions
Options for the inverted index.
PartitionTreeOptions
Partition tree memtable options.
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ยง

DEFAULT_INDEX_SEGMENT_ROW_COUNT ๐Ÿ”’

Functionsยง

deserialize_ignore_column_ids ๐Ÿ”’
options_map_to_value ๐Ÿ”’
Converts the options map to a json object.
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 enum options.