摘要: LevelDB的InternalKey和LookupKey InternalKey是在数据库内部使用的key,其实就是将普通的string类型的key封装了 LookupKey也是用来封装用户的key,作用是用来内部查询的时候使用 class InternalKey; // Value types 阅读全文
posted @ 2021-08-09 23:10 胖胖咩 阅读(460) 评论(0) 推荐(0)
摘要: LevelDB的过滤器(默认是布隆过滤器) 过滤器接口:include/leveldb/filter_policy.h namespace leveldb { class Slice; class LEVELDB_EXPORT FilterPolicy { public: virtual ~Filt 阅读全文
posted @ 2021-08-09 22:41 胖胖咩 阅读(145) 评论(0) 推荐(0)