MySQL 9.1.0
Source Code Documentation
Item::Item_field_replacement Struct Reference

#include <item.h>

Inheritance diagram for Item::Item_field_replacement:
[legend]

Public Types

enum class  Mode { CONFLATE , FIELD , DEFAULT_VALUE }
 

Public Member Functions

 Item_field_replacement (Field *target, Item_field *item, Query_block *select, Mode default_value=Mode::CONFLATE)
 
- Public Member Functions inherited from Item::Item_replacement
 Item_replacement (Query_block *transformed_block, Query_block *current_block)
 

Public Attributes

Fieldm_target
 The field to be replaced. More...
 
Item_fieldm_item
 The replacement field replacement field iff outer ref. More...
 
Item_fieldm_outer_field {nullptr}
 
Mode m_default_value
 
- Public Attributes inherited from Item::Item_replacement
Query_blockm_trans_block
 Transformed query block. More...
 
Query_blockm_curr_block
 Transformed query block or a contained. More...
 

Member Enumeration Documentation

◆ Mode

Enumerator
CONFLATE 
FIELD 
DEFAULT_VALUE 

Constructor & Destructor Documentation

◆ Item_field_replacement()

Item::Item_field_replacement::Item_field_replacement ( Field target,
Item_field item,
Query_block select,
Mode  default_value = Mode::CONFLATE 
)
inline

Member Data Documentation

◆ m_default_value

Mode Item::Item_field_replacement::m_default_value

◆ m_item

Item_field* Item::Item_field_replacement::m_item

The replacement field replacement field iff outer ref.

◆ m_outer_field

Item_field* Item::Item_field_replacement::m_outer_field {nullptr}

◆ m_target

Field* Item::Item_field_replacement::m_target

The field to be replaced.


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