22 #ifndef HYPERTABLE_CELLSTORETRAILERV5_H
23 #define HYPERTABLE_CELLSTORETRAILERV5_H
25 #include <boost/any.hpp>
36 virtual size_t size() {
return 192; }
39 virtual void display(std::ostream &os);
83 if (prop ==
"version")
return version;
95 else if (prop ==
"blocksize")
return blocksize;
96 else if (prop ==
"revision")
return revision;
100 else if (prop ==
"create_time")
return create_time;
103 else if (prop ==
"key_bytes")
return key_bytes;
104 else if (prop ==
"value_bytes")
return value_bytes;
105 else if (prop ==
"table_id")
return table_id;
107 else if (prop ==
"flags")
return flags;
108 else if (prop ==
"alignment")
return alignment;
113 else return boost::any();
120 #endif // HYPERTABLE_CELLSTORETRAILERV5_H
Abstract base class for cell store trailer.
std::string String
A String is simply a typedef to std::string.
uint8_t bloom_filter_mode
uint32_t table_generation
virtual void display_multiline(std::ostream &os)
Prints the trailer, one member per line, to the given ostream.
uint16_t compression_type
int64_t filter_items_actual
virtual void serialize(uint8_t *buf)
Serializes this trailer to the given buffer;.
virtual size_t size()
Returns the serialized size of the trailer.
virtual void display(std::ostream &os)
Prints the trailer to the given ostream.
virtual void clear()
Clears the contents of this trailer;.
int64_t filter_items_estimate
uint32_t replaced_files_entries
uint32_t compression_ratio_i32
virtual void deserialize(const uint8_t *buf)
Deserializes the trailer from the given buffer.
virtual ~CellStoreTrailerV5()
int64_t replaced_files_length
int64_t replaced_files_offset
uint16_t key_compression_scheme
uint8_t bloom_filter_hash_count