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