2020-06-16 14:11:19 +00:00
|
|
|
#pragma once
|
|
|
|
#include <Processors/QueryPlan/ISourceStep.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2020-06-22 10:18:28 +00:00
|
|
|
/// Create NullSource with specified structure.
|
2020-06-16 14:11:19 +00:00
|
|
|
class ReadNothingStep : public ISourceStep
|
|
|
|
{
|
|
|
|
public:
|
2020-06-18 13:38:45 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|