#pragma once #include namespace DB { /// Sink which reads everything and do nothing with it. class EmptySink : public ISink { public: explicit EmptySink(Block header) : ISink(std::move(header)) {} String getName() const override { return "EmptySink"; } protected: void consume(Chunk) override {} }; }