Drizzled Public API Documentation

drizzled::Select_Lex Class Reference
Inheritance diagram for drizzled::Select_Lex:
drizzled::Select_Lex_Node

List of all members.

Public Member Functions

void init_query ()
void init_select ()
Select_Lex_Unitmaster_unit ()
Select_Lex_Unitfirst_inner_unit ()
Select_Lexouter_select ()
Select_Lexnext_select ()
Select_Lexnext_select_in_list ()
Select_Lex_Node ** next_select_in_list_addr ()
Select_Lexreturn_after_parsing ()
void mark_as_dependent (Select_Lex *last)
bool set_braces (bool value)
bool inc_in_sum_expr ()
uint32_t get_in_sum_expr ()
bool add_item_to_list (Session *session, Item *item)
bool add_group_to_list (Session *session, Item *item, bool asc)
bool add_order_to_list (Session *session, Item *item, bool asc)
TableListadd_table_to_list (Session *session, Table_ident *table, LEX_STRING *alias, const std::bitset< NUM_OF_TABLE_OPTIONS > &table_options, thr_lock_type flags=TL_UNLOCK, List< Index_hint > *hints=0, LEX_STRING *option=0)
TableListget_table_list ()
bool init_nested_join (Session *session)
TableListend_nested_join (Session *session)
TableListnest_last_join (Session *session)
void add_joined_table (TableList *table)
TableListconvert_right_join ()
List< Item > * get_item_list ()
void set_lock_for_tables (thr_lock_type lock_type)
void init_order ()
void cut_subtree ()
bool test_limit ()
void make_empty_select ()
bool setup_ref_array (Session *session, uint32_t order_group_num)
void print (Session *session, String *str)
void print_limit (Session *session, String *str)
void fix_prepare_information (Session *session, Item **conds, Item **having_conds)
bool cleanup ()
void cleanup_all_joins (bool full)
void set_index_hint_type (index_hint_type type, index_clause_map clause)
bool add_index_hint (Session *session, char *str, uint32_t length)
void alloc_index_hints (Session *session)
List< Index_hint > * pop_index_hints (void)
void clear_index_hints (void)
Select_Lex_Nodeget_master ()
void include_down (Select_Lex_Node *upper)
void include_neighbour (Select_Lex_Node *before)
void include_standalone (Select_Lex_Node *sel, Select_Lex_Node **ref)
void include_global (Select_Lex_Node **plink)
void exclude ()

Static Public Member Functions

static void print_order (String *str, Order *order)
static void * operator new (size_t size)
static void * operator new (size_t size, memory::Root *mem_root)
static void operator delete (void *, size_t)
static void operator delete (void *, memory::Root *)

Public Attributes

Name_resolution_context context
char * db
Itemwhere
Itemhaving
Item::cond_result cond_value
Item::cond_result having_value
LEXparent_lex
olap_type olap
SQL_LIST table_list
SQL_LIST group_list
List< Itemitem_list
List< Stringinterval_list
bool is_item_list_lookup
Joinjoin
List< TableListtop_join_list
List< TableList > * join_list
TableListembedding
List< TableListsj_nests
TableListleaf_tables
drizzled::optimizer::select_type type
SQL_LIST order_list
SQL_LISTgorder_list
Itemselect_limit
Itemoffset_limit
Item ** ref_pointer_array
uint32_t select_n_having_items
uint32_t cond_count
uint32_t between_count
uint32_t max_equal_elems
uint32_t select_n_where_fields
enum_parsing_place parsing_place
bool with_sum_func
uint32_t in_sum_expr
uint32_t select_number
int8_t nest_level
Item_suminner_sum_func_list
uint32_t with_wild
bool braces
bool having_fix_field
List< Item_outer_refinner_refs_list
uint32_t n_sum_items
uint32_t n_child_sum_items
bool explicit_limit
bool is_cross
bool subquery_in_having
bool is_correlated
bool exclude_from_table_unique_test
List< Item_fieldnon_agg_fields
int cur_pos_in_select_list
List< String > * prev_join_using
std::bitset< 2 > full_group_by_flag
uint64_t options
std::bitset< 8 > uncacheable
sub_select_type linkage
bool no_table_names_allowed
bool no_error

Protected Attributes

Select_Lex_Nodenext
Select_Lex_Node ** prev
Select_Lex_Nodemaster
Select_Lex_Nodeslave
Select_Lex_Nodelink_next
Select_Lex_Node ** link_prev

Private Attributes

index_hint_type current_index_hint_type
index_clause_map current_index_hint_clause
List< Index_hint > * index_hints

Friends

void lex_start (Session *session)
class Select_Lex_Unit
bool new_select (LEX *lex, bool move_down)

Detailed Description

Definition at line 399 of file sql_lex.h.


Member Function Documentation

void drizzled::Select_Lex::mark_as_dependent ( Select_Lex last)

Mark all Select_Lex struct from this to 'last' as dependent

Parameters:
Pointerto last Select_Lex struct, before wich all Select_Lex have to be marked as dependent
Note:
'last' should be reachable from this Select_Lex_Node

Definition at line 1588 of file sql_lex.cc.

Referenced by drizzled::mark_as_dependent(), and drizzled::Item_sum::register_sum_func().


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