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

Represents the trailer for CellStore version 7. More...

#include <CellStoreTrailerV7.h>

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

Public Types

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

Public Member Functions

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

int32_t trailer_checksum
 
int64_t fix_index_offset
 
int64_t var_index_offset
 
int64_t filter_offset
 
int64_t replaced_files_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 replaced_files_length
 
uint32_t replaced_files_entries
 
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
 
int64_t delete_count
 
int64_t key_bytes
 
int64_t value_bytes
 
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
 
uint16_t block_header_version
 
uint8_t bloom_filter_mode
 
uint8_t bloom_filter_hash_count
 
uint16_t version
 

Detailed Description

Represents the trailer for CellStore version 7.

Definition at line 40 of file CellStoreTrailerV7.h.

Constructor & Destructor Documentation

CellStoreTrailerV7::CellStoreTrailerV7 ( )

Definition at line 49 of file CellStoreTrailerV7.cc.

virtual Hypertable::CellStoreTrailerV7::~CellStoreTrailerV7 ( )
inlinevirtual

Definition at line 43 of file CellStoreTrailerV7.h.

Member Function Documentation

void CellStoreTrailerV7::clear ( )
virtual

Clears the contents of this trailer;.

Implements Hypertable::CellStoreTrailer.

Definition at line 57 of file CellStoreTrailerV7.cc.

void CellStoreTrailerV7::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 146 of file CellStoreTrailerV7.cc.

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

Prints the trailer to the given ostream.

Parameters
osostream to print trailer to

Implements Hypertable::CellStoreTrailer.

Definition at line 193 of file CellStoreTrailerV7.cc.

void CellStoreTrailerV7::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 244 of file CellStoreTrailerV7.cc.

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

Implements Hypertable::CellStoreTrailer.

Definition at line 93 of file CellStoreTrailerV7.h.

void CellStoreTrailerV7::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 97 of file CellStoreTrailerV7.cc.

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

Returns the serialized size of the trailer.

Returns
serialized size of trailer

Implements Hypertable::CellStoreTrailer.

Definition at line 45 of file CellStoreTrailerV7.h.

Member Data Documentation

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

Definition at line 76 of file CellStoreTrailerV7.h.

uint16_t Hypertable::CellStoreTrailerV7::block_header_version

Definition at line 83 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::blocksize

Definition at line 63 of file CellStoreTrailerV7.h.

uint8_t Hypertable::CellStoreTrailerV7::bloom_filter_hash_count

Definition at line 85 of file CellStoreTrailerV7.h.

uint8_t Hypertable::CellStoreTrailerV7::bloom_filter_mode

Definition at line 84 of file CellStoreTrailerV7.h.

float Hypertable::CellStoreTrailerV7::compression_ratio

Definition at line 78 of file CellStoreTrailerV7.h.

uint32_t Hypertable::CellStoreTrailerV7::compression_ratio_i32

Definition at line 79 of file CellStoreTrailerV7.h.

uint16_t Hypertable::CellStoreTrailerV7::compression_type

Definition at line 81 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::create_time

Definition at line 68 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::delete_count

Definition at line 70 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::expirable_data

Definition at line 69 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::expiration_time

Definition at line 67 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::filter_items_actual

Definition at line 60 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::filter_items_estimate

Definition at line 59 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::filter_length

Definition at line 58 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::filter_offset

Definition at line 54 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::fix_index_offset

Definition at line 52 of file CellStoreTrailerV7.h.

uint32_t Hypertable::CellStoreTrailerV7::flags

Definition at line 75 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::index_entries

Definition at line 56 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::key_bytes

Definition at line 71 of file CellStoreTrailerV7.h.

uint16_t Hypertable::CellStoreTrailerV7::key_compression_scheme

Definition at line 82 of file CellStoreTrailerV7.h.

uint32_t Hypertable::CellStoreTrailerV7::replaced_files_entries

Definition at line 62 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::replaced_files_length

Definition at line 61 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::replaced_files_offset

Definition at line 55 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::revision

Definition at line 64 of file CellStoreTrailerV7.h.

uint32_t Hypertable::CellStoreTrailerV7::table_generation

Definition at line 74 of file CellStoreTrailerV7.h.

uint32_t Hypertable::CellStoreTrailerV7::table_id

Definition at line 73 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::timestamp_max

Definition at line 66 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::timestamp_min

Definition at line 65 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::total_entries

Definition at line 57 of file CellStoreTrailerV7.h.

int32_t Hypertable::CellStoreTrailerV7::trailer_checksum

Definition at line 51 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::value_bytes

Definition at line 72 of file CellStoreTrailerV7.h.

int64_t Hypertable::CellStoreTrailerV7::var_index_offset

Definition at line 53 of file CellStoreTrailerV7.h.

uint16_t Hypertable::CellStoreTrailerV7::version

Definition at line 86 of file CellStoreTrailerV7.h.


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