MySQL  8.0.20
Source Code Documentation
qep_row::column< T > Struct Template Reference

A wrapper for numeric table properties. More...

#include <opt_explain_format.h>

Public Member Functions

 column ()
 
bool is_empty () const
 
void cleanup ()
 
void set (T value_arg)
 
get () const
 

Public Attributes

value
 

Private Attributes

bool nil
 true if the column contains NULL More...
 

Detailed Description

template<typename T>
struct qep_row::column< T >

A wrapper for numeric table properties.

For traditional EXPLAIN this structure contains a value of one cell of the output row (excluding textual column values - see mem_root_str, and "Extra" column - see the col_extra list).

For hierarchical EXPLAIN this structure contains a numeric property value for a single CTX_TABLE/CTX_QEP_TAB context node of the intermediate tree.

Constructor & Destructor Documentation

◆ column()

template<typename T>
qep_row::column< T >::column ( )
inline

Member Function Documentation

◆ cleanup()

template<typename T>
void qep_row::column< T >::cleanup ( )
inline

◆ get()

template<typename T>
T qep_row::column< T >::get ( ) const
inline

◆ is_empty()

template<typename T>
bool qep_row::column< T >::is_empty ( ) const
inline

◆ set()

template<typename T>
void qep_row::column< T >::set ( value_arg)
inline

Member Data Documentation

◆ nil

template<typename T>
bool qep_row::column< T >::nil
private

true if the column contains NULL

◆ value

template<typename T>
T qep_row::column< T >::value

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