mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Removed useless file #3754
This commit is contained in:
parent
c9b97ae86c
commit
f66b15efb3
@ -1,41 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include <DataStreams/IProfilingBlockInputStream.h>
|
|
||||||
|
|
||||||
namespace DB
|
|
||||||
{
|
|
||||||
|
|
||||||
class BlockExtraInfo;
|
|
||||||
|
|
||||||
/** Adds to one stream additional block information that is specified
|
|
||||||
* as the constructor parameter.
|
|
||||||
*/
|
|
||||||
class BlockExtraInfoInputStream : public IProfilingBlockInputStream
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
BlockExtraInfoInputStream(const BlockInputStreamPtr & input, const BlockExtraInfo & block_extra_info_)
|
|
||||||
: block_extra_info(block_extra_info_)
|
|
||||||
{
|
|
||||||
children.push_back(input);
|
|
||||||
}
|
|
||||||
|
|
||||||
BlockExtraInfo getBlockExtraInfo() const override
|
|
||||||
{
|
|
||||||
return block_extra_info;
|
|
||||||
}
|
|
||||||
|
|
||||||
String getName() const override { return "BlockExtraInfoInput"; }
|
|
||||||
|
|
||||||
Block getHeader() const override { return children.back()->getHeader(); }
|
|
||||||
|
|
||||||
protected:
|
|
||||||
Block readImpl() override
|
|
||||||
{
|
|
||||||
return children.back()->read();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
BlockExtraInfo block_extra_info;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user