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

#include <CellStoreTrailerV1.h>

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

Public Types

enum  Flags { INDEX_64BIT = 0x00000001 }
 

Public Member Functions

 CellStoreTrailerV1 ()
 
virtual ~CellStoreTrailerV1 ()
 
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 num_filter_items
 
union {
   float   filter_false_positive_prob
 
   uint32_t   filter_false_positive_prob_i32
 
}; 
 
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
 
uint16_t version
 

Detailed Description

Definition at line 33 of file CellStoreTrailerV1.h.

Member Enumeration Documentation

Enumerator
INDEX_64BIT 

Definition at line 69 of file CellStoreTrailerV1.h.

Constructor & Destructor Documentation

CellStoreTrailerV1::CellStoreTrailerV1 ( )

Definition at line 41 of file CellStoreTrailerV1.cc.

virtual Hypertable::CellStoreTrailerV1::~CellStoreTrailerV1 ( )
inlinevirtual

Definition at line 36 of file CellStoreTrailerV1.h.

Member Function Documentation

void CellStoreTrailerV1::clear ( )
virtual

Clears the contents of this trailer;.

Implements Hypertable::CellStoreTrailer.

Definition at line 49 of file CellStoreTrailerV1.cc.

void CellStoreTrailerV1::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 103 of file CellStoreTrailerV1.cc.

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

Prints the trailer to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 130 of file CellStoreTrailerV1.cc.

void CellStoreTrailerV1::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 158 of file CellStoreTrailerV1.cc.

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

Implements Hypertable::CellStoreTrailer.

Definition at line 71 of file CellStoreTrailerV1.h.

void CellStoreTrailerV1::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 74 of file CellStoreTrailerV1.cc.

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

Returns the serialized size of the trailer.

Returns
serialized size of trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 38 of file CellStoreTrailerV1.h.

Member Data Documentation

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

Definition at line 54 of file CellStoreTrailerV1.h.

float Hypertable::CellStoreTrailerV1::compression_ratio

Definition at line 63 of file CellStoreTrailerV1.h.

uint32_t Hypertable::CellStoreTrailerV1::compression_ratio_i32

Definition at line 64 of file CellStoreTrailerV1.h.

uint16_t Hypertable::CellStoreTrailerV1::compression_type

Definition at line 66 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::create_time

Definition at line 58 of file CellStoreTrailerV1.h.

float Hypertable::CellStoreTrailerV1::filter_false_positive_prob

Definition at line 51 of file CellStoreTrailerV1.h.

uint32_t Hypertable::CellStoreTrailerV1::filter_false_positive_prob_i32

Definition at line 52 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::filter_offset

Definition at line 46 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::fix_index_offset

Definition at line 44 of file CellStoreTrailerV1.h.

uint32_t Hypertable::CellStoreTrailerV1::flags

Definition at line 61 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::index_entries

Definition at line 47 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::num_filter_items

Definition at line 49 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::revision

Definition at line 55 of file CellStoreTrailerV1.h.

uint32_t Hypertable::CellStoreTrailerV1::table_generation

Definition at line 60 of file CellStoreTrailerV1.h.

uint32_t Hypertable::CellStoreTrailerV1::table_id

Definition at line 59 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::timestamp_max

Definition at line 57 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::timestamp_min

Definition at line 56 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::total_entries

Definition at line 48 of file CellStoreTrailerV1.h.

int64_t Hypertable::CellStoreTrailerV1::var_index_offset

Definition at line 45 of file CellStoreTrailerV1.h.

uint16_t Hypertable::CellStoreTrailerV1::version

Definition at line 67 of file CellStoreTrailerV1.h.


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