27 #ifndef Hypertable_Lib_Master_Request_Parameters_RenameTable_h
28 #define Hypertable_Lib_Master_Request_Parameters_RenameTable_h
40 namespace Parameters {
58 RenameTable(
const std::string &from,
const std::string &to);
62 const string&
from()
const {
return m_from; }
66 const string&
to()
const {
return m_to; }
72 uint8_t encoding_version()
const override;
77 size_t encoded_length_internal()
const override;
81 void encode_internal(uint8_t **bufp)
const override;
89 void decode_internal(uint8_t version,
const uint8_t **bufp,
90 size_t *remainp)
override;
104 #endif // Hypertable_Lib_Master_Request_Parameters_RenameTable_h
const string & from() const
Gets original table name.
Request parameters for rename table operation.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
RenameTable()
Constructor.
const string & to() const
Gets new table name.
std::string m_to
New table name.
std::string m_from
Original table name.