ClickHouse/src/Processors/QueryPlan/ReadNothingStep.h

19 lines
398 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"; }
2021-03-04 17:38:12 +00:00
void initializePipeline(QueryPipeline & pipeline, const BuildQueryPipelineSettings &) override;
2020-06-16 14:11:19 +00:00
};
}