17#include "sql/expr/expression.h" 
   18#include "sql/operator/logical_operator.h" 
   19#include "storage/field/field.h" 
   32  LogicalOperatorType         type()
 const override { 
return LogicalOperatorType::PROJECTION; }
 
   33  OpType                      
get_op_type()
 const override { 
return OpType::LOGICALPROJECTION; }
 
   34  unique_ptr<LogicalProperty> 
find_log_prop(
const vector<LogicalProperty *> &log_props) 
override;
 
   36  vector<unique_ptr<Expression>>       &expressions() { 
return expressions_; }
 
   37  const vector<unique_ptr<Expression>> &expressions()
 const { 
return expressions_; }
 
逻辑算子描述当前执行计划要做什么
Definition: logical_operator.h:50
project 表示投影运算
Definition: project_logical_operator.h:27
OpType get_op_type() const override
Definition: project_logical_operator.h:33
unique_ptr< LogicalProperty > find_log_prop(const vector< LogicalProperty * > &log_props) override
Generate the logical property of the operator node using the input logical properties.
Definition: project_logical_operator.cpp:24