Request parameters for dump function.
More...
#include <Dump.h>
Request parameters for dump function.
Definition at line 48 of file Dump.h.
Hypertable::Lib::RangeServer::Request::Parameters::Dump::Dump |
( |
| ) |
|
|
inline |
Constructor.
Empty initialization for decoding.
Definition at line 53 of file Dump.h.
Hypertable::Lib::RangeServer::Request::Parameters::Dump::Dump |
( |
const std::string & |
fname, |
|
|
bool |
no_keys |
|
) |
| |
|
inline |
Constructor.
Initializes with parameters for encoding. Initializes m_fname with fname
and m_no_keys with no_keys
.
- Parameters
-
fname | Output file name for dump |
no_keys | Flag indicating cell cache keys should not be dumped |
Definition at line 60 of file Dump.h.
void Dump::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 66 of file Dump.cc.
void Dump::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 | Output file name |
bool | Flag indicating cell cache keys should not be dumped |
Implements Hypertable::Serializable.
Definition at line 61 of file Dump.cc.
size_t Dump::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t Dump::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
const char* Hypertable::Lib::RangeServer::Request::Parameters::Dump::fname |
( |
| ) |
|
|
inline |
Gets output file name.
- Returns
- Output file name
Definition at line 65 of file Dump.h.
bool Hypertable::Lib::RangeServer::Request::Parameters::Dump::no_keys |
( |
| ) |
|
|
inline |
Gets no keys flag.
- Returns
- no keys flag
Definition at line 69 of file Dump.h.
std::string Hypertable::Lib::RangeServer::Request::Parameters::Dump::m_fname |
|
private |
Output file name.
Definition at line 96 of file Dump.h.
bool Hypertable::Lib::RangeServer::Request::Parameters::Dump::m_no_keys {} |
|
private |
Flag indicating cell cache keys should not be dumped.
Definition at line 99 of file Dump.h.
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServer/Request/Parameters/Dump.h
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServer/Request/Parameters/Dump.cc