|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| DRIZZLED_LOCAL | DTCollation (const charset_info_st *, Derivation) |
| void | set (DTCollation &dt) |
| void | set (const charset_info_st *, Derivation) |
| void | set (const charset_info_st *) |
| void | set (Derivation derivation_arg) |
| bool | set (DTCollation &dt1, DTCollation &dt2, uint32_t flags=0) |
| DRIZZLED_LOCAL bool | aggregate (DTCollation &dt, uint32_t flags=0) |
| DRIZZLED_LOCAL const char * | derivation_name () const |
Public Attributes | |
| const charset_info_st * | collation |
| Derivation | derivation |
Definition at line 28 of file dtcollation.h.
| drizzled::DTCollation::DTCollation | ( | ) |
Definition at line 32 of file dtcollation.cc.
| drizzled::DTCollation::DTCollation | ( | const charset_info_st * | collation_arg, |
| Derivation | derivation_arg ) |
Definition at line 39 of file dtcollation.cc.
| bool drizzled::DTCollation::aggregate | ( | DTCollation & | dt, |
| uint32_t | flags = 0 ) |
Aggregate two collations together taking into account their coercibility (aka derivation):.
0 == DERIVATION_EXPLICIT - an explicitly written COLLATE clause
1 == DERIVATION_NONE - a mix of two different collations
2 == DERIVATION_IMPLICIT - a column
3 == DERIVATION_COERCIBLE - a string constant.
The most important rules are:
Definition at line 74 of file dtcollation.cc.
| const char * drizzled::DTCollation::derivation_name | ( | ) | const |
Definition at line 180 of file dtcollation.cc.
| void drizzled::DTCollation::set | ( | const charset_info_st * | collation_arg | ) |
Definition at line 62 of file dtcollation.cc.
| void drizzled::DTCollation::set | ( | const charset_info_st * | collation_arg, |
| Derivation | derivation_arg ) |
Definition at line 54 of file dtcollation.cc.
| void drizzled::DTCollation::set | ( | Derivation | derivation_arg | ) |
Definition at line 68 of file dtcollation.cc.
| void drizzled::DTCollation::set | ( | DTCollation & | dt | ) |
Definition at line 47 of file dtcollation.cc.
| bool drizzled::DTCollation::set | ( | DTCollation & | dt1, |
| DTCollation & | dt2, | ||
| uint32_t | flags = 0 ) |
Definition at line 176 of file dtcollation.cc.
| const charset_info_st* drizzled::DTCollation::collation |
Definition at line 31 of file dtcollation.h.
| Derivation drizzled::DTCollation::derivation |
Definition at line 32 of file dtcollation.h.