MySQL 8.0.39
Source Code Documentation
cmp_item_string Class Referencefinal

#include <item_cmpfunc.h>

Inheritance diagram for cmp_item_string:
[legend]

Public Member Functions

 cmp_item_string (const CHARSET_INFO *cs)
 
int compare (const cmp_item *ci) const override
 
void store_value (Item *item) override
 
int cmp (Item *arg) override
 
cmp_itemmake_same () override
 
- 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_by_template (cmp_item *, Item *item)
 

Private Attributes

const Stringvalue_res
 
StringBuffer< STRING_BUFFER_USUAL_SIZEvalue
 
const CHARSET_INFOcmp_charset
 

Additional Inherited Members

- 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...
 
- Protected Member Functions inherited from cmp_item_scalar
void set_null_value (bool nv)
 
- Protected Attributes inherited from cmp_item_scalar
bool m_null_value
 If stored value is NULL. More...
 

Constructor & Destructor Documentation

◆ cmp_item_string()

cmp_item_string::cmp_item_string ( const CHARSET_INFO cs)
inline

Member Function Documentation

◆ cmp()

int cmp_item_string::cmp ( Item item)
overridevirtual
Returns
result (true, false or UNKNOWN) of "stored argument's value <> item's value"

Implements cmp_item.

◆ compare()

int cmp_item_string::compare ( const cmp_item ci) const
inlineoverridevirtual

Implements cmp_item.

◆ make_same()

cmp_item * cmp_item_string::make_same ( )
overridevirtual

Implements cmp_item.

◆ store_value()

void cmp_item_string::store_value ( Item item)
inlineoverridevirtual

Implements cmp_item.

Member Data Documentation

◆ cmp_charset

const CHARSET_INFO* cmp_item_string::cmp_charset
private

◆ value

StringBuffer<STRING_BUFFER_USUAL_SIZE> cmp_item_string::value
private

◆ value_res

const String* cmp_item_string::value_res
private

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