ClickHouse/src/Processors/QueryPlan/ExpressionStep.h

22 lines
493 B
C++
Raw Normal View History

2020-06-16 09:42:25 +00:00
#include <Processors/QueryPlan/ITransformingStep.h>
namespace DB
{
class ExpressionActions;
using ExpressionActionsPtr = std::shared_ptr<ExpressionActions>;
class ExpressionStep : public ITransformingStep
{
public:
explicit ExpressionStep(const DataStream & input_stream_, ExpressionActionsPtr expression_);
String getName() const override { return "Expression"; }
void transformPipeline(QueryPipeline & pipeline) override;
private:
ExpressionActionsPtr expression;
};
}