MySQL 8.4.2
Source Code Documentation
|
Abstract base class for the comparison operators =, <> and <=>. More...
#include <item_cmpfunc.h>
Public Member Functions | |
Item_bool_func * | create (Item *a, Item *b) const override |
This implementation of the factory method also implements flattening of row constructors. More... | |
bool | eqne_op () const override |
bool | l_op () const override |
Public Member Functions inherited from Comp_creator | |
virtual | ~Comp_creator ()=default |
virtual const char * | symbol (bool invert) const =0 |
This interface is only used by Item_allany_subselect. More... | |
Protected Member Functions | |
virtual Item_bool_func * | create_scalar_predicate (Item *a, Item *b) const =0 |
Creates only an item tree node, without attempting to rewrite row constructors. More... | |
virtual Item_bool_func * | combine (List< Item > list) const =0 |
Combines a list of conditions exp op exp . More... | |
Abstract base class for the comparison operators =, <> and <=>.
|
protectedpure virtual |
Combines a list of conditions exp op exp
.
Implemented in Eq_creator, Equal_creator, and Ne_creator.
|
overridevirtual |
This implementation of the factory method also implements flattening of row constructors.
Examples of flattening are:
P is either AND or OR, depending on the comparison operation, and this detail is left for combine().
The actual operator op
is created by the concrete subclass in create_scalar_predicate().
Implements Comp_creator.
|
protectedpure virtual |
Creates only an item tree node, without attempting to rewrite row constructors.
Implemented in Eq_creator, Equal_creator, and Ne_creator.
|
inlineoverridevirtual |
Implements Comp_creator.
|
inlineoverridevirtual |
Implements Comp_creator.