drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::select_union Class Reference
Inheritance diagram for drizzled::select_union:
[legend]
Collaboration diagram for drizzled::select_union:
[legend]

Public Member Functions

int prepare (List< Item > &list, Select_Lex_Unit *u)
bool send_data (List< Item > &items)
bool send_eof ()
bool flush ()
void cleanup ()
bool create_result_table (Session *session, List< Item > *column_types, bool is_distinct, uint64_t options, const char *alias)
Public Member Functions inherited from drizzled::select_result_interceptor
uint32_t field_count (List< Item > &) const
void send_fields (List< Item > &)
Public Member Functions inherited from drizzled::select_result
virtual bool initialize_tables (Join *)
virtual void abort ()
void set_session (Session *session_arg)
void begin_dataset ()
virtual void send_error (drizzled::error_t errcode, const char *err)

Public Attributes

Table * table

Private Attributes

Tmp_Table_Param tmp_table_param

Additional Inherited Members

Static Public Member Functions inherited from drizzled::memory::SqlAlloc
static void * operator new (size_t size)
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, Root *root)
static void * operator new[] (size_t size, Root *root)
static void operator delete (void *)
static void operator delete[] (void *)
static void operator delete (void *, Root &)
static void operator delete[] (void *, Root &)
static void operator delete (void *, Root *)
static void operator delete[] (void *, Root *)
Protected Attributes inherited from drizzled::select_result
Session * session
Select_Lex_Unit * unit

Detailed Description

Definition at line 29 of file select_union.h.

Constructor & Destructor Documentation

◆ select_union()

drizzled::select_union::select_union ( )
inline

Definition at line 35 of file select_union.h.

◆ ~select_union()

drizzled::select_union::~select_union ( )
inline

Definition at line 36 of file select_union.h.

Member Function Documentation

◆ cleanup()

void drizzled::select_union::cleanup ( )
virtual

Reset and empty the temporary table that stores the materialized query result.

Note
The cleanup performed here is exactly the same as for the two temp tables of JOIN - exec_tmp_table_[1 | 2].

Reimplemented from drizzled::select_result.

Definition at line 151 of file sql_union.cc.

◆ create_result_table()

bool drizzled::select_union::create_result_table ( Session * session,
List< Item > * column_types,
bool is_distinct,
uint64_t options,
const char * alias )

Definition at line 122 of file sql_union.cc.

◆ flush()

bool drizzled::select_union::flush ( )

Definition at line 88 of file sql_union.cc.

◆ prepare()

int drizzled::select_union::prepare ( List< Item > & list,
Select_Lex_Unit * u )
virtual

Reimplemented from drizzled::select_result.

Definition at line 50 of file sql_union.cc.

◆ send_data()

bool drizzled::select_union::send_data ( List< Item > & items)
virtual

Implements drizzled::select_result.

Definition at line 57 of file sql_union.cc.

◆ send_eof()

bool drizzled::select_union::send_eof ( )
virtual

Implements drizzled::select_result.

Definition at line 82 of file sql_union.cc.

Member Data Documentation

◆ table

Table* drizzled::select_union::table

Definition at line 33 of file select_union.h.

◆ tmp_table_param

Tmp_Table_Param drizzled::select_union::tmp_table_param
private

Definition at line 31 of file select_union.h.


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