return GetVarint64(&raw, &val) ? val : 0;
}
-} // namespace
+} // anonymous namespace
Status UserKeyTablePropertiesCollector::InternalAdd(const Slice& key,
const Slice& value,
}
void UserKeyTablePropertiesCollector::BlockAdd(
- uint64_t bLockRawBytes, uint64_t blockCompressedBytesFast,
- uint64_t blockCompressedBytesSlow) {
- return collector_->BlockAdd(bLockRawBytes, blockCompressedBytesFast,
- blockCompressedBytesSlow);
+ uint64_t block_uncomp_bytes, uint64_t block_compressed_bytes_fast,
+ uint64_t block_compressed_bytes_slow) {
+ return collector_->BlockAdd(block_uncomp_bytes, block_compressed_bytes_fast,
+ block_compressed_bytes_slow);
}
Status UserKeyTablePropertiesCollector::Finish(
return collector_->Finish(properties);
}
-UserCollectedProperties
-UserKeyTablePropertiesCollector::GetReadableProperties() const {
+UserCollectedProperties UserKeyTablePropertiesCollector::GetReadableProperties()
+ const {
return collector_->GetReadableProperties();
}
-uint64_t GetDeletedKeys(
- const UserCollectedProperties& props) {
+uint64_t GetDeletedKeys(const UserCollectedProperties& props) {
bool property_present_ignored;
return GetUint64Property(props, TablePropertiesNames::kDeletedKeys,
&property_present_ignored);
uint64_t GetMergeOperands(const UserCollectedProperties& props,
bool* property_present) {
- return GetUint64Property(
- props, TablePropertiesNames::kMergeOperands, property_present);
+ return GetUint64Property(props, TablePropertiesNames::kMergeOperands,
+ property_present);
}
} // namespace ROCKSDB_NAMESPACE