Drizzled Public API Documentation

drizzled::subselect_indexsubquery_engine Class Reference
Inheritance diagram for drizzled::subselect_indexsubquery_engine:
drizzled::subselect_uniquesubquery_engine drizzled::subselect_engine drizzled::memory::SqlAlloc

Public Types

enum  enum_engine_type {
  ABSTRACT_ENGINE, SINGLE_SELECT_ENGINE, UNION_ENGINE, UNIQUESUBQUERY_ENGINE,
  INDEXSUBQUERY_ENGINE, HASH_SJ_ENGINE
}
 

Public Member Functions

 subselect_indexsubquery_engine (Session *session_arg, JoinTable *tab_arg, Item_subselect *subs, Item *where, Item *having_arg, bool chk_null)
 
int exec ()
 
virtual void print (String *str)
 
virtual enum_engine_type engine_type ()
 
void cleanup ()
 
int prepare ()
 
void fix_length_and_dec (Item_cache **row)
 
uint32_t cols ()
 
bool uncacheable ()
 
bool uncacheable (uint32_t)
 
void exclude ()
 
table_map upper_select_const_tables ()
 
bool change_result (Item_subselect *si, select_result_interceptor *result)
 
bool no_tables ()
 
int scan_table ()
 
bool copy_ref_key ()
 
bool no_rows ()
 
void set_session (Session *session_arg)
 
Sessionget_session ()
 
enum Item_result type ()
 
enum_field_types field_type ()
 
virtual bool may_be_null ()
 
virtual bool is_executed () const
 

Static Public Member Functions

static table_map calc_const_tables (TableList *)
 
static void * operator new (size_t size)
 
static void * operator new (size_t size, Root &root)
 
static void * operator new (size_t size, Root *root)
 
static void * operator new[] (size_t size)
 
static void * operator new[] (size_t size, Root &root)
 
static void * operator new[] (size_t size, Root *root)
 
static void operator delete (void *)
 
static void operator delete (void *, Root &)
 
static void operator delete (void *, Root *)
 
static void operator delete[] (void *)
 
static void operator delete[] (void *, Root &)
 
static void operator delete[] (void *, Root *)
 

Protected Member Functions

void set_row (List< Item > &item_list, Item_cache **row)
 

Protected Attributes

JoinTabletab
 
Itemcond
 
bool empty_result_set
 
bool null_keypart
 
select_result_interceptorresult
 
Sessionsession
 
Item_subselectitem
 
enum Item_result res_type
 
enum_field_types res_field_type
 
bool maybe_null
 

Private Attributes

bool check_null
 
Itemhaving
 

Detailed Description

Definition at line 581 of file subselect.h.

Member Function Documentation

bool drizzled::subselect_uniquesubquery_engine::change_result ( Item_subselect si,
select_result_interceptor result 
)
virtualinherited

change select_result emulation, never should be called.

Parameters
sinew subselect Item
resnew select_result object
Return values
falseOK
trueerror

Implements drizzled::subselect_engine.

Definition at line 2860 of file subselect.cc.

bool drizzled::subselect_uniquesubquery_engine::no_tables ( )
virtualinherited

Report about presence of tables in subquery.

Return values
truethere are not tables used in subquery
falsethere are some tables in subquery

Implements drizzled::subselect_engine.

Definition at line 2926 of file subselect.cc.


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