MySQL 9.1.0
Source Code Documentation
anonymous_namespace{estimate_selectivity.cc}::KeySelectivityResult Struct Reference

Return type for EstimateSelectivityFromIndexStatistics(). More...

Public Attributes

double selectivity
 The estimated selectivity (or -1.0 if there was no suitable index). More...
 
uint prefix_length
 The length of the index prefix from which we derived the selectivity. More...
 

Detailed Description

Return type for EstimateSelectivityFromIndexStatistics().

Member Data Documentation

◆ prefix_length

uint anonymous_namespace{estimate_selectivity.cc}::KeySelectivityResult::prefix_length

The length of the index prefix from which we derived the selectivity.

◆ selectivity

double anonymous_namespace{estimate_selectivity.cc}::KeySelectivityResult::selectivity

The estimated selectivity (or -1.0 if there was no suitable index).


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