#include <item_cmpfunc.h>
◆ cmp_item()
◆ ~cmp_item()
virtual cmp_item::~cmp_item |
( |
| ) |
|
|
virtualdefault |
◆ allocate_value_comparators()
Allocate comparator objects for each value object, based on the template comparator objects.
Only implemented for derived class cmp_item_row.
- Parameters
-
mem_root | mem_root for allocation. |
tmpl | The template item object. |
arg | The value item. |
- Returns
- false if success, true if error.
Reimplemented in cmp_item_row.
◆ cmp()
virtual int cmp_item::cmp |
( |
Item * |
item | ) |
|
|
pure virtual |
◆ compare()
virtual int cmp_item::compare |
( |
const cmp_item * |
item | ) |
const |
|
pure virtual |
◆ make_same()
virtual cmp_item * cmp_item::make_same |
( |
| ) |
|
|
pure virtual |
◆ new_comparator()
Create an appropriate comparator for the given type.
- Parameters
-
thd | Session handle. |
result_type | Used to find the appropriate comparator. |
item | Item object used to distinguish temporal types. |
cs | Charset |
- Returns
- new cmp_item_xxx object, or nullptr if error.
◆ store_value()
virtual void cmp_item::store_value |
( |
Item * |
item | ) |
|
|
pure virtual |
◆ store_value_by_template()
virtual void cmp_item::store_value_by_template |
( |
cmp_item * |
, |
|
|
Item * |
item |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following files: