0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | Protected Member Functions | Related Functions | List of all members
Hypertable::QualifiedRangeSpec Class Reference

Qualified (with table identifier) range specification. More...

#include <QualifiedRangeSpec.h>

Inheritance diagram for Hypertable::QualifiedRangeSpec:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::QualifiedRangeSpec:
Collaboration graph
[legend]

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)
 

Detailed Description

Qualified (with table identifier) range specification.

Definition at line 52 of file QualifiedRangeSpec.h.

Constructor & Destructor Documentation

Hypertable::QualifiedRangeSpec::QualifiedRangeSpec ( const TableIdentifier tid,
const RangeSpec rs 
)
inline

Definition at line 54 of file QualifiedRangeSpec.h.

Hypertable::QualifiedRangeSpec::QualifiedRangeSpec ( CharArena arena,
const QualifiedRangeSpec other 
)
inline

Definition at line 56 of file QualifiedRangeSpec.h.

Hypertable::QualifiedRangeSpec::QualifiedRangeSpec ( )
inline

Definition at line 62 of file QualifiedRangeSpec.h.

virtual Hypertable::QualifiedRangeSpec::~QualifiedRangeSpec ( )
inlinevirtual

Definition at line 63 of file QualifiedRangeSpec.h.

Member Function Documentation

void QualifiedRangeSpec::decode_internal ( uint8_t  version,
const uint8_t **  bufp,
size_t *  remainp 
)
overrideprotectedvirtual

Reads serialized representation of object from a buffer.

Parameters
versionEncoding version
bufpAddress of destination buffer pointer (advanced by call)
remainpAddress of integer holding amount of serialized object remaining
See also
encode_internal() for encoding format

Implements Hypertable::Serializable.

Reimplemented in Hypertable::QualifiedRangeSpecManaged.

Definition at line 89 of file QualifiedRangeSpec.cc.

void QualifiedRangeSpec::encode_internal ( uint8_t **  bufp) const
overrideprotectedvirtual

Writes serialized representation of object to a buffer.

Parameters
bufpAddress 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.

size_t QualifiedRangeSpec::encoded_length_internal ( ) const
overrideprotectedvirtual

Returns internal serialized length.

Returns
Internal serialized length
See also
encode_internal() for encoding format

Implements Hypertable::Serializable.

Definition at line 64 of file QualifiedRangeSpec.cc.

uint8_t QualifiedRangeSpec::encoding_version ( ) const
overrideprotectedvirtual

Returns encoding version.

Returns
Encoding version

Implements Hypertable::Serializable.

Definition at line 60 of file QualifiedRangeSpec.cc.

bool QualifiedRangeSpec::is_root ( ) const
virtual

Definition at line 43 of file QualifiedRangeSpec.cc.

bool QualifiedRangeSpec::operator< ( const QualifiedRangeSpec other) const
virtual

Definition at line 48 of file QualifiedRangeSpec.cc.

bool QualifiedRangeSpec::operator== ( const QualifiedRangeSpec other) const
virtual

Definition at line 55 of file QualifiedRangeSpec.cc.

Friends And Related Function Documentation

ostream & operator<< ( ostream &  os,
const QualifiedRangeSpec qualified_range 
)
related

Definition at line 110 of file QualifiedRangeSpec.cc.

Member Data Documentation

RangeSpec Hypertable::QualifiedRangeSpec::range

Definition at line 70 of file QualifiedRangeSpec.h.

TableIdentifier Hypertable::QualifiedRangeSpec::table

Definition at line 69 of file QualifiedRangeSpec.h.


The documentation for this class was generated from the following files: