Request parameters for compact operation.
More...
#include <Compact.h>
Request parameters for compact operation.
Definition at line 46 of file Compact.h.
Hypertable::Lib::Master::Request::Parameters::Compact::Compact |
( |
| ) |
|
|
inline |
Constructor.
Empty initialization for decoding.
Definition at line 51 of file Compact.h.
Compact::Compact |
( |
const std::string & |
table_name, |
|
|
const std::string & |
row, |
|
|
int32_t |
range_types |
|
) |
| |
Constructor.
Initializes with parameters for encoding. Sets m_table_name to table_name
, m_row to row
, and m_range_types to range_types
.
- Parameters
-
table_name | Name of table to be compacted |
row | Row identifying range to be compacted |
range_types | Bit mask of range types to be compacted |
Definition at line 41 of file Compact.cc.
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 83 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 |
vstr | Name of table to compact |
vstr | Row identifying range to compact |
i32 | Bit mask of range types to compact |
Implements Hypertable::Serializable.
Definition at line 77 of file Compact.cc.
size_t Compact::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t Compact::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
int32_t Hypertable::Lib::Master::Request::Parameters::Compact::range_types |
( |
| ) |
|
|
inline |
Gets range types to be compacted.
- Returns
- Range types to be compacted.
Definition at line 73 of file Compact.h.
const std::string& Hypertable::Lib::Master::Request::Parameters::Compact::row |
( |
| ) |
const |
|
inline |
Gets row identifying range to be compacted.
- Returns
- Row identifying range to be compacted.
Definition at line 69 of file Compact.h.
const std::string& Hypertable::Lib::Master::Request::Parameters::Compact::table_name |
( |
| ) |
const |
|
inline |
Gets name of table to compact.
- Returns
- Name of table to compact
Definition at line 65 of file Compact.h.
int32_t Hypertable::Lib::Master::Request::Parameters::Compact::m_range_types {} |
|
private |
Bit mask of range types to be compacted.
Definition at line 106 of file Compact.h.
std::string Hypertable::Lib::Master::Request::Parameters::Compact::m_row |
|
private |
Row identifying range to be compacted.
Definition at line 103 of file Compact.h.
std::string Hypertable::Lib::Master::Request::Parameters::Compact::m_table_name |
|
private |
Name of table to be compacted.
Definition at line 100 of file Compact.h.
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/Master/Request/Parameters/Compact.h
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/Master/Request/Parameters/Compact.cc