16#include "sql/operator/logical_operator.h"
17#include "storage/field/field.h"
30 LogicalOperatorType type()
const override
32 return LogicalOperatorType::TABLE_GET;
35 Table *table()
const {
return table_; }
36 bool readonly()
const {
return readonly_; }
38 void set_predicates(std::vector<std::unique_ptr<Expression>> &&exprs);
39 std::vector<std::unique_ptr<Expression>> &predicates()
45 Table *table_ =
nullptr;
46 std::vector<Field> fields_;
47 bool readonly_ =
false;
53 std::vector<std::unique_ptr<Expression>> predicates_;
逻辑算子描述当前执行计划要做什么
Definition: logical_operator.h:50
表示从表中获取数据的算子
Definition: table_get_logical_operator.h:25