| 166 | explicit IndexFilterFactory(engine::Storage *storage) : stor_(storage) {} |
| 167 | const char *Name() const override { return "IndexFilterFactory"; } |
| 168 | std::unique_ptr<rocksdb::CompactionFilter> CreateCompactionFilter( |
| 169 | [[maybe_unused]] const rocksdb::CompactionFilter::Context &context) override { |
| 170 | return std::unique_ptr<rocksdb::CompactionFilter>(new IndexFilter(stor_)); |
| 171 | } |
| 172 | |
| 173 | private: |
| 174 | engine::Storage *stor_ = nullptr; |
nothing calls this directly
no outgoing calls
no test coverage detected