Qualified (with table identifier) range specification. More...
#include <QualifiedRangeSpec.h>
Public Member Functions | |
QualifiedRangeSpec (const TableIdentifier &tid, const RangeSpec &rs) | |
QualifiedRangeSpec (CharArena &arena, const QualifiedRangeSpec &other) | |
QualifiedRangeSpec () | |
virtual | ~QualifiedRangeSpec () |
virtual bool | operator< (const QualifiedRangeSpec &other) const |
virtual bool | operator== (const QualifiedRangeSpec &other) const |
virtual bool | is_root () const |
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 | |
TableIdentifier | table |
RangeSpec | range |
Protected 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... | |
Related Functions | |
(Note that these are not member functions.) | |
ostream & | operator<< (ostream &os, const QualifiedRangeSpec &qualified_range) |
Qualified (with table identifier) range specification.
Definition at line 52 of file QualifiedRangeSpec.h.
|
inline |
Definition at line 54 of file QualifiedRangeSpec.h.
|
inline |
Definition at line 56 of file QualifiedRangeSpec.h.
|
inline |
Definition at line 62 of file QualifiedRangeSpec.h.
|
inlinevirtual |
Definition at line 63 of file QualifiedRangeSpec.h.
|
overrideprotectedvirtual |
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.
Reimplemented in Hypertable::QualifiedRangeSpecManaged.
Definition at line 89 of file QualifiedRangeSpec.cc.
|
overrideprotectedvirtual |
Writes serialized representation of object to a buffer.
bufp | Address of destination buffer pointer (advanced by call) |
Encoding is as follows:
Encoding | Description |
---|---|
TableIdentifier | Table identifier |
RangeSpec | Range specification |
Implements Hypertable::Serializable.
Definition at line 84 of file QualifiedRangeSpec.cc.
|
overrideprotectedvirtual |
Returns internal serialized length.
Implements Hypertable::Serializable.
Definition at line 64 of file QualifiedRangeSpec.cc.
|
overrideprotectedvirtual |
Returns encoding version.
Implements Hypertable::Serializable.
Definition at line 60 of file QualifiedRangeSpec.cc.
|
virtual |
Definition at line 43 of file QualifiedRangeSpec.cc.
|
virtual |
Definition at line 48 of file QualifiedRangeSpec.cc.
|
virtual |
Definition at line 55 of file QualifiedRangeSpec.cc.
|
related |
Definition at line 110 of file QualifiedRangeSpec.cc.
RangeSpec Hypertable::QualifiedRangeSpec::range |
Definition at line 70 of file QualifiedRangeSpec.h.
TableIdentifier Hypertable::QualifiedRangeSpec::table |
Definition at line 69 of file QualifiedRangeSpec.h.