2011-11-06 06:22:52 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <DB/DataStreams/IProfilingBlockInputStream.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
/** Преобразует столбцы-константы в полноценные столбцы ("материализует" их).
|
|
|
|
*/
|
|
|
|
class MaterializingBlockInputStream : public IProfilingBlockInputStream
|
|
|
|
{
|
|
|
|
public:
|
2016-08-10 19:12:29 +00:00
|
|
|
MaterializingBlockInputStream(BlockInputStreamPtr input_);
|
|
|
|
String getName() const override;
|
|
|
|
String getID() const override;
|
2013-05-03 10:20:53 +00:00
|
|
|
|
2012-10-20 02:10:47 +00:00
|
|
|
protected:
|
2016-08-10 19:12:29 +00:00
|
|
|
Block readImpl() override;
|
2011-11-06 06:22:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|