mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
25 lines
686 B
C++
25 lines
686 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_);
|
|
|
|
QueryPipelinePtr updatePipeline(QueryPipelines pipelines, const BuildQueryPipelineSettings & settings) override;
|
|
|
|
virtual void initializePipeline(QueryPipeline & pipeline, const BuildQueryPipelineSettings & settings) = 0;
|
|
|
|
void describePipeline(FormatSettings & settings) const override;
|
|
|
|
protected:
|
|
/// We collect processors got after pipeline transformation.
|
|
Processors processors;
|
|
};
|
|
|
|
}
|