mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +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; }
|
|
};
|
|
|
|
}
|