types: add kEntryBlobIndex for TablePropertiesCollector (#4233)

Summary:
So that we can act accordingly on blob index entries
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4233

Differential Revision: D9190205

Pulled By: yiwu-arbug

fbshipit-source-id: e5b84d5b41e44fa7a76762f1f7b0305369bb3a0c
This commit is contained in:
Huachao Huang 2018-08-06 18:12:25 -07:00 committed by Facebook Github Bot
parent c970358574
commit badfd70a3e
2 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,8 @@ EntryType GetEntryType(ValueType value_type) {
return kEntryMerge;
case kTypeRangeDeletion:
return kEntryRangeDeletion;
case kTypeBlobIndex:
return kEntryBlobIndex;
default:
return kEntryOther;
}

View File

@ -23,6 +23,7 @@ enum EntryType {
kEntrySingleDelete,
kEntryMerge,
kEntryRangeDeletion,
kEntryBlobIndex,
kEntryOther,
};