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

#include <CellStoreTrailerV0.h>

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

Public Member Functions

 CellStoreTrailerV0 ()
 
virtual ~CellStoreTrailerV0 ()
 
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

uint32_t fix_index_offset
 
uint32_t var_index_offset
 
uint32_t filter_offset
 
uint32_t index_entries
 
uint32_t total_entries
 
uint32_t num_filter_items
 
union {
   float   filter_false_positive_prob
 
   uint32_t   filter_false_positive_prob_i32
 
}; 
 
uint32_t blocksize
 
int64_t revision
 
uint32_t table_id
 
uint32_t table_generation
 
union {
   float   compression_ratio
 
   uint32_t   compression_ratio_i32
 
}; 
 
uint16_t compression_type
 
uint16_t version
 

Detailed Description

Definition at line 31 of file CellStoreTrailerV0.h.

Constructor & Destructor Documentation

CellStoreTrailerV0::CellStoreTrailerV0 ( )

Definition at line 41 of file CellStoreTrailerV0.cc.

virtual Hypertable::CellStoreTrailerV0::~CellStoreTrailerV0 ( )
inlinevirtual

Definition at line 34 of file CellStoreTrailerV0.h.

Member Function Documentation

void CellStoreTrailerV0::clear ( )
virtual

Clears the contents of this trailer;.

Implements Hypertable::CellStoreTrailer.

Definition at line 49 of file CellStoreTrailerV0.cc.

void CellStoreTrailerV0::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 94 of file CellStoreTrailerV0.cc.

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

Prints the trailer to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 117 of file CellStoreTrailerV0.cc.

void CellStoreTrailerV0::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 139 of file CellStoreTrailerV0.cc.

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

Implements Hypertable::CellStoreTrailer.

Definition at line 63 of file CellStoreTrailerV0.h.

void CellStoreTrailerV0::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 70 of file CellStoreTrailerV0.cc.

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

Returns the serialized size of the trailer.

Returns
serialized size of trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 36 of file CellStoreTrailerV0.h.

Member Data Documentation

union { ... }
union { ... }
uint32_t Hypertable::CellStoreTrailerV0::blocksize

Definition at line 52 of file CellStoreTrailerV0.h.

float Hypertable::CellStoreTrailerV0::compression_ratio

Definition at line 57 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::compression_ratio_i32

Definition at line 58 of file CellStoreTrailerV0.h.

uint16_t Hypertable::CellStoreTrailerV0::compression_type

Definition at line 60 of file CellStoreTrailerV0.h.

float Hypertable::CellStoreTrailerV0::filter_false_positive_prob

Definition at line 49 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::filter_false_positive_prob_i32

Definition at line 50 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::filter_offset

Definition at line 44 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::fix_index_offset

Definition at line 42 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::index_entries

Definition at line 45 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::num_filter_items

Definition at line 47 of file CellStoreTrailerV0.h.

int64_t Hypertable::CellStoreTrailerV0::revision

Definition at line 53 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::table_generation

Definition at line 55 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::table_id

Definition at line 54 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::total_entries

Definition at line 46 of file CellStoreTrailerV0.h.

uint32_t Hypertable::CellStoreTrailerV0::var_index_offset

Definition at line 43 of file CellStoreTrailerV0.h.

uint16_t Hypertable::CellStoreTrailerV0::version

Definition at line 61 of file CellStoreTrailerV0.h.


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