MySQL 9.1.0
Source Code Documentation
Func_ptr Class Reference

Helper class for copy_funcs(); represents an Item to copy from table to next tmp table. More...

#include <temp_table_param.h>

Public Member Functions

 Func_ptr (Item *item, Field *result_field, Item *result_item=nullptr)
 
Itemfunc () const
 
void set_func (Item *func)
 
Fieldresult_field () const
 
Itemresult_item () const
 
bool should_copy (Copy_func_type type) const
 

Private Attributes

Itemm_func
 
Fieldm_result_field
 
Itemm_result_item = nullptr
 
int m_func_bits
 

Detailed Description

Helper class for copy_funcs(); represents an Item to copy from table to next tmp table.

Constructor & Destructor Documentation

◆ Func_ptr()

Func_ptr::Func_ptr ( Item item,
Field result_field,
Item result_item = nullptr 
)

Member Function Documentation

◆ func()

Item * Func_ptr::func ( ) const
inline

◆ result_field()

Field * Func_ptr::result_field ( ) const
inline

◆ result_item()

Item * Func_ptr::result_item ( ) const

◆ set_func()

void Func_ptr::set_func ( Item func)

◆ should_copy()

bool Func_ptr::should_copy ( Copy_func_type  type) const
inline

Member Data Documentation

◆ m_func

Item* Func_ptr::m_func
private

◆ m_func_bits

int Func_ptr::m_func_bits
private

◆ m_result_field

Field* Func_ptr::m_result_field
private

◆ m_result_item

Item* Func_ptr::m_result_item = nullptr
mutableprivate

The documentation for this class was generated from the following files: