#include <key_field.h>
Public Member Functions | |
KeyField (Field *in_field, Item *in_val, uint32_t in_level, uint32_t in_optimize, bool in_eq_func, bool in_null_rejecting, bool *in_cond_guard) | |
Field * | getField () |
void | setField (Field *in_field) |
Item * | getValue () |
void | setValue (Item *in_val) |
uint32_t | getLevel () |
void | setLevel (uint32_t in_level) |
uint32_t | getOptimizeFlags () |
void | setOptimizeFlags (uint32_t in_opt) |
bool | isEqualityCondition () const |
void | setEqualityConditionUsed (bool in_val) |
bool | rejectNullValues () const |
void | setRejectNullValues (bool in_val) |
bool * | getConditionalGuard () |
void | setConditionalGuard (bool *in_cond_guard) |
Private Attributes | |
Field * | field |
Item * | val |
uint32_t | level |
uint32_t | optimize |
bool | eq_func |
bool | null_rejecting |
bool * | cond_guard |
Class used when finding key fields
Definition at line 34 of file key_field.h.
bool* drizzled::optimizer::KeyField::cond_guard [private] |
Definition at line 148 of file key_field.h.
bool drizzled::optimizer::KeyField::null_rejecting [private] |
If true, the condition this class represents will not be satisfied when val IS NULL.
Definition at line 147 of file key_field.h.
uint32_t drizzled::optimizer::KeyField::optimize [private] |
KEY_OPTIMIZE_*
Definition at line 141 of file key_field.h.
Item* drizzled::optimizer::KeyField::val [private] |
May be empty if diff constant
Definition at line 139 of file key_field.h.