29 #ifndef Hypertable_Lib_QualifiedRangeSpec_h
30 #define Hypertable_Lib_QualifiedRangeSpec_h
95 size_t *remainp)
override;
137 friend std::ostream &
operator<<(std::ostream &os,
149 size_t *remainp)
override;
160 return ((*qr1) < *qr2);
184 std::ostream &
operator<<(std::ostream &os,
const QualifiedRangeSpec &qualified_range);
186 std::ostream &
operator<<(std::ostream &os,
const QualifiedRangeSpecManaged &qualified_range);
193 #endif // Hypertable_Lib_QualifiedRangeSpec_h
void encode_internal(uint8_t **bufp) const override
Writes serialized representation of object to a buffer.
QualifiedRangeSpecManaged(const TableIdentifier &table, const RangeSpec &range)
bool operator<(const QualifiedRangeSpecManaged &other) const
bool operator()(const QualifiedRangeSpecManaged *qr1, const QualifiedRangeSpecManaged *qr2)
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.
Qualified (with table identifier) range specification, with storage.
MurmurHash2 digest routine.
QualifiedRangeSpecManaged(const QualifiedRangeSpecManaged &other)
uint32_t murmurhash2(const void *key, size_t len, uint32_t seed)
The murmurhash2 implementation.
Declarations for TableIdentifier and TableIdentifierManaged.
void set_table_id(const TableIdentifier &tid)
PageArena memory allocator for STL classes.
size_t operator()(const QualifiedRangeSpec &spec) const
TableIdentifierManaged m_table
virtual bool operator==(const QualifiedRangeSpec &other) const
Wrapper for TableIdentifier providing member storage.
CharT * dup(const CharT *s)
Duplicate a null terminated string; memory is allocated from the pool.
uint8_t encoding_version() const override
Returns encoding version.
Declarations for RangeState.
virtual ~QualifiedRangeSpecManaged()
size_t encoded_length_internal() const override
Returns internal serialized length.
friend std::ostream & operator<<(std::ostream &os, const QualifiedRangeSpecManaged &qualified_range)
std::ostream & operator<<(std::ostream &os, const crontab_entry &entry)
Helper function to write crontab_entry to an ostream.
The PageArena allocator is simple and fast, avoiding individual mallocs/frees.
QualifiedRangeSpecManaged(const QualifiedRangeSpec &other)
QualifiedRangeSpec(CharArena &arena, const QualifiedRangeSpec &other)
QualifiedRangeSpec(const TableIdentifier &tid, const RangeSpec &rs)
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.
virtual bool is_root() const
virtual ~QualifiedRangeSpec()
Declarations for RangeSpec and RangeSpecManaged.
Declarations for Serializable.
bool operator()(const QualifiedRangeSpec &x, const QualifiedRangeSpec &y) const
QualifiedRangeSpecManaged()
Mixin class that provides a standard serialization interface.
void set_range_spec(const RangeSpec &rs)
A String class based on std::string.
A serializable ByteString.
Qualified (with table identifier) range specification.
QualifiedRangeSpecManaged & operator=(const QualifiedRangeSpec &other)
QualifiedRangeSpecManaged & operator=(const QualifiedRangeSpecManaged &other)
virtual bool operator<(const QualifiedRangeSpec &other) const
Wrapper for RangeSpec providing member storage.