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

字符串列表物理算子 更多...

#include <string_list_physical_operator.h>

类 StringListPhysicalOperator 继承关系图:
PhysicalOperator

Public 成员函数

template<typename InputIt >
void append (InputIt begin, InputIt end)
 
void append (std::initializer_list< std::string > init)
 
template<typename T >
void append (const T &v)
 
PhysicalOperatorType type () const override
 
RC open (Trx *) override
 
RC next () override
 
virtual RC close () override
 
virtual Tuplecurrent_tuple () override
 
- Public 成员函数 继承自 PhysicalOperator
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 ()
 

Private 类型

using StringList = std::vector< std::string >
 
using StringListList = std::vector< StringList >
 

Private 属性

StringListList strings_
 
StringListList::iterator iterator_
 
bool started_ = false
 
ValueListTuple tuple_
 

额外继承的成员函数

- Protected 属性 继承自 PhysicalOperator
std::vector< std::unique_ptr< PhysicalOperator > > children_
 

详细描述

字符串列表物理算子

用于将字符串列表转换为物理算子,为了方便实现的接口,比如help命令

成员函数说明

◆ close()

virtual RC StringListPhysicalOperator::close ( )
inlineoverridevirtual

实现了 PhysicalOperator.

◆ current_tuple()

virtual Tuple * StringListPhysicalOperator::current_tuple ( )
inlineoverridevirtual

实现了 PhysicalOperator.

◆ next()

RC StringListPhysicalOperator::next ( )
inlineoverridevirtual

实现了 PhysicalOperator.

◆ open()

RC StringListPhysicalOperator::open ( Trx )
inlineoverridevirtual

实现了 PhysicalOperator.

◆ type()

PhysicalOperatorType StringListPhysicalOperator::type ( ) const
inlineoverridevirtual

实现了 PhysicalOperator.


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