22 #ifndef Hypertable_Master_OperationInitialize_h
23 #define Hypertable_Master_OperationInitialize_h
42 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
43 void decode_state_old(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
44 void decode_result(
const uint8_t **bufp,
size_t *remainp)
override;
56 #endif // Hypertable_Master_OperationInitialize_h
uint8_t encoding_version_state() const override
Returns version of encoding format of state.
void encode_state(uint8_t **bufp) const override
Encode operation state.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Decode operation state.
std::string String
A String is simply a typedef to std::string.
Declarations for Operation.
String m_metadata_secondlevel_location
OperationInitialize(ContextPtr &context)
const String label() override
Human readable label for operation.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Wrapper for TableIdentifier providing member storage.
String m_metadata_root_location
void execute() override
Executes (carries out) the operation.
virtual ~OperationInitialize()
String m_metadata_range_name
const String name() override
Name of operation used for exclusivity.
size_t encoded_length_state() const override
Encoded length of operation state.
Abstract base class for master operations.
void decode_result(const uint8_t **bufp, size_t *remainp) override
Decode operation result.
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
void display_state(std::ostream &os) override
Write human readable operation state to output stream.
TableIdentifierManaged m_table