Scanner profile data. More...
#include <ProfileDataScanner.h>


Public Member Functions | |
| ProfileDataScanner & | operator+= (const ProfileDataScanner &other) |
| Adds profile data from another object. More... | |
| ProfileDataScanner & | operator-= (const ProfileDataScanner &other) |
| Subtracts profile data from another object. More... | |
| std::string | to_string () |
| Returns human-readible string describing profile data. 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... | |
Public Attributes | |
| int32_t | subscanners {} |
| Number of RangeServer::create_scanner() calls. More... | |
| int32_t | scanblocks {} |
| Number of scan blocks returned from RangeServers. More... | |
| int64_t | cells_scanned {} |
| Number of cell scanned while executing scan. More... | |
| int64_t | cells_returned {} |
| Number of cell returned while executing scan. More... | |
| int64_t | bytes_scanned {} |
| Number of bytes scanned while executing scan. More... | |
| int64_t | bytes_returned {} |
| Number of bytes returned while executing scan. More... | |
| int64_t | disk_read {} |
| Number of bytes read from disk while executing scan. More... | |
| std::set< std::string > | servers |
| Set of server proxy names participating in scan. 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... | |
Additional Inherited Members |
Scanner profile data.
This class is used to store scanner profile data.
Definition at line 43 of file ProfileDataScanner.h.
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
This function is to be overridden by derived classes and should decode the object per-se as encoded with encode_internal().
| version | Encoding version |
| bufp | Address of destination buffer pointer (advanced by call) |
| remainp | Address of integer holding amount of serialized encoding remaining |
Implements Hypertable::Serializable.
Definition at line 66 of file ProfileDataScanner.cc.
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
This function is to be overridden by derived classes and should encode the object per-se.
| bufp | Address of destination buffer pointer (advanced by call) |
Implements Hypertable::Serializable.
Definition at line 51 of file ProfileDataScanner.cc.
|
overrideprivatevirtual |
Returns internal serialized length.
This function is to be overridden by derived classes and should return the length of the the serialized object per-se.
Implements Hypertable::Serializable.
Definition at line 42 of file ProfileDataScanner.cc.
|
overrideprivatevirtual |
Returns encoding version.
Implements Hypertable::Serializable.
Definition at line 38 of file ProfileDataScanner.cc.
| ProfileDataScanner & ProfileDataScanner::operator+= | ( | const ProfileDataScanner & | other | ) |
Adds profile data from another object.
Adds profile data from other.
| other | Other object containing profile data to add |
Definition at line 82 of file ProfileDataScanner.cc.
| ProfileDataScanner & ProfileDataScanner::operator-= | ( | const ProfileDataScanner & | other | ) |
Subtracts profile data from another object.
Subtracts profile data from other.
| other | Other object containing profile data to subtract |
Definition at line 94 of file ProfileDataScanner.cc.
| string ProfileDataScanner::to_string | ( | ) |
Returns human-readible string describing profile data.
Definition at line 107 of file ProfileDataScanner.cc.
| int64_t Hypertable::ProfileDataScanner::bytes_returned {} |
Number of bytes returned while executing scan.
Definition at line 76 of file ProfileDataScanner.h.
| int64_t Hypertable::ProfileDataScanner::bytes_scanned {} |
Number of bytes scanned while executing scan.
Definition at line 73 of file ProfileDataScanner.h.
| int64_t Hypertable::ProfileDataScanner::cells_returned {} |
Number of cell returned while executing scan.
Definition at line 70 of file ProfileDataScanner.h.
| int64_t Hypertable::ProfileDataScanner::cells_scanned {} |
Number of cell scanned while executing scan.
Definition at line 67 of file ProfileDataScanner.h.
| int64_t Hypertable::ProfileDataScanner::disk_read {} |
Number of bytes read from disk while executing scan.
Definition at line 79 of file ProfileDataScanner.h.
| int32_t Hypertable::ProfileDataScanner::scanblocks {} |
Number of scan blocks returned from RangeServers.
Definition at line 64 of file ProfileDataScanner.h.
| std::set<std::string> Hypertable::ProfileDataScanner::servers |
Set of server proxy names participating in scan.
Definition at line 82 of file ProfileDataScanner.h.
| int32_t Hypertable::ProfileDataScanner::subscanners {} |
Number of RangeServer::create_scanner() calls.
Definition at line 61 of file ProfileDataScanner.h.
1.8.8