MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
索引扫描物理算子 更多...
#include <index_scan_physical_operator.h>
Public 成员函数 | |
IndexScanPhysicalOperator (Table *table, Index *index, bool readonly, const Value *left_value, bool left_inclusive, const Value *right_value, bool right_inclusive) | |
PhysicalOperatorType | type () const override |
std::string | param () const override |
RC | open (Trx *trx) override |
RC | next () override |
RC | close () override |
Tuple * | current_tuple () override |
void | set_predicates (std::vector< std::unique_ptr< Expression > > &&exprs) |
![]() | |
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 () |
Private 成员函数 | |
RC | filter (RowTuple &tuple, bool &result) |
Private 属性 | |
Trx * | trx_ = nullptr |
Table * | table_ = nullptr |
Index * | index_ = nullptr |
bool | readonly_ = false |
IndexScanner * | index_scanner_ = nullptr |
RecordFileHandler * | record_handler_ = nullptr |
RecordPageHandler | record_page_handler_ |
Record | current_record_ |
RowTuple | tuple_ |
Value | left_value_ |
Value | right_value_ |
bool | left_inclusive_ = false |
bool | right_inclusive_ = false |
std::vector< std::unique_ptr< Expression > > | predicates_ |
额外继承的成员函数 | |
![]() | |
std::vector< std::unique_ptr< PhysicalOperator > > | children_ |
索引扫描物理算子
|
overridevirtual |
实现了 PhysicalOperator.
|
overridevirtual |
实现了 PhysicalOperator.
|
overridevirtual |
实现了 PhysicalOperator.
|
overridevirtual |
实现了 PhysicalOperator.
|
overridevirtual |
重载 PhysicalOperator .
|
inlineoverridevirtual |
实现了 PhysicalOperator.