mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
19 lines
368 B
C++
19 lines
368 B
C++
#pragma once
|
|
|
|
#include <DB/DataStreams/IBlockOutputStream.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Ничего не делает. Используется для отладки и бенчмарков.
|
|
*/
|
|
class NullBlockOutputStream : public IBlockOutputStream
|
|
{
|
|
public:
|
|
void write(const Block & block) {}
|
|
BlockOutputStreamPtr clone() { return new NullBlockOutputStream; }
|
|
};
|
|
|
|
}
|