1 | #pragma once |
---|---|
2 | #include <Processors/ISource.h> |
3 | |
4 | |
5 | namespace DB |
6 | { |
7 | |
8 | class NullSource : public ISource |
9 | { |
10 | public: |
11 | explicit NullSource(Block header) : ISource(std::move(header)) {} |
12 | String getName() const override { return "NullSource"; } |
13 | |
14 | protected: |
15 | Chunk generate() override { return Chunk(); } |
16 | }; |
17 | |
18 | } |
19 |