MySQL 5.6.14 Source Code Document
|
#include <QueryTree.hpp>
Public Types | |
enum | { P_DATA = 0x1, P_COL = 0x2, P_UNQ_PK = 0x3, P_PARAM = 0x4, P_PARENT = 0x5, P_PARAM_HEADER = 0x6, P_ATTRINFO = 0x7, P_END = 0 } |
Static Public Member Functions | |
static Uint32 | getType (const Uint32 info) |
static Uint32 | getLength (Uint32 info) |
static Uint32 | data (Uint32 length) |
static Uint32 | getColNo (Uint32 info) |
static Uint32 | col (Uint32 no) |
static Uint32 | colPk (Uint32 no) |
static Uint32 | getParamNo (Uint32 info) |
static Uint32 | param (Uint32 no) |
static Uint32 | paramHeader (Uint32 no) |
static Uint32 | attrInfo (Uint32 no) |
static Uint32 | parent (Uint32 no) |
Public Attributes | |
Uint32 | m_info |
This is description of one entry in a QueryPattern (used by various QueryNodes)
Definition at line 320 of file QueryTree.hpp.
|
inlinestatic |
get col including header
Definition at line 369 of file QueryTree.hpp.
|
inlinestatic |
If type == P_UNQ_PK, get PK value from composite NDB$PK col.
Definition at line 356 of file QueryTree.hpp.
|
inlinestatic |
If type == COL, get col-no here (index in row)
Definition at line 350 of file QueryTree.hpp.
|
inlinestatic |
If type == DATA, get len here
Definition at line 340 of file QueryTree.hpp.
|
inlinestatic |
If type == PARAM, get param-no here (index in param list)
Definition at line 361 of file QueryTree.hpp.
|
inlinestatic |
Move to grand-parent no (0 == imediate parent)
Definition at line 375 of file QueryTree.hpp.