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

Public 成员函数

 GroupExpr (OperatorNode *contents, std::vector< int > &&child_groups)
 
int get_group_id () const
 
void set_group_id (int id)
 
const vector< int > & get_child_group_ids () const
 
int get_child_group_id (int child_idx) const
 
OperatorNodeget_op ()
 
double get_cost () const
 
void set_local_cost (double cost)
 
uint64_t hash () const
 
bool operator== (const GroupExpr &r) const
 
void set_rule_explored (Rule *rule)
 
bool rule_explored (Rule *rule)
 
size_t get_children_groups_size () const
 
void dump () const
 

Private 属性

int group_id_ {}
 
OperatorNodecontents_ {}
 
std::vector< int > child_groups_
 
std::bitset< static_cast< uint32_t >(RuleType::NUM_RULES)> rule_mask_
 
double lowest_cost_ = std::numeric_limits<double>::max()
 

构造及析构函数说明

◆ GroupExpr()

GroupExpr::GroupExpr ( OperatorNode contents,
std::vector< int > &&  child_groups 
)
inline
参数
contentsoptimizer node contents
child_groupsVector of children groups

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