MySQL 9.1.0
Source Code Documentation
GroupIndexSkipScanParameters Struct Reference

#include <group_index_skip_scan_plan.h>

Public Attributes

Mem_root_array< Item_sum * > min_functions
 
Mem_root_array< Item_sum * > max_functions
 
bool have_agg_distinct
 true if there is an aggregate distinct function, e.g. More...
 
KEY_PART_INFOmin_max_arg_part
 The key_part of the only field used by all MIN/MAX functions. More...
 
uint group_prefix_len
 Length of all key parts in the group prefix. More...
 
uint group_key_parts
 Number of index key parts in the group prefix. More...
 
KEYindex_info
 The index chosen for data access. More...
 
uint key_infix_len
 Longest key for equality predicates. More...
 
SEL_ROOTindex_tree
 The sub-tree corresponding to index_info. More...
 
bool is_index_scan
 Use index_next() instead of random read. More...
 
KEY_PARTused_key_part
 
uint real_key_parts
 
uint max_used_key_length
 
Quick_ranges prefix_ranges
 
Quick_ranges_array key_infix_ranges
 
Quick_ranges min_max_ranges
 

Member Data Documentation

◆ group_key_parts

uint GroupIndexSkipScanParameters::group_key_parts

Number of index key parts in the group prefix.

◆ group_prefix_len

uint GroupIndexSkipScanParameters::group_prefix_len

Length of all key parts in the group prefix.

◆ have_agg_distinct

bool GroupIndexSkipScanParameters::have_agg_distinct

true if there is an aggregate distinct function, e.g.

"COUNT(DISTINCT x)"

◆ index_info

KEY* GroupIndexSkipScanParameters::index_info

The index chosen for data access.

◆ index_tree

SEL_ROOT* GroupIndexSkipScanParameters::index_tree

The sub-tree corresponding to index_info.

◆ is_index_scan

bool GroupIndexSkipScanParameters::is_index_scan

Use index_next() instead of random read.

◆ key_infix_len

uint GroupIndexSkipScanParameters::key_infix_len

Longest key for equality predicates.

◆ key_infix_ranges

Quick_ranges_array GroupIndexSkipScanParameters::key_infix_ranges

◆ max_functions

Mem_root_array<Item_sum *> GroupIndexSkipScanParameters::max_functions

◆ max_used_key_length

uint GroupIndexSkipScanParameters::max_used_key_length

◆ min_functions

Mem_root_array<Item_sum *> GroupIndexSkipScanParameters::min_functions

◆ min_max_arg_part

KEY_PART_INFO* GroupIndexSkipScanParameters::min_max_arg_part

The key_part of the only field used by all MIN/MAX functions.

Note that GROUP_INDEX_SKIP_SCAN is not used if there are MIN/MAX functions on more than one field.

◆ min_max_ranges

Quick_ranges GroupIndexSkipScanParameters::min_max_ranges

◆ prefix_ranges

Quick_ranges GroupIndexSkipScanParameters::prefix_ranges

◆ real_key_parts

uint GroupIndexSkipScanParameters::real_key_parts

◆ used_key_part

KEY_PART* GroupIndexSkipScanParameters::used_key_part

The documentation for this struct was generated from the following file: