Removed useless file #3754

This commit is contained in:
Alexey Milovidov 2018-12-05 17:59:48 +03:00
parent c9b97ae86c
commit f66b15efb3

View File

@ -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;
};
}