27 #ifndef Hypertable_Lib_Master_Request_Parameters_AlterTable_h
28 #define Hypertable_Lib_Master_Request_Parameters_AlterTable_h
40 namespace Parameters {
60 AlterTable(
const std::string &name,
const std::string &schema,
bool force);
64 const string&
name()
const {
return m_name; }
68 const string&
schema()
const {
return m_schema; }
72 bool force() {
return m_force; }
78 uint8_t encoding_version()
const override;
83 size_t encoded_length_internal()
const override;
87 void encode_internal(uint8_t **bufp)
const override;
95 void decode_internal(uint8_t version,
const uint8_t **bufp,
96 size_t *remainp)
override;
113 #endif // Hypertable_Lib_Master_Request_Parameters_AlterTable_h
Request parameters for alter table operation.
bool force()
Gets force flag.
std::string m_name
Table name.
const string & schema() const
Gets table schema.
std::string m_schema
New schema.
const string & name() const
Gets name of table to alter.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.