16 #ifndef STORAGE_LEVELDB_INCLUDE_FILTER_POLICY_H_
17 #define STORAGE_LEVELDB_INCLUDE_FILTER_POLICY_H_
33 virtual const char*
Name()
const = 0;
70 #endif // STORAGE_LEVELDB_INCLUDE_FILTER_POLICY_H_
virtual const char * Name() const =0
const FilterPolicy * NewBloomFilterPolicy(int bits_per_key)
virtual void CreateFilter(const Slice *keys, int n, std::string *dst) const =0
virtual bool KeyMayMatch(const Slice &key, const Slice &filter) const =0