#pragma once #include namespace DB { /** Does nothing. Used for debugging and benchmarks. */ class NullBlockOutputStream : public IBlockOutputStream { public: NullBlockOutputStream(const Block & header_) : header(header_) {} Block getHeader() const override { return header; } void write(const Block &) override {} private: Block header; }; }