Request parameters for get statistics function. More...
#include <GetStatistics.h>


Public Member Functions | |
| GetStatistics () | |
| Constructor. More... | |
| GetStatistics (const vector< SystemVariable::Spec > &system_variables, int64_t generation) | |
| Constructor. More... | |
| const vector < SystemVariable::Spec > & | system_variables () |
| Gets system variables. More... | |
| int64_t | generation () const |
| Gets system variable generation. More... | |
Public Member Functions inherited from Hypertable::Serializable | |
| virtual size_t | encoded_length () const |
| Returns serialized object length. More... | |
| virtual void | encode (uint8_t **bufp) const |
| Writes serialized representation of object to a buffer. More... | |
| virtual void | decode (const uint8_t **bufp, size_t *remainp) |
| Reads serialized representation of object from a buffer. More... | |
Private Member Functions | |
| uint8_t | encoding_version () const override |
| Returns encoding version. More... | |
| size_t | encoded_length_internal () const override |
| Returns internal serialized length. More... | |
| void | encode_internal (uint8_t **bufp) const override |
| Writes serialized representation of object to a buffer. More... | |
| void | decode_internal (uint8_t version, const uint8_t **bufp, size_t *remainp) override |
| Reads serialized representation of object from a buffer. More... | |
Private Attributes | |
| vector< SystemVariable::Spec > | m_system_variables |
| Vector of system variable specifications. More... | |
| int64_t | m_generation |
| System variable generation More... | |
Additional Inherited Members |
Request parameters for get statistics function.
Definition at line 49 of file GetStatistics.h.
|
inline |
|
inline |
Constructor.
Initializes with parameters for encoding.
| system_variables | System variable specifications |
| generation | System variables generation |
Definition at line 60 of file GetStatistics.h.
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
| version | Encoding version |
| bufp | Address of destination buffer pointer (advanced by call) |
| remainp | Address of integer holding amount of serialized object remaining |
Implements Hypertable::Serializable.
Definition at line 78 of file GetStatistics.cc.
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
| bufp | Address of destination buffer pointer (advanced by call) |
Encoding is as follows:
| Encoding | Description |
|---|---|
| i64 | System variables generation |
| i32 | System variable count |
| For each system variable ... | |
| SystemVariable::Spec | System variable specification |
Implements Hypertable::Serializable.
Definition at line 71 of file GetStatistics.cc.
|
overrideprivatevirtual |
Returns internal serialized length.
Implements Hypertable::Serializable.
Definition at line 41 of file GetStatistics.cc.
|
overrideprivatevirtual |
Returns encoding version.
Implements Hypertable::Serializable.
Definition at line 37 of file GetStatistics.cc.
|
inline |
Gets system variable generation.
Definition at line 72 of file GetStatistics.h.
|
inline |
Gets system variables.
Definition at line 66 of file GetStatistics.h.
|
private |
System variable generation
Definition at line 102 of file GetStatistics.h.
|
private |
Vector of system variable specifications.
Definition at line 99 of file GetStatistics.h.
1.8.8