27 #ifndef Hypertable_Lib_Master_Request_Parameters_CreateTable_h
28 #define Hypertable_Lib_Master_Request_Parameters_CreateTable_h
40 namespace Parameters {
58 CreateTable(
const std::string &name,
const std::string &schema);
62 const string&
name()
const {
return m_name; }
66 const string&
schema()
const {
return m_schema; }
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_CreateTable_h
const string & name() const
Gets name of table to create.
Request parameters for create table operation.
std::string m_schema
Table schema.
const string & schema() const
Gets table schema.
std::string m_name
Table name.
CreateTable()
Constructor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.