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