27 #ifndef Hypertable_Lib_RangeServer_Request_Parameters_LoadRange_h
28 #define Hypertable_Lib_RangeServer_Request_Parameters_LoadRange_h
42 namespace RangeServer {
44 namespace Parameters {
64 const RangeState &range_state,
bool needs_compaction)
65 : m_table(table), m_range_spec(range_spec), m_range_state(range_state),
66 m_needs_compaction(needs_compaction) { }
88 uint8_t encoding_version()
const override;
93 size_t encoded_length_internal()
const override;
97 void encode_internal(uint8_t **bufp)
const override;
105 void decode_internal(uint8_t version,
const uint8_t **bufp,
106 size_t *remainp)
override;
118 bool m_needs_compaction {};
125 #endif // Hypertable_Lib_RangeServer_Request_Parameters_LoadRange_h
const TableIdentifier & table()
Gets table identifier.
Declarations for TableIdentifier and TableIdentifierManaged.
const RangeSpec & range_spec()
Gets range specification.
RangeState m_range_state
Range state
Declarations for RangeState.
Declarations for RangeSpec and RangeSpecManaged.
RangeSpec m_range_spec
Range specification
Declarations for Serializable.
bool needs_compaction()
Gets needs compaction flag.
Mixin class that provides a standard serialization interface.
TableIdentifier m_table
Table identifier
Request parameters for load range function.
const RangeState & range_state()
Gets range state.
LoadRange(const TableIdentifier &table, const RangeSpec &range_spec, const RangeState &range_state, bool needs_compaction)
Constructor.