27 #ifndef Hypertable_Lib_RangeServer_Request_Parameters_PhantomUpdate_h
28 #define Hypertable_Lib_RangeServer_Request_Parameters_PhantomUpdate_h
41 namespace RangeServer {
43 namespace Parameters {
64 : m_location(location.c_str()), m_plan_generation(plan_generation),
65 m_range_spec(range_spec), m_fragment(fragment) { }
69 const char *
location()
const {
return m_location; }
81 int32_t
fragment()
const {
return m_fragment; }
87 uint8_t encoding_version()
const override;
92 size_t encoded_length_internal()
const override;
96 void encode_internal(uint8_t **bufp)
const override;
104 void decode_internal(uint8_t version,
const uint8_t **bufp,
105 size_t *remainp)
override;
125 #endif // Hypertable_Lib_RangeServer_Request_Parameters_PhantomUpdate_h
std::string String
A String is simply a typedef to std::string.
const char * location() const
Gets location.
int32_t m_plan_generation
Plan generation.
int32_t m_fragment
Fragment ID.
Declarations for QualifiedRangeSpec and QualifiedRangeSpecManaged.
PhantomUpdate()
Constructor.
int32_t fragment() const
Gets fragment ID.
const char * m_location
Location.
int32_t plan_generation() const
Gets plan generation.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
Qualified (with table identifier) range specification.
Request parameters for phantom update function.
const QualifiedRangeSpec & range_spec() const
Gets range specification.
QualifiedRangeSpec m_range_spec
Qualified range specification.
PhantomUpdate(const String &location, int32_t plan_generation, const QualifiedRangeSpec &range_spec, int32_t fragment)
Constructor.