Drizzled Public API Documentation

drizzled::identifier::Table Class Reference
Inheritance diagram for drizzled::identifier::Table:
drizzled::identifier::Schema drizzled::Identifier

List of all members.

Classes

class  Key

Public Types

typedef message::Table::TableType Type
typedef std::vector< Tablevector
typedef const Tableconst_reference
typedef Tablereference

Public Member Functions

 Table (const drizzled::Table &table)
 Table (const identifier::Schema &schema, const std::string &table_name_arg, Type tmp_arg=message::Table::STANDARD)
 Table (const std::string &db_arg, const std::string &table_name_arg, Type tmp_arg=message::Table::STANDARD)
 Table (const std::string &schema_name_arg, const std::string &table_name_arg, const std::string &path_arg)
bool isTmp () const
bool isView () const
Type getType () const
virtual void getSQLPath (std::string &sql_path) const
virtual const std::string & getPath () const
const std::string & getKeyPath () const
void setPath (const std::string &new_path)
const std::string & getTableName () const
void copyToTableMessage (message::Table &message) const
bool isValid () const
size_t getHashValue () const
const KeygetKey () const
const std::string & getSchemaName () const
const std::string & getCatalogName () const
virtual bool isSystem () const
bool compare (const std::string &arg) const
bool compare (Schema::const_reference) const

Static Public Member Functions

static bool isView (message::Table::TableType arg)
static uint32_t filename_to_tablename (const char *from, char *to, uint32_t to_length)
static size_t build_table_filename (std::string &path, const std::string &db, const std::string &table_name, bool is_tmp)
static size_t build_tmptable_filename (std::string &buffer)
static size_t build_tmptable_filename (std::vector< char > &buffer)

Private Member Functions

void init ()
size_t getKeySize () const

Private Attributes

Type type
std::string path
std::string key_path
std::string table_name
Key key
size_t hash_value

Friends

bool operator< (Table::const_reference left, Table::const_reference right)
bool operator== (Table::const_reference left, Table::const_reference right)
bool operator< (Schema::const_reference left, Schema::const_reference right)
bool operator== (Schema::const_reference left, Schema::const_reference right)

Detailed Description

Definition at line 57 of file table.h.


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