Wrapper for TableIdentifier providing member storage. More...
#include <TableIdentifier.h>
Public Member Functions | |
TableIdentifierManaged () | |
TableIdentifierManaged (const TableIdentifierManaged &identifier) | |
TableIdentifierManaged (const TableIdentifier &identifier) | |
virtual | ~TableIdentifierManaged () |
TableIdentifierManaged & | operator= (const TableIdentifierManaged &other) |
TableIdentifierManaged & | operator= (const TableIdentifier &identifier) |
void | set_id (const std::string &new_name) |
void | set_id (const char *new_name) |
const std::string & | get_id () const |
Public Member Functions inherited from Hypertable::TableIdentifier | |
TableIdentifier () | |
TableIdentifier (const char *s) | |
virtual | ~TableIdentifier () |
bool | operator== (const TableIdentifier &other) const |
bool | operator!= (const TableIdentifier &other) const |
bool | operator< (const TableIdentifier &other) const |
bool | is_metadata () const |
bool | is_system () const |
bool | is_user () const |
int32_t | index () const |
Public Member Functions inherited from Hypertable::Serializable | |
virtual size_t | encoded_length () const |
Returns serialized object length. More... | |
virtual void | encode (uint8_t **bufp) const |
Writes serialized representation of object to a buffer. More... | |
virtual void | decode (const uint8_t **bufp, size_t *remainp) |
Reads serialized representation of object from a buffer. More... | |
Private Member Functions | |
void | decode_internal (uint8_t version, const uint8_t **bufp, size_t *remainp) override |
Reads serialized representation of object from a buffer. More... | |
Private Attributes | |
std::string | m_name |
Additional Inherited Members | |
Public Attributes inherited from Hypertable::TableIdentifier | |
const char * | id |
int64_t | generation |
Static Public Attributes inherited from Hypertable::TableIdentifier | |
static const char * | METADATA_ID = "0/0" |
static const char * | METADATA_NAME = "sys/METADATA" |
static const int | METADATA_ID_LENGTH = 3 |
Protected Member Functions inherited from Hypertable::TableIdentifier | |
uint8_t | encoding_version () const override |
Returns encoding version. More... | |
size_t | encoded_length_internal () const override |
Returns internal serialized length. More... | |
void | encode_internal (uint8_t **bufp) const override |
Writes serialized representation of object to a buffer. More... | |
Related Functions inherited from Hypertable::TableIdentifier | |
ostream & | operator<< (ostream &os, const TableIdentifier &tid) |
Wrapper for TableIdentifier providing member storage.
Definition at line 98 of file TableIdentifier.h.
|
inline |
Definition at line 100 of file TableIdentifier.h.
|
inline |
Definition at line 101 of file TableIdentifier.h.
|
inline |
Definition at line 104 of file TableIdentifier.h.
|
inlinevirtual |
Definition at line 107 of file TableIdentifier.h.
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized object remaining |
Reimplemented from Hypertable::TableIdentifier.
Definition at line 105 of file TableIdentifier.cc.
|
inline |
Definition at line 134 of file TableIdentifier.h.
|
inline |
Definition at line 108 of file TableIdentifier.h.
|
inline |
Definition at line 112 of file TableIdentifier.h.
|
inline |
Definition at line 124 of file TableIdentifier.h.
|
inline |
Definition at line 129 of file TableIdentifier.h.
|
private |
Definition at line 149 of file TableIdentifier.h.