Represents a cell interval.
More...
#include <CellInterval.h>
Represents a cell interval.
c-string data members are not managed so caller must handle (de)allocation.
Definition at line 38 of file CellInterval.h.
Hypertable::Lib::CellInterval::CellInterval |
( |
| ) |
|
|
inline |
Hypertable::Lib::CellInterval::CellInterval |
( |
const char * |
start_row, |
|
|
const char * |
start_column, |
|
|
bool |
start_inclusive, |
|
|
const char * |
end_row, |
|
|
const char * |
end_column, |
|
|
bool |
end_inclusive |
|
) |
| |
|
inline |
Hypertable::Lib::CellInterval::CellInterval |
( |
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
inline |
virtual Hypertable::Lib::CellInterval::~CellInterval |
( |
| ) |
|
|
inlinevirtual |
void CellInterval::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 88 of file CellInterval.cc.
void CellInterval::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 | Start row |
vstr | Start column |
bool | Start row inclusive flag |
vstr | End row |
vstr | End column |
bool | End row inclusive flag |
Implements Hypertable::Serializable.
Definition at line 79 of file CellInterval.cc.
size_t CellInterval::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t CellInterval::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
const string CellInterval::render_hql |
( |
| ) |
const |
Renders cell interval as HQL.
- Returns
- HQL string representing cell interval.
Definition at line 99 of file CellInterval.cc.
ostream & operator<< |
( |
ostream & |
os, |
|
|
const CellInterval & |
ci |
|
) |
| |
|
related |
const char* Hypertable::Lib::CellInterval::end_column {} |
bool Hypertable::Lib::CellInterval::end_inclusive {true} |
const char* Hypertable::Lib::CellInterval::end_row {} |
const char* Hypertable::Lib::CellInterval::start_column {} |
bool Hypertable::Lib::CellInterval::start_inclusive {true} |
const char* Hypertable::Lib::CellInterval::start_row |
The documentation for this class was generated from the following files: