Represents a row interval. More...
#include <RowInterval.h>
Public Member Functions | |
RowInterval () | |
RowInterval (const char *start_row, bool start_row_inclusive, const char *end_row, bool end_row_inclusive) | |
RowInterval (const uint8_t **bufp, size_t *remainp) | |
virtual | ~RowInterval () |
const string | render_hql () const |
Renders row interval as HQL. 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 | |
const char * | start {} |
bool | start_inclusive {true} |
const char * | end {} |
bool | end_inclusive {true} |
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... | |
Related Functions | |
(Note that these are not member functions.) | |
ostream & | operator<< (ostream &os, const RowInterval &ri) |
Additional Inherited Members |
Represents a row interval.
c-string data members are not managed so caller must handle (de)allocation.
Definition at line 38 of file RowInterval.h.
|
inline |
Definition at line 40 of file RowInterval.h.
|
inline |
Definition at line 41 of file RowInterval.h.
|
inline |
Definition at line 45 of file RowInterval.h.
|
inlinevirtual |
Definition at line 49 of file RowInterval.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 76 of file RowInterval.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 |
---|---|
vstr | Start row |
bool | Start row inclusive flag |
vstr | End row |
bool | End row inclusive flag |
Implements Hypertable::Serializable.
Definition at line 69 of file RowInterval.cc.
|
overrideprivatevirtual |
Returns internal serialized length.
Implements Hypertable::Serializable.
Definition at line 40 of file RowInterval.cc.
|
overrideprivatevirtual |
Returns encoding version.
Implements Hypertable::Serializable.
Definition at line 36 of file RowInterval.cc.
const string RowInterval::render_hql | ( | ) | const |
Renders row interval as HQL.
Definition at line 85 of file RowInterval.cc.
|
related |
Definition at line 111 of file RowInterval.cc.
const char* Hypertable::Lib::RowInterval::end {} |
Definition at line 57 of file RowInterval.h.
bool Hypertable::Lib::RowInterval::end_inclusive {true} |
Definition at line 58 of file RowInterval.h.
const char* Hypertable::Lib::RowInterval::start {} |
Definition at line 55 of file RowInterval.h.
bool Hypertable::Lib::RowInterval::start_inclusive {true} |
Definition at line 56 of file RowInterval.h.