22 #ifndef Hypertable_Master_OperationCreateNamespace_h
23 #define Hypertable_Master_OperationCreateNamespace_h
39 const std::string
name()
override;
40 const std::string
label()
override;
45 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
46 void decode_state_old(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
60 #endif // Hypertable_Master_OperationCreateNamespace_h
void initialize_dependencies()
std::string m_id
Namespace ID path.
Declarations for Operation.
void encode_state(uint8_t **bufp) const override
Encode operation state.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Request parameters for create namespace operation.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Lib::Master::Request::Parameters::CreateNamespace m_params
Request parmaeters.
OperationCreateNamespace(ContextPtr &context, const std::string &name, int32_t flags)
void execute() override
Executes (carries out) the operation.
Declarations for CreateNamespace request parameters.
uint8_t encoding_version_state() const override
Returns version of encoding format of state.
virtual ~OperationCreateNamespace()
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Abstract base class for master operations.
const std::string name() override
Name of operation used for exclusivity.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Decode operation state.
const std::string label() override
Human readable label for operation.
size_t encoded_length_state() const override
Encoded length of operation state.
void display_state(std::ostream &os) override
Write human readable operation state to output stream.