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