1 | #pragma once |
---|---|
2 | |
3 | #include <DataStreams/IBlockInputStream.h> |
4 | |
5 | namespace DB |
6 | { |
7 | |
8 | /** Converts columns-constants to full columns ("materializes" them). |
9 | */ |
10 | class MaterializingBlockInputStream : public IBlockInputStream |
11 | { |
12 | public: |
13 | MaterializingBlockInputStream(const BlockInputStreamPtr & input); |
14 | String getName() const override; |
15 | Block getHeader() const override; |
16 | |
17 | protected: |
18 | Block readImpl() override; |
19 | }; |
20 | |
21 | } |
22 |