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::CellStoreTrailerV2 Class Reference

#include <CellStoreTrailerV2.h>

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

Public Types

enum  Flags { INDEX_64BIT = 0x00000001 }
 

Public Member Functions

 CellStoreTrailerV2 ()
 
virtual ~CellStoreTrailerV2 ()
 
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 create_time
 
uint32_t table_id
 
uint32_t table_generation
 
uint32_t flags
 
union {
   float   compression_ratio
 
   uint32_t   compression_ratio_i32
 
}; 
 
uint16_t compression_type
 
uint8_t bloom_filter_mode
 
uint8_t bloom_filter_hash_count
 
uint16_t version
 

Detailed Description

Definition at line 31 of file CellStoreTrailerV2.h.

Member Enumeration Documentation

Enumerator
INDEX_64BIT 

Definition at line 67 of file CellStoreTrailerV2.h.

Constructor & Destructor Documentation

CellStoreTrailerV2::CellStoreTrailerV2 ( )

Definition at line 42 of file CellStoreTrailerV2.cc.

virtual Hypertable::CellStoreTrailerV2::~CellStoreTrailerV2 ( )
inlinevirtual

Definition at line 34 of file CellStoreTrailerV2.h.

Member Function Documentation

void CellStoreTrailerV2::clear ( )
virtual

Clears the contents of this trailer;.

Implements Hypertable::CellStoreTrailer.

Definition at line 50 of file CellStoreTrailerV2.cc.

void CellStoreTrailerV2::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 110 of file CellStoreTrailerV2.cc.

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

Prints the trailer to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 140 of file CellStoreTrailerV2.cc.

void CellStoreTrailerV2::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 177 of file CellStoreTrailerV2.cc.

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

Implements Hypertable::CellStoreTrailer.

Definition at line 69 of file CellStoreTrailerV2.h.

void CellStoreTrailerV2::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 78 of file CellStoreTrailerV2.cc.

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

Returns the serialized size of the trailer.

Returns
serialized size of trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 36 of file CellStoreTrailerV2.h.

Member Data Documentation

union { ... }
int64_t Hypertable::CellStoreTrailerV2::blocksize

Definition at line 50 of file CellStoreTrailerV2.h.

uint8_t Hypertable::CellStoreTrailerV2::bloom_filter_hash_count

Definition at line 64 of file CellStoreTrailerV2.h.

uint8_t Hypertable::CellStoreTrailerV2::bloom_filter_mode

Definition at line 63 of file CellStoreTrailerV2.h.

float Hypertable::CellStoreTrailerV2::compression_ratio

Definition at line 59 of file CellStoreTrailerV2.h.

uint32_t Hypertable::CellStoreTrailerV2::compression_ratio_i32

Definition at line 60 of file CellStoreTrailerV2.h.

uint16_t Hypertable::CellStoreTrailerV2::compression_type

Definition at line 62 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::create_time

Definition at line 54 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::filter_items_actual

Definition at line 49 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::filter_items_estimate

Definition at line 48 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::filter_length

Definition at line 47 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::filter_offset

Definition at line 44 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::fix_index_offset

Definition at line 42 of file CellStoreTrailerV2.h.

uint32_t Hypertable::CellStoreTrailerV2::flags

Definition at line 57 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::index_entries

Definition at line 45 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::revision

Definition at line 51 of file CellStoreTrailerV2.h.

uint32_t Hypertable::CellStoreTrailerV2::table_generation

Definition at line 56 of file CellStoreTrailerV2.h.

uint32_t Hypertable::CellStoreTrailerV2::table_id

Definition at line 55 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::timestamp_max

Definition at line 53 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::timestamp_min

Definition at line 52 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::total_entries

Definition at line 46 of file CellStoreTrailerV2.h.

int64_t Hypertable::CellStoreTrailerV2::var_index_offset

Definition at line 43 of file CellStoreTrailerV2.h.

uint16_t Hypertable::CellStoreTrailerV2::version

Definition at line 65 of file CellStoreTrailerV2.h.


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