27 #ifndef Hypertable_Lib_Master_Request_Parameters_MoveRange_h
28 #define Hypertable_Lib_Master_Request_Parameters_MoveRange_h
43 namespace Parameters {
67 const string &transfer_log, int64_t soft_limit,
bool is_split)
68 : m_source(source), m_range_id(range_id), m_table(table),
69 m_range_spec(range_spec), m_transfer_log(transfer_log),
70 m_soft_limit(soft_limit), m_is_split(is_split) { }
74 const string&
source()
const {
return m_source; }
78 int64_t
range_id()
const {
return m_range_id; }
104 uint8_t encoding_version()
const override;
109 size_t encoded_length_internal()
const override;
113 void encode_internal(uint8_t **bufp)
const override;
121 void decode_internal(uint8_t version,
const uint8_t **bufp,
122 size_t *remainp)
override;
150 #endif // Hypertable_Lib_Master_Request_Parameters_MoveRange_h
string m_transfer_log
Transfer log.
MoveRange(const string &source, int64_t range_id, const TableIdentifier &table, const RangeSpec &range_spec, const string &transfer_log, int64_t soft_limit, bool is_split)
Constructor.
Declarations for TableIdentifier and TableIdentifierManaged.
int64_t m_range_id
Range MetaLog entry identifier
Request parameters for move range operation.
Wrapper for TableIdentifier providing member storage.
bool m_is_split
is split flag
int64_t soft_limit()
Gets soft limit.
TableIdentifier & table()
Gets table identifier.
RangeSpec & range_spec()
Gets range specification.
Declarations for RangeSpec and RangeSpecManaged.
Declarations for Serializable.
TableIdentifierManaged m_table
Table identifier of table to which range belongs
Mixin class that provides a standard serialization interface.
bool is_split()
Gets is split flag.
int64_t m_soft_limit
Soft limit.
RangeSpecManaged m_range_spec
Range specification.
const string & transfer_log() const
Gets transfer log.
int64_t range_id() const
Gets range MetaLog entry identifier.
Wrapper for RangeSpec providing member storage.
const string & source() const
Gets name of source RangeServer.
string m_source
Source RangeServer.