23 #include <drizzled/nested_join.h>
24 #include <drizzled/table.h>
85 schema_select_lex(NULL),
95 internal_tmp_table(
false),
117 const char *getSchemaName()
const
122 void setSchemaName(
const char* v)
130 const char* table_name;
133 const char *getTableName()
const
138 void setTableName(
const char* v)
180 bool isCartesian()
const;
206 Select_Lex *schema_select_lex;
215 thr_lock_type lock_type;
218 void set_underlying_merge();
219 bool setup_underlying(
Session *session);
370 friend std::ostream& operator<<(std::ostream& output,
const TableList &list)
372 output <<
"TableList:(";
373 output << list.getSchemaName();
375 output << list.getTableName();
377 output << list.alias;
383 output <<
"straight:" << list.
straight;
389 output <<
"create:" << list.
create;
399 void setIsAlias(
bool in_is_alias)
404 void setIsFqtn(
bool in_is_fqtn)
409 void setCreate(
bool in_create)
414 void setInternalTmpTable(
bool in_internal_tmp_table)
416 internal_tmp_table= in_internal_tmp_table;
419 void setDbType(plugin::StorageEngine *in_db_type)
424 void setJoinList(List<TableList> *in_join_list)
429 void setEmbedding(TableList *in_embedding)
434 void setNestedJoin(NestedJoin *in_nested_join)
439 void setDepTables(table_map in_dep_tables)
444 void setOnExprDepTables(table_map in_on_expr_dep_tables)
449 bool getIsAlias()
const
454 bool getIsFqtn()
const
459 bool isCreate()
const
464 bool getInternalTmpTable()
const
466 return internal_tmp_table;
469 plugin::StorageEngine *getDbType()
const
474 TableList *getEmbedding()
const
479 List<TableList> *getJoinList()
const
484 NestedJoin *getNestedJoin()
const
489 table_map getDepTables()
const
494 table_map getOnExprDepTables()
const
499 void unlock_table_name();
509 bool internal_tmp_table;
529 void close_thread_tables(
Session *session);
table_map dep_tables
tables the table depends on
bool is_leaf_for_name_resolution() const
COND_EQUAL * cond_equal
Used with outer join.
Table * table
opened table
List< Natural_join_column > * join_columns
TableList * first_leaf_for_name_resolution()
List< Index_hint > * index_hints
bool process_index_hints(Table *table)
const char * option
Used by cache index.
TableList * find_underlying_table(Table *table)
TableList * next_name_resolution_table
bool straight
optimize with prev table
List< TableList > * join_list
join list the table belongs to
TableList * embedding
nested join containing the table
NestedJoin * nested_join
if the element is a nested join
uint32_t outer_join
Which join type.
table_map on_expr_dep_tables
tables on expression depends on
void unlock_table_names(TableList *last_table=NULL)
bool force_index
prefer index over table scan
List< String > * join_using_fields
bool ignore_leaves
preload only non-leaf nodes
bool is_join_columns_complete
plugin::StorageEngine * db_type
table_type for handler
void print(Session *session, String *str)
Select_Lex_Unit * derived
Select_Lex_Unit of derived table */.
select_union * derived_result
TableList * last_leaf_for_name_resolution()
Item * on_expr
Used with outer join.
Item_subselect * containing_subselect()