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

#include <KeyCompressorPrefix.h>

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

Public Member Functions

virtual void reset ()
 
virtual void add (const Key &key)
 
virtual size_t length ()
 
virtual size_t length_uncompressed ()
 
virtual void write (uint8_t *buf)
 
virtual void write_uncompressed (uint8_t *buf)
 

Private Member Functions

void render_uncompressed ()
 

Private Attributes

DynamicBuffer m_buffer
 
DynamicBuffer m_compressed_key
 
DynamicBuffer m_uncompressed_key
 
uint8_t * m_suffix
 
size_t m_suffix_length
 
uint8_t m_last_control
 

Detailed Description

Definition at line 29 of file KeyCompressorPrefix.h.

Member Function Documentation

void KeyCompressorPrefix::add ( const Key key)
virtual

Implements Hypertable::KeyCompressor.

Definition at line 36 of file KeyCompressorPrefix.cc.

size_t KeyCompressorPrefix::length ( )
virtual

Implements Hypertable::KeyCompressor.

Definition at line 103 of file KeyCompressorPrefix.cc.

size_t KeyCompressorPrefix::length_uncompressed ( )
virtual

Implements Hypertable::KeyCompressor.

Definition at line 107 of file KeyCompressorPrefix.cc.

void KeyCompressorPrefix::render_uncompressed ( )
private

Definition at line 123 of file KeyCompressorPrefix.cc.

void KeyCompressorPrefix::reset ( )
virtual

Implements Hypertable::KeyCompressor.

Definition at line 30 of file KeyCompressorPrefix.cc.

void KeyCompressorPrefix::write ( uint8_t *  buf)
virtual

Implements Hypertable::KeyCompressor.

Definition at line 113 of file KeyCompressorPrefix.cc.

void KeyCompressorPrefix::write_uncompressed ( uint8_t *  buf)
virtual

Implements Hypertable::KeyCompressor.

Definition at line 117 of file KeyCompressorPrefix.cc.

Member Data Documentation

DynamicBuffer Hypertable::KeyCompressorPrefix::m_buffer
private

Definition at line 39 of file KeyCompressorPrefix.h.

DynamicBuffer Hypertable::KeyCompressorPrefix::m_compressed_key
private

Definition at line 40 of file KeyCompressorPrefix.h.

uint8_t Hypertable::KeyCompressorPrefix::m_last_control
private

Definition at line 44 of file KeyCompressorPrefix.h.

uint8_t* Hypertable::KeyCompressorPrefix::m_suffix
private

Definition at line 42 of file KeyCompressorPrefix.h.

size_t Hypertable::KeyCompressorPrefix::m_suffix_length
private

Definition at line 43 of file KeyCompressorPrefix.h.

DynamicBuffer Hypertable::KeyCompressorPrefix::m_uncompressed_key
private

Definition at line 41 of file KeyCompressorPrefix.h.


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