#pragma once #include namespace DB { class Context; /** Implements the `rocksdb` system table, which expose various rocksdb metrics. */ class StorageSystemRocksDB final : public IStorageSystemOneBlock { public: std::string getName() const override { return "SystemRocksDB"; } static ColumnsDescription getColumnsDescription(); protected: using IStorageSystemOneBlock::IStorageSystemOneBlock; void fillData(MutableColumns & res_columns, ContextPtr context, const ActionsDAG::Node * predicate, std::vector) const override; Block getFilterSampleBlock() const override; }; }