ClickHouse/src/Processors/QueryPlan/ReadFromPreparedSource.h

23 lines
446 B
C++
Raw Normal View History

2020-06-16 14:11:19 +00:00
#pragma once
#include <Processors/QueryPlan/ISourceStep.h>
#include <Processors/Pipe.h>
namespace DB
{
class ReadFromPreparedSource : public ISourceStep
{
public:
explicit ReadFromPreparedSource(Pipe pipe_, std::shared_ptr<Context> context_);
2020-06-16 14:11:19 +00:00
String getName() const override { return "ReadNothing"; }
void initializePipeline(QueryPipeline & pipeline) override;
private:
Pipe pipe;
std::shared_ptr<Context> context;
2020-06-16 14:11:19 +00:00
};
}