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

Public Member Functions

 Show (Session *in_session)
void setShowPredicate (const std::string &schema_arg, const std::string &table_arg)
void setShowPredicate (const std::string &schema_arg)
void setShowExists (bool arg)
bool getShowExists ()
const std::string getShowSchema ()
const std::string getShowTable ()
bool execute ()
bool isShow ()
Public Member Functions inherited from drizzled::statement::Select
 Select (Session *in_session)
Public Member Functions inherited from drizzled::statement::Statement
 Statement (Session *in_session)
void set_command (enum_sql_command)
LEX & lex ()
session::Transactions & transaction ()
virtual bool isTransactional ()
Session & session () const

Private Attributes

std::string show_schema
std::string show_table
bool if_exists

Detailed Description

Definition at line 28 of file drizzled/statement/show.h.

Constructor & Destructor Documentation

◆ Show()

drizzled::statement::Show::Show ( Session * in_session)

Definition at line 30 of file statement/show.cc.

Member Function Documentation

◆ execute()

bool drizzled::statement::Show::execute ( )
virtual

Execute the statement.

Returns
true on failure; false on success

Reimplemented from drizzled::statement::Select.

Definition at line 38 of file statement/show.cc.

◆ getShowExists()

bool drizzled::statement::Show::getShowExists ( )
inline

Definition at line 54 of file drizzled/statement/show.h.

◆ getShowSchema()

const std::string drizzled::statement::Show::getShowSchema ( )
inline

Definition at line 59 of file drizzled/statement/show.h.

◆ getShowTable()

const std::string drizzled::statement::Show::getShowTable ( )
inline

Definition at line 64 of file drizzled/statement/show.h.

◆ isShow()

bool drizzled::statement::Show::isShow ( )
inlinevirtual

Reimplemented from drizzled::statement::Statement.

Definition at line 71 of file drizzled/statement/show.h.

◆ setShowExists()

void drizzled::statement::Show::setShowExists ( bool arg)
inline

Definition at line 49 of file drizzled/statement/show.h.

◆ setShowPredicate() [1/2]

void drizzled::statement::Show::setShowPredicate ( const std::string & schema_arg)
inline

Definition at line 44 of file drizzled/statement/show.h.

◆ setShowPredicate() [2/2]

void drizzled::statement::Show::setShowPredicate ( const std::string & schema_arg,
const std::string & table_arg )
inline

Definition at line 38 of file drizzled/statement/show.h.

Member Data Documentation

◆ if_exists

bool drizzled::statement::Show::if_exists
private

Definition at line 33 of file drizzled/statement/show.h.

◆ show_schema

std::string drizzled::statement::Show::show_schema
private

Definition at line 31 of file drizzled/statement/show.h.

◆ show_table

std::string drizzled::statement::Show::show_table
private

Definition at line 32 of file drizzled/statement/show.h.


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