27 #ifndef HYPERTABLE_CELLSTORETRAILERV7_H
28 #define HYPERTABLE_CELLSTORETRAILERV7_H
32 #include <boost/any.hpp>
45 virtual size_t size() {
return 198; }
48 virtual void display(std::ostream &os);
94 if (prop ==
"version")
return version;
107 else if (prop ==
"blocksize")
return blocksize;
108 else if (prop ==
"revision")
return revision;
112 else if (prop ==
"create_time")
return create_time;
115 else if (prop ==
"key_bytes")
return key_bytes;
116 else if (prop ==
"value_bytes")
return value_bytes;
117 else if (prop ==
"table_id")
return table_id;
119 else if (prop ==
"flags")
return flags;
120 else if (prop ==
"alignment")
return alignment;
126 else return boost::any();
135 #endif // HYPERTABLE_CELLSTORETRAILERV7_H
virtual void clear()
Clears the contents of this trailer;.
Abstract base class for cell store trailer.
virtual void display(std::ostream &os)
Prints the trailer to the given ostream.
uint16_t compression_type
virtual void display_multiline(std::ostream &os)
Prints the trailer, one member per line, to the given ostream.
std::string String
A String is simply a typedef to std::string.
uint32_t replaced_files_entries
int64_t replaced_files_length
virtual void deserialize(const uint8_t *buf)
Deserializes the trailer from the given buffer.
uint32_t compression_ratio_i32
uint16_t block_header_version
virtual void serialize(uint8_t *buf)
Serializes this trailer to the given buffer;.
uint8_t bloom_filter_hash_count
virtual ~CellStoreTrailerV7()
int64_t replaced_files_offset
int64_t filter_items_estimate
int64_t filter_items_actual
uint8_t bloom_filter_mode
uint32_t table_generation
Represents the trailer for CellStore version 7.
uint16_t key_compression_scheme
virtual size_t size()
Returns the serialized size of the trailer.