|
template<class T > |
bool | operator() (const T &lhs, const T &rhs) const |
| Overload operator(), so that we can use this struct as a custom comparator in std classes/functions. More...
|
|
template<class T > |
bool | operator() (const equi_height::Bucket< T > &a, const T &b) const |
| Used by std::lower_bound when computing equal-to and less-than selectivity to find the first bucket with an upper bound that is not less than b. More...
|
|
template<class T > |
bool | operator() (const SingletonBucket< T > &a, const T &b) const |
| Same as above, but for singleton histogram buckets. More...
|
|
template<class T > |
bool | operator() (const T &a, const equi_height::Bucket< T > &b) const |
| Used by std::upper_bound when computing greater-than selectivity in order to find the first bucket with an upper bound that is greater than a. More...
|
|
template<class T > |
bool | operator() (const T &a, const SingletonBucket< T > &b) const |
| Same as above, but for singleton histogram buckets. More...
|
|
template<class T > |
bool | operator() (const equi_height::Bucket< T > &a, const equi_height::Bucket< T > &b) const |
| Used by std::is_sorted to verify that equi-height histogram buckets are stored in sorted order. More...
|
|
template<class T > |
bool | operator() (const SingletonBucket< T > &a, const SingletonBucket< T > &b) const |
| Same as above, but for singleton histogram buckets. More...
|
|
template<> |
bool | operator() (const String &lhs, const String &rhs) const |
|
template<> |
bool | operator() (const MYSQL_TIME &lhs, const MYSQL_TIME &rhs) const |
|
template<> |
bool | operator() (const my_decimal &lhs, const my_decimal &rhs) const |
|
Histogram comparator.
Typical usage is in a "value map", where we for instance need to sort based on string collation and similar.