MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
表示从表中获取数据的算子 更多...
#include <table_get_logical_operator.h>
Public 成员函数 | |
TableGetLogicalOperator (Table *table, const std::vector< Field > &fields, bool readonly) | |
LogicalOperatorType | type () const override |
Table * | table () const |
bool | readonly () const |
void | set_predicates (std::vector< std::unique_ptr< Expression > > &&exprs) |
std::vector< std::unique_ptr< Expression > > & | predicates () |
![]() | |
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 属性 | |
Table * | table_ = nullptr |
std::vector< Field > | fields_ |
bool | readonly_ = false |
std::vector< std::unique_ptr< Expression > > | predicates_ |
额外继承的成员函数 | |
![]() | |
std::vector< std::unique_ptr< LogicalOperator > > | children_ |
子算子 更多... | |
std::vector< std::unique_ptr< Expression > > | expressions_ |
表示从表中获取数据的算子
比如使用全表扫描、通过索引获取数据等
|
inlineoverridevirtual |
实现了 LogicalOperator.