27 #ifndef Hypertable_Master_OperationRecreateIndexTables_h
28 #define Hypertable_Master_OperationRecreateIndexTables_h
128 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
130 void decode_state_old(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
148 #endif // Hypertable_Master_OperationRecreateIndexTables_h
void display_state(std::ostream &os) override
Writes human readable representation of object to output stream.
std::string String
A String is simply a typedef to std::string.
Declarations for Operation.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Represents a set of table parts (sub-tables).
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
const String label() override
Returns descriptive label for operation.
void execute() override
Carries out recreate index tables operation.
Reconstructs a table's index tables.
Request parameters for recreate index tables operation.
Lib::Master::Request::Parameters::RecreateIndexTables m_params
Request parmaeters.
TableParts m_parts
Table parts to recreate.
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
uint8_t encoding_version_state() const override
Returns encoding version of serialization format.
Declarations for RecreateIndexTables request parameters.
const String name() override
Returns name of operation.
void encode_state(uint8_t **bufp) const override
Writes serialized encoding of object state.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized encoding of object state.
Abstract base class for master operations.
A String class based on std::string.
size_t encoded_length_state() const override
Returns serialized state length.
virtual ~OperationRecreateIndexTables()
Destructor.
bool fetch_schema(std::string &schema)
OperationRecreateIndexTables(ContextPtr &context, std::string name, TableParts parts)
Constructor.
Declarations for TableParts.