MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
全部  文件 函数 变量 枚举 枚举值 宏定义  
Public 成员函数 | Protected 属性 | 所有成员列表
PhysicalOperator类 参考abstract

与LogicalOperator对应,物理算子描述执行计划将如何执行 更多...

#include <physical_operator.h>

类 PhysicalOperator 继承关系图:
CalcPhysicalOperator DeletePhysicalOperator ExplainPhysicalOperator IndexScanPhysicalOperator InsertPhysicalOperator NestedLoopJoinPhysicalOperator PredicatePhysicalOperator ProjectPhysicalOperator StringListPhysicalOperator TableScanPhysicalOperator

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 Tuplecurrent_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对应,物理算子描述执行计划将如何执行

成员函数说明

◆ name()

std::string PhysicalOperator::name ( ) const
virtual

这两个函数是为了打印时使用的,比如在explain中

CalcPhysicalOperator 重载.


该类的文档由以下文件生成: