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

Public Member Functions

const char * vector () const
const char * schema_name () const
const char * table_name () const
size_t hash () const
std::vector< char > & vectorPtr ()
void set (size_t resize_arg, const std::string &catalog_arg, const std::string &schema_arg, const std::string &table_arg)
size_t size () const
size_t getHashValue () const

Private Attributes

std::vector< char > key_buffer
size_t hash_value
size_t schema_offset
size_t table_offset

Friends

bool operator== (const Key &left, const Key &right)
bool operator< (const Key &left, const Key &right)

Detailed Description

Definition at line 65 of file drizzled/identifier/table.h.

Constructor & Destructor Documentation

◆ Key()

drizzled::identifier::Table::Key::Key ( )
inline

Definition at line 74 of file drizzled/identifier/table.h.

Member Function Documentation

◆ getHashValue()

size_t drizzled::identifier::Table::Key::getHashValue ( ) const
inline

Definition at line 129 of file drizzled/identifier/table.h.

◆ hash()

size_t drizzled::identifier::Table::Key::hash ( ) const
inline

Definition at line 96 of file drizzled/identifier/table.h.

◆ schema_name()

const char * drizzled::identifier::Table::Key::schema_name ( ) const
inline

Definition at line 86 of file drizzled/identifier/table.h.

◆ set()

void drizzled::identifier::Table::Key::set ( size_t resize_arg,
const std::string & catalog_arg,
const std::string & schema_arg,
const std::string & table_arg )

Definition at line 345 of file drizzled/identifier/table.cc.

◆ size()

size_t drizzled::identifier::Table::Key::size ( ) const
inline

Definition at line 124 of file drizzled/identifier/table.h.

◆ table_name()

const char * drizzled::identifier::Table::Key::table_name ( ) const
inline

Definition at line 91 of file drizzled/identifier/table.h.

◆ vector()

const char * drizzled::identifier::Table::Key::vector ( ) const
inline

Definition at line 81 of file drizzled/identifier/table.h.

◆ vectorPtr()

std::vector< char > & drizzled::identifier::Table::Key::vectorPtr ( )
inline

Definition at line 101 of file drizzled/identifier/table.h.

◆ operator<

bool operator< ( const Key & left,
const Key & right )
friend

Definition at line 119 of file drizzled/identifier/table.h.

◆ operator==

bool operator== ( const Key & left,
const Key & right )
friend

Definition at line 108 of file drizzled/identifier/table.h.

Member Data Documentation

◆ hash_value

size_t drizzled::identifier::Table::Key::hash_value
private

Definition at line 68 of file drizzled/identifier/table.h.

◆ key_buffer

std::vector<char> drizzled::identifier::Table::Key::key_buffer
private

Definition at line 67 of file drizzled/identifier/table.h.

◆ schema_offset

size_t drizzled::identifier::Table::Key::schema_offset
private

Definition at line 69 of file drizzled/identifier/table.h.

◆ table_offset

size_t drizzled::identifier::Table::Key::table_offset
private

Definition at line 70 of file drizzled/identifier/table.h.


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