mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
27 lines
700 B
C++
27 lines
700 B
C++
#pragma once
|
|
#include <Processors/QueryPlan/ITransformingStep.h>
|
|
#include <Core/SortDescription.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Implements modifier WITH FILL of ORDER BY clause. See FillingTransform.
|
|
class FillingStep : public ITransformingStep
|
|
{
|
|
public:
|
|
FillingStep(const DataStream & input_stream_, SortDescription sort_description_);
|
|
|
|
String getName() const override { return "Filling"; }
|
|
|
|
void transformPipeline(QueryPipeline & pipeline, const BuildQueryPipelineSettings &) override;
|
|
|
|
void describeActions(FormatSettings & settings) const override;
|
|
|
|
const SortDescription & getSortDescription() const { return sort_description; }
|
|
|
|
private:
|
|
SortDescription sort_description;
|
|
};
|
|
|
|
}
|