Drizzled Public API Documentation

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

Classes

class  Key
 

Public Types

typedef message::Table::TableType Type
 

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 drizzled::identifier::Catalog &catalog, const std::string &db_arg, const std::string &table_name_arg, Type tmp_arg=message::Table::STANDARD)
 
 Table (const drizzled::identifier::Catalog &catalog, 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 std::string getSQLPath () 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 & getCompareWithSchemaName () const
 
const drizzled::identifier::CataloggetCatalog () const
 
const std::string & getCatalogName () const
 
virtual bool isSystem () const
 
bool compare (const std::string &arg) const
 
bool compare (const Schema &) 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 std::string build_table_filename (const drizzled::identifier::Table &, bool is_tmp)
 
static std::string build_tmptable_filename ()
 

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< (const Table &left, const Table &right)
 
bool operator== (const Table &left, const Table &right)
 

Detailed Description

Definition at line 59 of file table.h.


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