mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
19 lines
306 B
C++
19 lines
306 B
C++
|
#pragma once
|
||
|
#include <Processors/ISource.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class NullSource : public ISource
|
||
|
{
|
||
|
public:
|
||
|
explicit NullSource(Block header) : ISource(std::move(header)) {}
|
||
|
String getName() const override { return "NullSource"; }
|
||
|
|
||
|
protected:
|
||
|
Chunk generate() override { return Chunk(); }
|
||
|
};
|
||
|
|
||
|
}
|