27 #ifndef Hypertable_Master_OperationCreateTable_h
28 #define Hypertable_Master_OperationCreateTable_h
146 const uint8_t **bufp,
size_t *remainp)
override;
149 const uint8_t **bufp,
size_t *remainp)
override;
174 #endif // Hypertable_Master_OperationCreateTable_h
size_t encoded_length_state() const override
Returns serialized state length.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized encoding of object state.
void display_state(std::ostream &os) override
Writes human readable representation of object to output stream.
Lib::Master::Request::Parameters::CreateTable m_params
Request parmaeters.
std::string String
A String is simply a typedef to std::string.
Request parameters for create table operation.
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
OperationCreateTable(ContextPtr &context, const String &name, const String &schema, TableParts parts)
Constructor.
Declarations for Operation.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
const String label() override
Returns label for operation Returns string "CreateTable
" Label for operation.
TableParts m_parts
Which parts of table to create.
Represents a set of table parts (sub-tables).
String m_schema
Schema for the table
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Wrapper for TableIdentifier providing member storage.
Declarations for CreateTable request parameters.
OperationCreateTable(ContextPtr &context, const MetaLog::EntityHeader &header)
Constructor with MML entity.
const String name() override
Returns name of operation Returns name of operation (OperationCreateTable)
Carries out a create table operation.
String m_location
Proxy name of server to hold initial range
TableIdentifierManaged m_table
Table identifier
uint8_t encoding_version_state() const override
Returns encoding version of serialization format.
void execute() override
Carries out the create table operation.
Abstract base class for master operations.
void encode_state(uint8_t **bufp) const override
Writes serialized encoding of object state.
virtual ~OperationCreateTable()
Destructor.
Declarations for TableParts.