MySQL 8.0.40
Source Code Documentation
cmp_item_scalar Class Reference

cmp_item which stores a scalar (i.e. non-ROW). More...

#include <item_cmpfunc.h>

Inheritance diagram for cmp_item_scalar:
[legend]

Protected Member Functions

void set_null_value (bool nv)
 

Protected Attributes

bool m_null_value
 If stored value is NULL. More...
 

Additional Inherited Members

- Public Member Functions inherited from cmp_item
 cmp_item ()=default
 
virtual ~cmp_item ()=default
 
virtual bool allocate_value_comparators (MEM_ROOT *mem_root, cmp_item *tmpl, Item *arg)
 Allocate comparator objects for each value object, based on the template comparator objects. More...
 
virtual void store_value (Item *item)=0
 
virtual int cmp (Item *item)=0
 
virtual int compare (const cmp_item *item) const =0
 
virtual cmp_itemmake_same ()=0
 
virtual void store_value_by_template (cmp_item *, Item *item)
 
- Static Public Member Functions inherited from cmp_item
static cmp_itemnew_comparator (THD *thd, Item_result result_type, Item *item, const CHARSET_INFO *cs)
 Create an appropriate comparator for the given type. More...
 

Detailed Description

cmp_item which stores a scalar (i.e. non-ROW).

Member Function Documentation

◆ set_null_value()

void cmp_item_scalar::set_null_value ( bool  nv)
inlineprotected

Member Data Documentation

◆ m_null_value

bool cmp_item_scalar::m_null_value
protected

If stored value is NULL.


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