Request parameters for phantom commit ranges function.
More...
#include <PhantomCommitRanges.h>
Request parameters for phantom commit ranges function.
Definition at line 51 of file PhantomCommitRanges.h.
Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::PhantomCommitRanges |
( |
| ) |
|
|
inline |
Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::PhantomCommitRanges |
( |
int64_t |
op_id, |
|
|
const String & |
location, |
|
|
int32_t |
plan_generation, |
|
|
const vector< QualifiedRangeSpec > & |
range_specs |
|
) |
| |
|
inline |
Constructor.
Initializes with parameters for encoding.
- Parameters
-
op_id | Operation ID |
location | Location |
plan_generation | Plan generation |
range_specs | Range specifications |
Definition at line 64 of file PhantomCommitRanges.h.
void PhantomCommitRanges::decode_internal |
( |
uint8_t |
version, |
|
|
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
- Parameters
-
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized object remaining |
- See also
- encode_internal() for encoding format
Implements Hypertable::Serializable.
Definition at line 70 of file PhantomCommitRanges.cc.
void PhantomCommitRanges::encode_internal |
( |
uint8_t ** |
bufp | ) |
const |
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
- Parameters
-
bufp | Address of destination buffer pointer (advanced by call) |
Encoding is as follows:
Encoding | Description |
i64 | Operation ID |
vstr | Location |
i32 | Plan generation |
i32 | Range specification count |
For each range specification ... |
QualifiedRangeSpec | Qualified range specification |
Implements Hypertable::Serializable.
Definition at line 61 of file PhantomCommitRanges.cc.
size_t PhantomCommitRanges::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t PhantomCommitRanges::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
const char* Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::location |
( |
| ) |
const |
|
inline |
int64_t Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::op_id |
( |
| ) |
const |
|
inline |
int32_t Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::plan_generation |
( |
| ) |
const |
|
inline |
const vector<QualifiedRangeSpec>& Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::range_specs |
( |
| ) |
const |
|
inline |
Gets range specifications.
- Returns
- Vector of range specifications
Definition at line 84 of file PhantomCommitRanges.h.
const char* Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::m_location |
|
private |
int64_t Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::m_op_id |
|
private |
int32_t Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::m_plan_generation |
|
private |
vector<QualifiedRangeSpec> Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges::m_range_specs |
|
private |
The documentation for this class was generated from the following files: