MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 成员函数 | Private 属性 | 所有成员列表
TableGetLogicalOperator类 参考

表示从表中获取数据的算子 更多...

#include <table_get_logical_operator.h>

类 TableGetLogicalOperator 继承关系图:
LogicalOperator

Public 成员函数

 TableGetLogicalOperator (Table *table, const std::vector< Field > &fields, bool readonly)
 
LogicalOperatorType type () const override
 
Tabletable () const
 
bool readonly () const
 
void set_predicates (std::vector< std::unique_ptr< Expression > > &&exprs)
 
std::vector< std::unique_ptr< Expression > > & predicates ()
 
- Public 成员函数 继承自 LogicalOperator
virtual LogicalOperatorType type () const =0
 
void add_child (std::unique_ptr< LogicalOperator > oper)
 
std::vector< std::unique_ptr< LogicalOperator > > & children ()
 
std::vector< std::unique_ptr< Expression > > & expressions ()
 

Private 属性

Tabletable_ = nullptr
 
std::vector< Fieldfields_
 
bool readonly_ = false
 
std::vector< std::unique_ptr< Expression > > predicates_
 

额外继承的成员函数

- Protected 属性 继承自 LogicalOperator
std::vector< std::unique_ptr< LogicalOperator > > children_
 子算子 更多...
 
std::vector< std::unique_ptr< Expression > > expressions_
 

详细描述

表示从表中获取数据的算子

比如使用全表扫描、通过索引获取数据等

成员函数说明

◆ type()

LogicalOperatorType TableGetLogicalOperator::type ( ) const
inlineoverridevirtual

实现了 LogicalOperator.


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