MySQL 8.4.2
Source Code Documentation
|
A simple struct containing the settings for a histogram to be built. More...
#include <histogram.h>
Public Attributes | |
const char * | column_name |
A null-terminated C-style string with the name of the column to build the histogram for. More... | |
size_t | num_buckets = 100 |
The target number of buckets for the histogram. More... | |
LEX_STRING | data = {nullptr, 0} |
Holds the JSON specification of the histogram for the UPDATE HISTOGRAM ... USING DATA command, otherwise empty. More... | |
bool | auto_update = false |
True if AUTO UPDATE, false for MANUAL UPDATE. More... | |
Field * | field = nullptr |
A pointer to the field, used internally by update_histograms(). More... | |
A simple struct containing the settings for a histogram to be built.
bool histograms::HistogramSetting::auto_update = false |
True if AUTO UPDATE, false for MANUAL UPDATE.
const char* histograms::HistogramSetting::column_name |
A null-terminated C-style string with the name of the column to build the histogram for.
LEX_STRING histograms::HistogramSetting::data = {nullptr, 0} |
Holds the JSON specification of the histogram for the UPDATE HISTOGRAM ... USING DATA command, otherwise empty.
A pointer to the field, used internally by update_histograms().
size_t histograms::HistogramSetting::num_buckets = 100 |
The target number of buckets for the histogram.