Request parameters for compact function.
More...
#include <Compact.h>
Request parameters for compact function.
Definition at line 48 of file Compact.h.
| Hypertable::Lib::RangeServer::Request::Parameters::Compact::Compact |
( |
| ) |
|
|
inline |
Constructor.
Empty initialization for decoding.
Definition at line 53 of file Compact.h.
| Hypertable::Lib::RangeServer::Request::Parameters::Compact::Compact |
( |
const TableIdentifier & |
table, |
|
|
const std::string & |
row, |
|
|
int32_t |
range_types |
|
) |
| |
|
inline |
Constructor.
Initializes with parameters for encoding. Sets m_table to table, m_row to row, and m_range_types to range_types.
- Parameters
-
| table | Table identifier |
| row | Row identifying range to be compacted |
| range_types | Bit mask of range types to be compacted |
Definition at line 62 of file Compact.h.
| void Compact::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 72 of file Compact.cc.
| void Compact::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 |
| TableIdentifier | Table identifier |
| vstr | Row identifying range to compact |
| i32 | Bit mask of range types to compact |
Implements Hypertable::Serializable.
Definition at line 66 of file Compact.cc.
| size_t Compact::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
| uint8_t Compact::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
| int32_t Hypertable::Lib::RangeServer::Request::Parameters::Compact::range_types |
( |
| ) |
|
|
inline |
Gets range types to be compacted.
- Returns
- Range types to be compacted.
Definition at line 76 of file Compact.h.
| const char* Hypertable::Lib::RangeServer::Request::Parameters::Compact::row |
( |
| ) |
|
|
inline |
Gets row identifying range to be compacted.
- Returns
- Row identifying range to be compacted.
Definition at line 72 of file Compact.h.
| const TableIdentifier& Hypertable::Lib::RangeServer::Request::Parameters::Compact::table |
( |
| ) |
|
|
inline |
Gets table identifier.
- Returns
- Table identifier
Definition at line 68 of file Compact.h.
| int32_t Hypertable::Lib::RangeServer::Request::Parameters::Compact::m_range_types {} |
|
private |
Bit mask of range types to be compacted.
Definition at line 109 of file Compact.h.
| std::string Hypertable::Lib::RangeServer::Request::Parameters::Compact::m_row |
|
private |
Row identifying range to be compacted.
Definition at line 106 of file Compact.h.
| TableIdentifier Hypertable::Lib::RangeServer::Request::Parameters::Compact::m_table |
|
private |
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServer/Request/Parameters/Compact.h
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServer/Request/Parameters/Compact.cc