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

聚合物理算子 (Vectorized) 更多...

#include <aggregate_vec_physical_operator.h>

类 AggregateVecPhysicalOperator 继承关系图:
PhysicalOperator OperatorNode

class  AggregateValues
 

Public 成员函数

 AggregateVecPhysicalOperator (vector< Expression * > &&expressions)
 
PhysicalOperatorType type () const override
 
RC open (Trx *trx) override
 
RC next (Chunk &chunk) override
 
RC close () override
 
- Public 成员函数 继承自 PhysicalOperator
virtual string name () const
 
virtual string param () const
 
bool is_physical () const override
 
bool is_logical () const override
 
virtual PhysicalOperatorType type () const =0
 
virtual RC open (Trx *trx)=0
 
virtual RC next ()
 
virtual RC next (Chunk &chunk)
 
virtual RC close ()=0
 
virtual Tuplecurrent_tuple ()
 
virtual RC tuple_schema (TupleSchema &schema) const
 
void add_child (unique_ptr< PhysicalOperator > oper)
 
vector< unique_ptr< PhysicalOperator > > & children ()
 
- Public 成员函数 继承自 OperatorNode
virtual OpType get_op_type () const
 
virtual bool is_physical () const =0
 
virtual bool is_logical () const =0
 
virtual uint64_t hash () const
 
virtual bool operator== (const OperatorNode &other) const
 
virtual unique_ptr< LogicalPropertyfind_log_prop (const vector< LogicalProperty * > &log_props)
 Generate the logical property of the operator node using the input logical properties. 更多...
 
virtual double calculate_cost (LogicalProperty *prop, const vector< LogicalProperty * > &child_log_props, CostModel *cm)
 Calculates the cost of a logical operation. 更多...
 
void add_general_child (OperatorNode *child)
 
vector< OperatorNode * > & get_general_children ()
 

Private 成员函数

template<class STATE , typename T >
void update_aggregate_state (void *state, const Column &column)
 
template<class STATE , typename T >
void append_to_column (void *state, Column &column)
 

Private 属性

vector< Expression * > aggregate_expressions_
 
vector< Expression * > value_expressions_
 聚合表达式
 
Chunk chunk_
 
Chunk output_chunk_
 
AggregateValues aggr_values_
 

额外继承的成员函数

- Protected 属性 继承自 PhysicalOperator
vector< unique_ptr< PhysicalOperator > > children_
 
- Protected 属性 继承自 OperatorNode
vector< OperatorNode * > general_children_
 

详细描述

聚合物理算子 (Vectorized)

成员函数说明

◆ close()

RC AggregateVecPhysicalOperator::close ( )
overridevirtual

实现了 PhysicalOperator.

◆ next()

RC AggregateVecPhysicalOperator::next ( Chunk chunk)
overridevirtual

重载 PhysicalOperator .

◆ open()

RC AggregateVecPhysicalOperator::open ( Trx trx)
overridevirtual

实现了 PhysicalOperator.

◆ type()

PhysicalOperatorType AggregateVecPhysicalOperator::type ( ) const
inlineoverridevirtual

实现了 PhysicalOperator.


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