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

#include <CellStoreTrailerV4.h>

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

Public Types

enum  Flags { INDEX_64BIT = 1, MAJOR_COMPACTION = 2, SPLIT = 4 }
 

Public Member Functions

 CellStoreTrailerV4 ()
 
virtual ~CellStoreTrailerV4 ()
 
virtual void clear ()
 Clears the contents of this trailer;. More...
 
virtual size_t size ()
 Returns the serialized size of the trailer. More...
 
virtual void serialize (uint8_t *buf)
 Serializes this trailer to the given buffer;. More...
 
virtual void deserialize (const uint8_t *buf)
 Deserializes the trailer from the given buffer. More...
 
virtual void display (std::ostream &os)
 Prints the trailer to the given ostream. More...
 
virtual void display_multiline (std::ostream &os)
 Prints the trailer, one member per line, to the given ostream. More...
 
boost::any get (const String &prop)
 
- Public Member Functions inherited from Hypertable::CellStoreTrailer
virtual ~CellStoreTrailer ()
 

Public Attributes

int64_t fix_index_offset
 
int64_t var_index_offset
 
int64_t filter_offset
 
int64_t index_entries
 
int64_t total_entries
 
int64_t filter_length
 
int64_t filter_items_estimate
 
int64_t filter_items_actual
 
int64_t blocksize
 
int64_t revision
 
int64_t timestamp_min
 
int64_t timestamp_max
 
int64_t expiration_time
 
int64_t create_time
 
int64_t expirable_data
 
uint32_t table_id
 
uint32_t table_generation
 
uint32_t flags
 
uint32_t alignment
 
union {
   float   compression_ratio
 
   uint32_t   compression_ratio_i32
 
}; 
 
uint16_t compression_type
 
uint16_t key_compression_scheme
 
uint8_t bloom_filter_mode
 
uint8_t bloom_filter_hash_count
 
uint16_t version
 

Detailed Description

Definition at line 31 of file CellStoreTrailerV4.h.

Member Enumeration Documentation

Enumerator
INDEX_64BIT 
MAJOR_COMPACTION 
SPLIT 

Definition at line 71 of file CellStoreTrailerV4.h.

Constructor & Destructor Documentation

CellStoreTrailerV4::CellStoreTrailerV4 ( )

Definition at line 43 of file CellStoreTrailerV4.cc.

virtual Hypertable::CellStoreTrailerV4::~CellStoreTrailerV4 ( )
inlinevirtual

Definition at line 34 of file CellStoreTrailerV4.h.

Member Function Documentation

void CellStoreTrailerV4::clear ( )
virtual

Clears the contents of this trailer;.

Implements Hypertable::CellStoreTrailer.

Definition at line 51 of file CellStoreTrailerV4.cc.

void CellStoreTrailerV4::deserialize ( const uint8_t *  buf)
virtual

Deserializes the trailer from the given buffer.

Parameters
bufpointer to buffer containing serialized trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 119 of file CellStoreTrailerV4.cc.

void CellStoreTrailerV4::display ( std::ostream &  os)
virtual

Prints the trailer to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 153 of file CellStoreTrailerV4.cc.

void CellStoreTrailerV4::display_multiline ( std::ostream &  os)
virtual

Prints the trailer, one member per line, to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 196 of file CellStoreTrailerV4.cc.

boost::any Hypertable::CellStoreTrailerV4::get ( const String prop)
inlinevirtual

Implements Hypertable::CellStoreTrailer.

Definition at line 76 of file CellStoreTrailerV4.h.

void CellStoreTrailerV4::serialize ( uint8_t *  buf)
virtual

Serializes this trailer to the given buffer;.

Parameters
bufpointer to buffer to serialize trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 83 of file CellStoreTrailerV4.cc.

virtual size_t Hypertable::CellStoreTrailerV4::size ( )
inlinevirtual

Returns the serialized size of the trailer.

Returns
serialized size of trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 36 of file CellStoreTrailerV4.h.

Member Data Documentation

union { ... }
uint32_t Hypertable::CellStoreTrailerV4::alignment

Definition at line 60 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::blocksize

Definition at line 50 of file CellStoreTrailerV4.h.

uint8_t Hypertable::CellStoreTrailerV4::bloom_filter_hash_count

Definition at line 68 of file CellStoreTrailerV4.h.

uint8_t Hypertable::CellStoreTrailerV4::bloom_filter_mode

Definition at line 67 of file CellStoreTrailerV4.h.

float Hypertable::CellStoreTrailerV4::compression_ratio

Definition at line 62 of file CellStoreTrailerV4.h.

uint32_t Hypertable::CellStoreTrailerV4::compression_ratio_i32

Definition at line 63 of file CellStoreTrailerV4.h.

uint16_t Hypertable::CellStoreTrailerV4::compression_type

Definition at line 65 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::create_time

Definition at line 55 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::expirable_data

Definition at line 56 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::expiration_time

Definition at line 54 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::filter_items_actual

Definition at line 49 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::filter_items_estimate

Definition at line 48 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::filter_length

Definition at line 47 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::filter_offset

Definition at line 44 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::fix_index_offset

Definition at line 42 of file CellStoreTrailerV4.h.

uint32_t Hypertable::CellStoreTrailerV4::flags

Definition at line 59 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::index_entries

Definition at line 45 of file CellStoreTrailerV4.h.

uint16_t Hypertable::CellStoreTrailerV4::key_compression_scheme

Definition at line 66 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::revision

Definition at line 51 of file CellStoreTrailerV4.h.

uint32_t Hypertable::CellStoreTrailerV4::table_generation

Definition at line 58 of file CellStoreTrailerV4.h.

uint32_t Hypertable::CellStoreTrailerV4::table_id

Definition at line 57 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::timestamp_max

Definition at line 53 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::timestamp_min

Definition at line 52 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::total_entries

Definition at line 46 of file CellStoreTrailerV4.h.

int64_t Hypertable::CellStoreTrailerV4::var_index_offset

Definition at line 43 of file CellStoreTrailerV4.h.

uint16_t Hypertable::CellStoreTrailerV4::version

Definition at line 69 of file CellStoreTrailerV4.h.


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