#include <CellStoreTrailerV5.h>
Public Types | |
enum | Flags { INDEX_64BIT = 1, MAJOR_COMPACTION = 2, SPLIT = 4 } |
Public Member Functions | |
CellStoreTrailerV5 () | |
virtual | ~CellStoreTrailerV5 () |
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 | 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 |
uint8_t | bloom_filter_mode |
uint8_t | bloom_filter_hash_count |
uint16_t | version |
Definition at line 31 of file CellStoreTrailerV5.h.
Enumerator | |
---|---|
INDEX_64BIT | |
MAJOR_COMPACTION | |
SPLIT |
Definition at line 77 of file CellStoreTrailerV5.h.
CellStoreTrailerV5::CellStoreTrailerV5 | ( | ) |
Definition at line 43 of file CellStoreTrailerV5.cc.
|
inlinevirtual |
Definition at line 34 of file CellStoreTrailerV5.h.
|
virtual |
Clears the contents of this trailer;.
Implements Hypertable::CellStoreTrailer.
Definition at line 51 of file CellStoreTrailerV5.cc.
|
virtual |
Deserializes the trailer from the given buffer.
buf | pointer to buffer containing serialized trailer |
Implements Hypertable::CellStoreTrailer.
Definition at line 131 of file CellStoreTrailerV5.cc.
|
virtual |
Prints the trailer to the given ostream.
os | ostream to print trailer to |
Implements Hypertable::CellStoreTrailer.
Definition at line 171 of file CellStoreTrailerV5.cc.
|
virtual |
Prints the trailer, one member per line, to the given ostream.
os | ostream to print trailer to |
Implements Hypertable::CellStoreTrailer.
Definition at line 220 of file CellStoreTrailerV5.cc.
|
inlinevirtual |
Implements Hypertable::CellStoreTrailer.
Definition at line 82 of file CellStoreTrailerV5.h.
|
virtual |
Serializes this trailer to the given buffer;.
buf | pointer to buffer to serialize trailer to |
Implements Hypertable::CellStoreTrailer.
Definition at line 89 of file CellStoreTrailerV5.cc.
|
inlinevirtual |
Returns the serialized size of the trailer.
Implements Hypertable::CellStoreTrailer.
Definition at line 36 of file CellStoreTrailerV5.h.
union { ... } |
uint32_t Hypertable::CellStoreTrailerV5::alignment |
Definition at line 66 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::blocksize |
Definition at line 53 of file CellStoreTrailerV5.h.
uint8_t Hypertable::CellStoreTrailerV5::bloom_filter_hash_count |
Definition at line 74 of file CellStoreTrailerV5.h.
uint8_t Hypertable::CellStoreTrailerV5::bloom_filter_mode |
Definition at line 73 of file CellStoreTrailerV5.h.
float Hypertable::CellStoreTrailerV5::compression_ratio |
Definition at line 68 of file CellStoreTrailerV5.h.
uint32_t Hypertable::CellStoreTrailerV5::compression_ratio_i32 |
Definition at line 69 of file CellStoreTrailerV5.h.
uint16_t Hypertable::CellStoreTrailerV5::compression_type |
Definition at line 71 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::create_time |
Definition at line 58 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::delete_count |
Definition at line 60 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::expirable_data |
Definition at line 59 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::expiration_time |
Definition at line 57 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::filter_items_actual |
Definition at line 50 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::filter_items_estimate |
Definition at line 49 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::filter_length |
Definition at line 48 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::filter_offset |
Definition at line 44 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::fix_index_offset |
Definition at line 42 of file CellStoreTrailerV5.h.
uint32_t Hypertable::CellStoreTrailerV5::flags |
Definition at line 65 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::index_entries |
Definition at line 46 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::key_bytes |
Definition at line 61 of file CellStoreTrailerV5.h.
uint16_t Hypertable::CellStoreTrailerV5::key_compression_scheme |
Definition at line 72 of file CellStoreTrailerV5.h.
uint32_t Hypertable::CellStoreTrailerV5::replaced_files_entries |
Definition at line 52 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::replaced_files_length |
Definition at line 51 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::replaced_files_offset |
Definition at line 45 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::revision |
Definition at line 54 of file CellStoreTrailerV5.h.
uint32_t Hypertable::CellStoreTrailerV5::table_generation |
Definition at line 64 of file CellStoreTrailerV5.h.
uint32_t Hypertable::CellStoreTrailerV5::table_id |
Definition at line 63 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::timestamp_max |
Definition at line 56 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::timestamp_min |
Definition at line 55 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::total_entries |
Definition at line 47 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::value_bytes |
Definition at line 62 of file CellStoreTrailerV5.h.
int64_t Hypertable::CellStoreTrailerV5::var_index_offset |
Definition at line 43 of file CellStoreTrailerV5.h.
uint16_t Hypertable::CellStoreTrailerV5::version |
Definition at line 75 of file CellStoreTrailerV5.h.