mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
21 lines
383 B
C++
21 lines
383 B
C++
#pragma once
|
|
|
|
#include <DB/DataStreams/IBlockInputStream.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Пустой поток блоков.
|
|
*/
|
|
class NullBlockInputStream : public IBlockInputStream
|
|
{
|
|
public:
|
|
NullBlockInputStream() {}
|
|
Block read() { return Block(); }
|
|
String getName() const { return "NullBlockInputStream"; }
|
|
BlockInputStreamPtr clone() { return new NullBlockInputStream(); }
|
|
};
|
|
|
|
}
|