Drizzled Public API Documentation

drizzled::optimizer::KeyField Class Reference

#include <key_field.h>

List of all members.

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)
FieldgetField ()
void setField (Field *in_field)
ItemgetValue ()
void setValue (Item *in_val)
uint32_t getLevel () const
void setLevel (uint32_t in_level)
uint32_t getOptimizeFlags () const
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

Fieldfield
Itemval
uint32_t level
uint32_t optimize
bool eq_func
bool null_rejecting
bool * cond_guard

Detailed Description

Class used when finding key fields

Definition at line 31 of file key_field.h.


Member Data Documentation

bool* drizzled::optimizer::KeyField::cond_guard
private
See also:
KeyUse::cond_guard

Definition at line 145 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 144 of file key_field.h.

uint32_t drizzled::optimizer::KeyField::optimize
private

KEY_OPTIMIZE_*

Definition at line 138 of file key_field.h.

Item* drizzled::optimizer::KeyField::val
private

May be empty if diff constant

Definition at line 136 of file key_field.h.


The documentation for this class was generated from the following file: