ClickHouse/src/Processors/QueryPlan/ReadNothingStep.h

19 lines
405 B
C++
Raw Normal View History

2020-06-16 14:11:19 +00:00
#pragma once
#include <Processors/QueryPlan/ISourceStep.h>
namespace DB
{
/// Create NullSource with specified structure.
2020-06-16 14:11:19 +00:00
class ReadNothingStep : public ISourceStep
{
public:
explicit ReadNothingStep(Block output_header);
2020-06-16 14:11:19 +00:00
String getName() const override { return "ReadNothing"; }
void initializePipeline(QueryPipelineBuilder & pipeline, const BuildQueryPipelineSettings &) override;
2020-06-16 14:11:19 +00:00
};
}