mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
25 lines
707 B
C++
25 lines
707 B
C++
#pragma once
|
|
#include <Processors/QueryPlan/IQueryPlanStep.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Step which takes empty pipeline and initializes it. Returns single logical DataStream.
|
|
class ISourceStep : public IQueryPlanStep
|
|
{
|
|
public:
|
|
explicit ISourceStep(DataStream output_stream_);
|
|
|
|
QueryPipelineBuilderPtr updatePipeline(QueryPipelineBuilders pipelines, const BuildQueryPipelineSettings & settings) override;
|
|
|
|
virtual void initializePipeline(QueryPipelineBuilder & pipeline, const BuildQueryPipelineSettings & settings) = 0;
|
|
|
|
void describePipeline(FormatSettings & settings) const override;
|
|
|
|
protected:
|
|
/// We collect processors got after pipeline transformation.
|
|
Processors processors;
|
|
};
|
|
|
|
}
|