22 #ifndef HYPERTABLE_CELLSTORETRAILERV1_H
23 #define HYPERTABLE_CELLSTORETRAILERV1_H
25 #include <boost/any.hpp>
38 virtual size_t size() {
return 112; }
41 virtual void display(std::ostream &os);
72 if (prop ==
"version")
return version;
79 else if (prop ==
"filter_false_positive_prob")
81 else if (prop ==
"blocksize")
return blocksize;
82 else if (prop ==
"revision")
return revision;
86 else if (prop ==
"table_id")
return table_id;
88 else if (prop ==
"flags")
return flags;
92 else return boost::any();
99 #endif // HYPERTABLE_CELLSTORETRAILERV1_H
Abstract base class for cell store trailer.
virtual ~CellStoreTrailerV1()
uint32_t compression_ratio_i32
std::string String
A String is simply a typedef to std::string.
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;.
float filter_false_positive_prob
virtual size_t size()
Returns the serialized size of the trailer.
uint32_t table_generation
virtual void clear()
Clears the contents of this trailer;.
virtual void deserialize(const uint8_t *buf)
Deserializes the trailer from the given buffer.
uint16_t compression_type
virtual void display(std::ostream &os)
Prints the trailer to the given ostream.
uint32_t filter_false_positive_prob_i32