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