MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
与LogicalOperator对应,物理算子描述执行计划将如何执行 更多...
#include <physical_operator.h>
Public 成员函数 | |
virtual std::string | name () const |
virtual std::string | param () const |
virtual PhysicalOperatorType | type () const =0 |
virtual RC | open (Trx *trx)=0 |
virtual RC | next ()=0 |
virtual RC | close ()=0 |
virtual Tuple * | current_tuple ()=0 |
void | add_child (std::unique_ptr< PhysicalOperator > oper) |
std::vector< std::unique_ptr< PhysicalOperator > > & | children () |
Protected 属性 | |
std::vector< std::unique_ptr< PhysicalOperator > > | children_ |
与LogicalOperator对应,物理算子描述执行计划将如何执行
|
virtual |
这两个函数是为了打印时使用的,比如在explain中
被 CalcPhysicalOperator 重载.