#pragma once #include #include namespace DB { /// The big brother of SourceFromSingleChunk. class SourceFromChunks : public ISource { public: SourceFromChunks(Block header, Chunks chunks_); String getName() const override; protected: Chunk generate() override; private: Chunks chunks; Chunks::iterator it; }; }