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