Remove warning configurations
This commit is contained in:
committed by
wangzelin.wzl
parent
62c4fec8b5
commit
a331dec52c
@ -396,7 +396,7 @@ public:
|
||||
return est_cost_info_;
|
||||
}
|
||||
const ObShardingInfo* get_sharding_info() const;
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const override
|
||||
{
|
||||
BUF_PRINTF("@");
|
||||
BUF_PRINTF("%lu", table_id_);
|
||||
@ -483,7 +483,7 @@ public:
|
||||
int cost_nest_loop_join(double& op_cost, double& cost);
|
||||
int cost_merge_join(double& op_cost, double& cost);
|
||||
int cost_hash_join(double& op_cost, double& cost);
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const override
|
||||
{
|
||||
BUF_PRINTF("<");
|
||||
if (NULL != left_path_) {
|
||||
@ -542,7 +542,7 @@ public:
|
||||
virtual ~SubQueryPath()
|
||||
{}
|
||||
virtual int estimate_cost() override;
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const
|
||||
virtual void get_name_internal(char* buf, const int64_t buf_len, int64_t& pos) const override
|
||||
{
|
||||
BUF_PRINTF("@sub_");
|
||||
BUF_PRINTF("%lu", subquery_id_);
|
||||
|
||||
@ -35,13 +35,13 @@ public:
|
||||
{
|
||||
type_ = type;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override
|
||||
{
|
||||
UNUSED(ctx);
|
||||
return common::OB_NOT_SUPPORTED;
|
||||
}
|
||||
virtual bool is_consume_child_1by1() const
|
||||
virtual bool is_consume_child_1by1() const override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@ public:
|
||||
{
|
||||
return conflict_exprs_;
|
||||
}
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
void set_table_id(uint64_t table_id)
|
||||
{
|
||||
table_id_ = table_id;
|
||||
@ -80,7 +80,7 @@ public:
|
||||
TO_STRING_KV(K_(table_id), K_(index_tid), K_(only_data_table), K_(conflict_exprs), K_(access_exprs));
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
private:
|
||||
uint64_t table_id_;
|
||||
|
||||
@ -24,7 +24,7 @@ public:
|
||||
{}
|
||||
virtual ~ObLogCount()
|
||||
{}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int generate_link_sql_pre(GenLinkStmtContext& link_ctx) override;
|
||||
inline ObRawExpr* get_rownum_limit_expr() const
|
||||
@ -37,11 +37,11 @@ public:
|
||||
}
|
||||
int set_limit_size();
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
private:
|
||||
ObRawExpr* rownum_limit_expr_;
|
||||
|
||||
@ -82,14 +82,14 @@ public:
|
||||
{
|
||||
check_constraint_exprs_ = check_constraint_exprs;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual uint64_t get_hash(uint64_t seed) const
|
||||
{
|
||||
return seed;
|
||||
}
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int reordering_project_columns() override;
|
||||
void set_ignore(bool is_ignore)
|
||||
{
|
||||
@ -195,7 +195,7 @@ public:
|
||||
{
|
||||
table_columns_ = table_columns;
|
||||
}
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
ObTablePartitionInfo& get_table_partition_info()
|
||||
{
|
||||
@ -261,7 +261,7 @@ private:
|
||||
int do_reordering_project_columns(ObLogicalOperator& child);
|
||||
|
||||
protected:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int add_exprs_to_ctx_for_pdml(
|
||||
ObAllocExprContext& ctx, const ObIArray<ObRawExpr*>& input_exprs, uint64_t producer_id);
|
||||
|
||||
|
||||
@ -32,14 +32,14 @@ public:
|
||||
*/
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
|
||||
virtual int est_cost();
|
||||
virtual int est_cost() override;
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
out = NULL;
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual const char* get_name() const;
|
||||
virtual const char* get_name() const override;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObLogDelete);
|
||||
|
||||
@ -24,13 +24,13 @@ public:
|
||||
virtual ~ObLogDistinct()
|
||||
{}
|
||||
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
int push_down_distinct(
|
||||
AllocExchContext* ctx, common::ObIArray<OrderItem>& sort_keys, ObLogicalOperator*& exchange_point);
|
||||
int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
// this interface can be used for adding distinct expr
|
||||
inline ObIArray<ObRawExpr*>& get_distinct_exprs()
|
||||
{
|
||||
@ -49,8 +49,8 @@ public:
|
||||
return append(distinct_exprs_, exprs);
|
||||
}
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs);
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs) override;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
|
||||
inline void set_hash_type()
|
||||
{
|
||||
@ -78,7 +78,7 @@ public:
|
||||
}
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual bool is_block_op() const override
|
||||
{
|
||||
return false;
|
||||
|
||||
@ -38,7 +38,7 @@ public:
|
||||
virtual ~ObLogExchange()
|
||||
{}
|
||||
virtual int est_cost() override;
|
||||
virtual const char* get_name() const;
|
||||
virtual const char* get_name() const override;
|
||||
int set_sort_keys(const common::ObIArray<OrderItem>& order_keys);
|
||||
const common::ObIArray<OrderItem>& get_sort_keys() const
|
||||
{
|
||||
@ -132,18 +132,18 @@ public:
|
||||
{
|
||||
return is_merge_sort_;
|
||||
}
|
||||
inline bool is_block_op() const
|
||||
inline bool is_block_op() const override
|
||||
{
|
||||
return is_local_order_;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int32_t get_explain_name_length() const;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos);
|
||||
virtual int32_t get_explain_name_length() const override;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos) override;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int set_exchange_info(ObExchangeInfo& exch_info);
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
const common::ObIArray<ObRawExpr*>& get_repart_keys() const
|
||||
{
|
||||
return exch_info_.repartition_keys_;
|
||||
@ -212,7 +212,7 @@ public:
|
||||
virtual int px_pipe_blocking_post(ObPxPipeBlockingCtx& ctx) override;
|
||||
virtual int allocate_granule_post(AllocGIContext& ctx) override;
|
||||
virtual int allocate_granule_pre(AllocGIContext& ctx) override;
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
bool is_local_order() const
|
||||
{
|
||||
return is_local_order_;
|
||||
@ -222,7 +222,7 @@ public:
|
||||
is_local_order_ = local_order;
|
||||
}
|
||||
virtual int compute_op_ordering() override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
SlaveMappingType get_slave_mapping_type()
|
||||
{
|
||||
return exch_info_.get_slave_mapping_type();
|
||||
@ -234,7 +234,7 @@ public:
|
||||
int update_sharding_conds(AllocExchContext& ctx);
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int print_plan_head_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
|
||||
@ -21,7 +21,7 @@ public:
|
||||
ObLogExprValues(ObLogPlan& plan) : ObLogicalOperator(plan), need_columnlized_(false)
|
||||
{}
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
return clone(out);
|
||||
}
|
||||
@ -56,13 +56,13 @@ public:
|
||||
virtual int compute_table_set() override;
|
||||
virtual int compute_fd_item_set() override;
|
||||
virtual int compute_one_row_info() override;
|
||||
virtual int allocate_dummy_output();
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
virtual int allocate_dummy_output() override;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
private:
|
||||
bool need_columnlized_;
|
||||
|
||||
@ -25,7 +25,7 @@ public:
|
||||
{}
|
||||
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
void add_values_expr(ObRawExpr* expr)
|
||||
{
|
||||
value_expr_ = expr;
|
||||
@ -43,7 +43,7 @@ public:
|
||||
virtual int compute_equal_set() override;
|
||||
virtual int compute_fd_item_set() override;
|
||||
virtual int compute_table_set() override;
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
int generate_access_exprs(ObIArray<ObRawExpr*>& access_exprs) const;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
@ -56,10 +56,10 @@ public:
|
||||
{
|
||||
return table_id_;
|
||||
}
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
private:
|
||||
uint64_t table_id_;
|
||||
|
||||
@ -33,7 +33,7 @@ public:
|
||||
virtual ~ObLogGranuleIterator()
|
||||
{}
|
||||
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
|
||||
@ -35,8 +35,8 @@ public:
|
||||
{}
|
||||
|
||||
// const char* get_name() const;
|
||||
virtual int32_t get_explain_name_length() const;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos);
|
||||
virtual int32_t get_explain_name_length() const override;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos) override;
|
||||
// Get the 'group-by' expressions
|
||||
inline common::ObIArray<ObRawExpr*>& get_group_by_exprs()
|
||||
{
|
||||
@ -56,7 +56,7 @@ public:
|
||||
{
|
||||
return rollup_exprs_.count() > 0;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
inline void set_hash_type()
|
||||
{
|
||||
algo_ = HASH_AGGREGATE;
|
||||
@ -83,7 +83,7 @@ public:
|
||||
// @brief SET the ROLLUP COLUMNS
|
||||
int set_rollup_exprs(const common::ObIArray<ObRawExpr*>& rollup_exprs);
|
||||
int set_aggr_exprs(const common::ObIArray<ObAggFunRawExpr*>& aggr_exprs);
|
||||
ObSelectLogPlan* get_plan()
|
||||
ObSelectLogPlan* get_plan() override
|
||||
{
|
||||
return static_cast<ObSelectLogPlan*>(my_plan_);
|
||||
}
|
||||
@ -97,11 +97,11 @@ public:
|
||||
common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& group_push_down_replaced_exprs);
|
||||
int should_push_down_group_by(AllocExchContext& ctx, ObIArray<ObRawExpr*>& distinct_exprs, bool& should_push_groupby,
|
||||
bool& should_push_distinct);
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual bool is_block_op() const override
|
||||
{
|
||||
return MERGE_AGGREGATE != get_algo();
|
||||
@ -146,7 +146,7 @@ private:
|
||||
*/
|
||||
int pull_up_aggr_exprs_analyze(
|
||||
common::ObIArray<ObRawExpr*>& aggr_exprs, common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& ctx_record_arr);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
int get_child_groupby_algorithm(const bool is_distinct, const bool can_push_down_distinct, const bool need_sort,
|
||||
const bool child_need_sort, AggregateAlgo& aggr_algo);
|
||||
@ -157,8 +157,8 @@ private:
|
||||
common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& ctx_record_arr,
|
||||
common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& push_down_arr);
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs);
|
||||
virtual int print_outline(planText& plan);
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs) override;
|
||||
virtual int print_outline(planText& plan) override;
|
||||
int is_need_print_agg_type(planText& plan_text, const ObStmtHint& stmt_hint, bool& is_need);
|
||||
int alloc_topk_if_needed();
|
||||
int allocate_topk_if_needed(ObLogicalOperator* exchange_point, const ObLogGroupBy* child_group_by,
|
||||
|
||||
@ -133,7 +133,7 @@ public:
|
||||
virtual ~ObLogInsert()
|
||||
{}
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
out = NULL;
|
||||
return common::OB_SUCCESS;
|
||||
@ -149,7 +149,7 @@ public:
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs) override;
|
||||
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
|
||||
int calc_cost();
|
||||
inline const common::ObIArray<ObRawExpr*>* get_column_convert_exprs() const
|
||||
@ -233,9 +233,9 @@ public:
|
||||
/**
|
||||
* Get the hash value of the INSERT operator
|
||||
*/
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
int generate_sharding_info(ObShardingInfo& target_sharding_info);
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
int calculate_table_location();
|
||||
|
||||
int get_join_keys(const AllocExchContext& ctx, ObIArray<ObRawExpr*>& target_keys, ObIArray<ObRawExpr*>& source_keys);
|
||||
@ -262,11 +262,11 @@ private:
|
||||
protected:
|
||||
int add_exprs_without_column_conv(
|
||||
const common::ObIArray<ObRawExpr*>& src_exprs, common::ObIArray<ObRawExpr*>& dst_exprs);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int need_multi_table_dml(AllocExchContext& ctx, ObShardingInfo& sharding_info, bool& is_needed) override;
|
||||
bool is_table_update_part_key() const;
|
||||
bool is_table_insert_sequence_part_key() const;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
|
||||
protected:
|
||||
bool is_replace_;
|
||||
|
||||
@ -37,12 +37,12 @@ public:
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int extract_value_exprs();
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int extract_value_exprs() override;
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*>>& to_replace_exprs) override;
|
||||
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
const common::ObIArray<RawExprArray>& get_multi_value_exprs() const
|
||||
{
|
||||
return multi_value_exprs_;
|
||||
@ -103,7 +103,7 @@ public:
|
||||
int remove_const_expr(const common::ObIArray<ObRawExpr*>& old_exprs, common::ObIArray<ObRawExpr*>& new_exprs) const;
|
||||
|
||||
protected:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int need_multi_table_dml(AllocExchContext& ctx, ObShardingInfo& sharding_info, bool& is_needed) override;
|
||||
int is_insert_table_id(uint64_t table_id, bool& is_true) const;
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ public:
|
||||
{
|
||||
return get_child(second_child);
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int gen_filters();
|
||||
int gen_output_columns();
|
||||
/**
|
||||
@ -184,7 +184,7 @@ public:
|
||||
|
||||
int update_weak_part_exprs(AllocExchContext* ctx);
|
||||
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx);
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
//@brief Set all the join predicates
|
||||
int set_join_conditions(const common::ObIArray<ObRawExpr*>& conditions)
|
||||
{
|
||||
@ -225,7 +225,7 @@ public:
|
||||
return right_expected_ordering_;
|
||||
}
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs);
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs) override;
|
||||
const common::ObIArray<ObOrderDirection>& get_merge_directions() const
|
||||
{
|
||||
return merge_directions_;
|
||||
@ -238,15 +238,15 @@ public:
|
||||
/**
|
||||
* Get the operator's hash value
|
||||
*/
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
|
||||
// const char* get_name() const;
|
||||
virtual int32_t get_explain_name_length() const;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos);
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int32_t get_explain_name_length() const override;
|
||||
virtual int get_explain_name_internal(char* buf, const int64_t buf_len, int64_t& pos) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int re_calc_cost();
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int re_calc_cost() override;
|
||||
virtual int transmit_op_ordering() override;
|
||||
/*
|
||||
* IN right_child_sharding_info the join's right child sharding info
|
||||
* IN right_keys the right join equal condition
|
||||
@ -255,7 +255,7 @@ public:
|
||||
int bloom_filter_partition_type(
|
||||
const ObShardingInfo& right_child_sharding_info, ObIArray<ObRawExpr*>& right_keys, PartitionFilterType& type);
|
||||
virtual bool is_block_input(const int64_t child_idx) const override;
|
||||
virtual bool is_consume_child_1by1() const
|
||||
virtual bool is_consume_child_1by1() const override
|
||||
{
|
||||
return HASH_JOIN == join_algo_;
|
||||
}
|
||||
@ -271,7 +271,7 @@ public:
|
||||
return (NESTED_LOOP_JOIN == join_algo_) && nl_params_.empty();
|
||||
}
|
||||
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
virtual int compute_table_set() override;
|
||||
bool is_enable_gi_partition_pruning() const
|
||||
@ -305,8 +305,8 @@ private:
|
||||
ObIArray<ObExprCalcType>& calc_types);
|
||||
int make_sort_keys(common::ObIArray<ObRawExpr*>& sort_expr, common::ObIArray<OrderItem>& directions);
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_outline(planText& plan);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int print_outline(planText& plan) override;
|
||||
int print_material_nl(planText& plan_text, JoinTreeType join_tree_type, bool is_need_print);
|
||||
int print_use_join(planText& plan_text, JoinTreeType join_tree_type, bool is_need_print);
|
||||
int print_pq_distribute(planText& plan_text, JoinTreeType join_tree_type, bool is_need_print);
|
||||
|
||||
@ -90,15 +90,15 @@ public:
|
||||
virtual int est_cost() override;
|
||||
virtual int allocate_granule_pre(AllocGIContext &ctx);
|
||||
virtual int allocate_granule_post(AllocGIContext &ctx);
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx);
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
void set_fetch_with_ties(bool is_fetch_with_ties)
|
||||
{
|
||||
is_fetch_with_ties_ = is_fetch_with_ties;
|
||||
|
||||
@ -25,8 +25,8 @@ public:
|
||||
ObLogLink(ObLogPlan& plan);
|
||||
virtual ~ObLogLink()
|
||||
{}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int generate_link_sql_pre(GenLinkStmtContext& link_ctx) override;
|
||||
|
||||
@ -23,7 +23,7 @@ public:
|
||||
{}
|
||||
virtual ~ObLogMaterial()
|
||||
{}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
return clone(out);
|
||||
}
|
||||
|
||||
@ -81,16 +81,16 @@ public:
|
||||
}
|
||||
int add_delete_exprs_to_ctx(ObAllocExprContext& ctx);
|
||||
int add_all_table_assignments_to_ctx(ObAllocExprContext& ctx);
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
const char* get_name() const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
const char* get_name() const override;
|
||||
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
int add_merge_exprs_to_ctx(ObAllocExprContext& ctx, const ObIArray<ObRawExpr*>& exprs);
|
||||
int classify_merge_subquery_expr(const ObIArray<ObRawExpr*>& exprs, ObIArray<ObRawExpr*>& subquery_exprs,
|
||||
ObIArray<ObRawExpr*>& non_subquery_exprs);
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
int add_all_source_table_columns_to_ctx(ObAllocExprContext& ctx);
|
||||
DISALLOW_COPY_AND_ASSIGN(ObLogMerge);
|
||||
|
||||
@ -23,13 +23,13 @@ public:
|
||||
ObLogMonitoringDump(ObLogPlan& plan) : ObLogicalOperator(plan), flags_(0), dst_op_line_id_(0)
|
||||
{}
|
||||
virtual ~ObLogMonitoringDump() = default;
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int compute_op_ordering() override;
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est);
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int print_outline(planText& plan_text) override;
|
||||
int print_tracing(planText& plan_text);
|
||||
inline void set_flags(uint64_t flags)
|
||||
|
||||
@ -99,8 +99,8 @@ public:
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
|
||||
private:
|
||||
ObItemType into_type_;
|
||||
|
||||
@ -25,9 +25,9 @@ public:
|
||||
{}
|
||||
virtual ~ObLogSequence()
|
||||
{}
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
const common::ObIArray<uint64_t>& get_sequence_ids() const
|
||||
{
|
||||
|
||||
@ -44,7 +44,7 @@ public:
|
||||
ObSelectLogPlan* get_right_plan() const;
|
||||
ObSelectStmt* get_left_stmt() const;
|
||||
ObSelectStmt* get_right_stmt() const;
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
inline void assign_set_distinct(const bool is_distinct)
|
||||
{
|
||||
is_distinct_ = is_distinct;
|
||||
@ -69,7 +69,7 @@ public:
|
||||
{
|
||||
return is_distinct_;
|
||||
}
|
||||
virtual bool is_consume_child_1by1() const
|
||||
virtual bool is_consume_child_1by1() const override
|
||||
{
|
||||
return ObSelectStmt::UNION == set_op_ && (HASH_SET == set_algo_ || !is_distinct_);
|
||||
}
|
||||
@ -81,10 +81,10 @@ public:
|
||||
{
|
||||
return set_op_;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int calculate_sharding_info(
|
||||
ObIArray<ObRawExpr*>& left_keys, ObIArray<ObRawExpr*>& right_keys, ObShardingInfo& output_sharding);
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx);
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
int get_set_child_exprs(common::ObIArray<ObRawExpr*>& left_keys, common::ObIArray<ObRawExpr*>& right_keys);
|
||||
int get_calc_types(common::ObIArray<ObExprCalcType>& calc_types);
|
||||
const common::ObIArray<ObOrderDirection>& get_set_directions() const
|
||||
@ -112,7 +112,7 @@ public:
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
int get_children_cost_info(ObIArray<ObBasicCostInfo>& children_cost_info);
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
int set_left_expected_ordering(const common::ObIArray<OrderItem>& left_expected_ordering);
|
||||
|
||||
int set_right_expected_ordering(const common::ObIArray<OrderItem>& right_expected_ordering);
|
||||
@ -128,7 +128,7 @@ public:
|
||||
|
||||
int set_search_ordering(const common::ObIArray<OrderItem>& search_ordering);
|
||||
int set_cycle_items(const common::ObIArray<ColumnItem>& cycle_items);
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
const common::ObIArray<OrderItem>& get_search_ordering()
|
||||
{
|
||||
return search_ordering_;
|
||||
|
||||
@ -100,7 +100,7 @@ public:
|
||||
{
|
||||
return topk_offset_count_;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
// @brief Set the sorting columns
|
||||
int set_sort_keys(const common::ObIArray<OrderItem>& order_keys);
|
||||
int check_prefix_sort();
|
||||
@ -112,9 +112,9 @@ public:
|
||||
int allocate_exchange(AllocExchContext* ctx, ObExchangeInfo& exch_info) override;
|
||||
int push_down_sort(ObLogicalOperator* consumer_exc);
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual const char* get_name() const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual const char* get_name() const override;
|
||||
int set_topk_params(
|
||||
ObRawExpr* limit_count, ObRawExpr* limit_offset, int64_t minimum_row_cuont, int64_t topk_precision);
|
||||
inline int64_t get_minimum_row_count() const
|
||||
@ -125,21 +125,21 @@ public:
|
||||
{
|
||||
return topk_precision_;
|
||||
}
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual bool is_block_op() const override
|
||||
{
|
||||
return !is_prefix_sort();
|
||||
}
|
||||
virtual int compute_op_ordering() override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
virtual int generate_link_sql_pre(GenLinkStmtContext& link_ctx) override;
|
||||
|
||||
protected:
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*>>& to_replace_exprs);
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*>>& to_replace_exprs) override;
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
private:
|
||||
common::ObSEArray<OrderItem, 8, common::ModulePageAllocator, true> sort_keys_;
|
||||
|
||||
@ -30,7 +30,7 @@ public:
|
||||
{}
|
||||
~ObLogSubPlanFilter()
|
||||
{}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
int check_if_match_partition_wise(const AllocExchContext& ctx, bool& is_partition_wise);
|
||||
int has_serial_child(bool& has_serial_child);
|
||||
@ -47,8 +47,8 @@ public:
|
||||
int gen_output_columns();
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_local_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int transmit_local_ordering() override;
|
||||
|
||||
/**
|
||||
* Get the exec params
|
||||
@ -109,12 +109,12 @@ public:
|
||||
|
||||
int get_subquery_exprs(ObIArray<ObRawExpr*>& subquery_exprs);
|
||||
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int re_calc_cost();
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int re_calc_cost() override;
|
||||
int get_children_cost_info(common::ObIArray<ObBasicCostInfo>& children_cost_info);
|
||||
uint64_t hash(uint64_t seed) const;
|
||||
uint64_t hash(uint64_t seed) const override;
|
||||
void set_update_set(bool update_set)
|
||||
{
|
||||
update_set_ = update_set;
|
||||
@ -123,8 +123,8 @@ public:
|
||||
{
|
||||
return update_set_;
|
||||
}
|
||||
int allocate_granule_pre(AllocGIContext& ctx);
|
||||
int allocate_granule_post(AllocGIContext& ctx);
|
||||
int allocate_granule_pre(AllocGIContext& ctx) override;
|
||||
int allocate_granule_post(AllocGIContext& ctx) override;
|
||||
virtual int compute_one_row_info() override;
|
||||
|
||||
protected:
|
||||
|
||||
@ -27,13 +27,13 @@ public:
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
int allocate_expr_post(ObAllocExprContext& ctx);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
int update_weak_part_exprs(AllocExchContext* ctx);
|
||||
int gen_filters();
|
||||
int gen_output_columns();
|
||||
int set_properties();
|
||||
int set_properties() override;
|
||||
void set_subquery_id(uint64_t subquery_id)
|
||||
{
|
||||
subquery_id_ = subquery_id;
|
||||
@ -54,16 +54,16 @@ public:
|
||||
{
|
||||
return access_exprs_;
|
||||
}
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_local_ordering();
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int transmit_local_ordering() override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
virtual int generate_link_sql_pre(GenLinkStmtContext& link_ctx) override;
|
||||
|
||||
private:
|
||||
virtual int print_operator_for_outline(planText& plan_text);
|
||||
virtual int is_used_join_type_hint(JoinAlgo join_algo, bool& is_used);
|
||||
virtual int is_used_in_leading_hint(bool& is_used);
|
||||
virtual int print_operator_for_outline(planText& plan_text) override;
|
||||
virtual int is_used_join_type_hint(JoinAlgo join_algo, bool& is_used) override;
|
||||
virtual int is_used_in_leading_hint(bool& is_used) override;
|
||||
|
||||
private:
|
||||
uint64_t subquery_id_;
|
||||
|
||||
@ -34,15 +34,15 @@ public:
|
||||
{}
|
||||
virtual ~ObLogTableLookup()
|
||||
{}
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx);
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int compute_property(Path* path);
|
||||
virtual int compute_property(Path* path) override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int transmit_op_ordering();
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
inline void set_table_id(const uint64_t table_id)
|
||||
{
|
||||
table_id_ = table_id;
|
||||
@ -95,7 +95,7 @@ public:
|
||||
{
|
||||
return calc_part_id_expr_;
|
||||
}
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
int init_calc_part_id_expr();
|
||||
int replace_gen_column(ObRawExpr* part_expr, ObRawExpr*& new_part_expr);
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ public:
|
||||
virtual ~ObLogTableScan()
|
||||
{}
|
||||
|
||||
const char* get_name() const;
|
||||
const char* get_name() const override;
|
||||
|
||||
// not used at the moment
|
||||
TO_STRING_KV(K_(table_id), K_(index_table_id), K_(is_fake_cte_table), K_(table_name), K_(index_name));
|
||||
@ -330,7 +330,7 @@ public:
|
||||
/**
|
||||
* Copy operator and it's properties without copying its child operators
|
||||
*/
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
|
||||
/**
|
||||
* Generate the filtering expressions
|
||||
@ -351,7 +351,7 @@ public:
|
||||
* */
|
||||
virtual int allocate_granule_post(AllocGIContext& ctx) override;
|
||||
|
||||
virtual int compute_property(Path* path);
|
||||
virtual int compute_property(Path* path) override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
|
||||
int get_index_cost(int64_t column_count, bool index_back, double& cost);
|
||||
@ -360,12 +360,12 @@ public:
|
||||
/**
|
||||
* This function add all output columns from column items.
|
||||
*/
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx);
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
|
||||
/**
|
||||
* Generate hash value for the operator using given seed
|
||||
*/
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
|
||||
/**
|
||||
* Get table name
|
||||
@ -494,7 +494,7 @@ public:
|
||||
return exist_hint_;
|
||||
}
|
||||
virtual int inner_replace_generated_agg_expr(
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs);
|
||||
const common::ObIArray<std::pair<ObRawExpr*, ObRawExpr*> >& to_replace_exprs) override;
|
||||
inline common::ObIArray<bool>& get_filter_before_index_flags()
|
||||
{
|
||||
return filter_before_index_back_;
|
||||
@ -667,8 +667,8 @@ public:
|
||||
return session_id_;
|
||||
}
|
||||
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_local_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int transmit_local_ordering() override;
|
||||
bool is_need_feedback() const;
|
||||
int set_filters(const common::ObIArray<ObRawExpr*>& filters);
|
||||
int refine_query_range();
|
||||
@ -698,24 +698,24 @@ private: // member functions
|
||||
int pick_out_startup_filters();
|
||||
int filter_before_index_back_set();
|
||||
bool is_covered(ObRelIds& rel_ids);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
// virtual int print_outline(char *buf, int64_t &buf_len, int64_t &pos, bool is_oneline);
|
||||
virtual int print_outline(planText& plan_text);
|
||||
virtual int print_outline(planText& plan_text) override;
|
||||
int print_outline_data(planText& plan_text);
|
||||
int print_all_no_index(const ObIndexHint& index_hint, planText& plan_text);
|
||||
int print_single_no_index(const ObString& index_name, planText& plan_text);
|
||||
int get_index_hint(bool& is_used_hint, const ObIndexHint*& index_hint);
|
||||
int print_used_index(planText& plan_text);
|
||||
virtual int print_operator_for_outline(planText& plan_text);
|
||||
virtual int is_used_join_type_hint(JoinAlgo join_algo, bool& is_used);
|
||||
virtual int is_used_in_leading_hint(bool& is_used);
|
||||
virtual int print_operator_for_outline(planText& plan_text) override;
|
||||
virtual int is_used_join_type_hint(JoinAlgo join_algo, bool& is_used) override;
|
||||
virtual int is_used_in_leading_hint(bool& is_used) override;
|
||||
int print_no_use_late_materialization(planText& plan_text);
|
||||
int print_range_annotation(char* buf, int64_t buf_len, int64_t& pos, ExplainType type);
|
||||
int print_filter_before_indexback_annotation(char* buf, int64_t buf_len, int64_t& pos);
|
||||
int print_limit_offset_annotation(char* buf, int64_t buf_len, int64_t& pos, ExplainType type);
|
||||
int print_ranges(char* buf, int64_t buf_len, int64_t& pos, const ObIArray<ObNewRange>& ranges);
|
||||
int print_split_range_annotation(char* buf, int64_t buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int explain_index_selection_info(char* buf, int64_t& buf_len, int64_t& pos);
|
||||
virtual int explain_index_selection_info(char* buf, int64_t& buf_len, int64_t& pos) override;
|
||||
int generate_part_filter(ObRawExpr*& part_filter_expr);
|
||||
int fill_link_stmt(
|
||||
const common::ObIArray<ObRawExpr*>& select_strs, const TableItem& table_item, ObLinkStmt& link_stmt);
|
||||
|
||||
@ -24,7 +24,7 @@ class ObLogTempTableAccess : public ObLogicalOperator {
|
||||
public:
|
||||
ObLogTempTableAccess(ObLogPlan& plan);
|
||||
virtual ~ObLogTempTableAccess();
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
return clone(out);
|
||||
}
|
||||
@ -59,7 +59,7 @@ public:
|
||||
{
|
||||
return is_last_access_;
|
||||
}
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
inline common::ObString& get_table_name()
|
||||
{
|
||||
return temp_table_name_;
|
||||
@ -72,7 +72,7 @@ public:
|
||||
{
|
||||
return access_exprs_;
|
||||
}
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObLogTempTableAccess);
|
||||
|
||||
@ -25,7 +25,7 @@ public:
|
||||
ObLogTempTableInsert(ObLogPlan& plan);
|
||||
virtual ~ObLogTempTableInsert();
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
return clone(out);
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ public:
|
||||
virtual int allocate_exchange(AllocExchContext* ctx, ObExchangeInfo& exch_info) override;
|
||||
virtual int compute_op_ordering() override;
|
||||
virtual int transmit_local_ordering() override;
|
||||
virtual bool is_consume_child_1by1() const
|
||||
virtual bool is_consume_child_1by1() const override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -49,11 +49,11 @@ public:
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int allocate_exchange(AllocExchContext* ctx, bool parts_order);
|
||||
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
private:
|
||||
int64_t minimum_row_count_;
|
||||
|
||||
@ -26,9 +26,9 @@ public:
|
||||
~ObLogUnpivot()
|
||||
{}
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int allocate_expr_post(ObAllocExprContext& ctx) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
|
||||
int calc_cost();
|
||||
@ -36,7 +36,7 @@ public:
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
int gen_filters();
|
||||
int gen_output_columns();
|
||||
int set_properties();
|
||||
int set_properties() override;
|
||||
void set_subquery_id(uint64_t subquery_id)
|
||||
{
|
||||
subquery_id_ = subquery_id;
|
||||
@ -57,8 +57,8 @@ public:
|
||||
{
|
||||
return access_exprs_;
|
||||
}
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_local_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int transmit_local_ordering() override;
|
||||
|
||||
virtual int compute_op_ordering() override;
|
||||
virtual int compute_fd_item_set() override;
|
||||
|
||||
@ -33,15 +33,15 @@ public:
|
||||
return tables_assignments_;
|
||||
}
|
||||
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
int allocate_exchange_post(AllocExchContext* ctx);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
|
||||
virtual int est_cost();
|
||||
virtual int est_cost() override;
|
||||
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker);
|
||||
virtual const char* get_name() const;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
virtual const char* get_name() const override;
|
||||
void set_update_set(bool update_set)
|
||||
{
|
||||
update_set_ = update_set;
|
||||
@ -51,10 +51,10 @@ public:
|
||||
return update_set_;
|
||||
}
|
||||
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const;
|
||||
virtual int inner_append_not_produced_exprs(ObRawExprUniqueSet& raw_exprs) const override;
|
||||
|
||||
private:
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
int get_update_table(ObDMLStmt* stmt, ObColumnRefRawExpr* col_expr, uint64_t& ref_id);
|
||||
|
||||
|
||||
@ -30,12 +30,12 @@ public:
|
||||
{}
|
||||
virtual ~ObLogValues()
|
||||
{}
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx)
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override
|
||||
{
|
||||
UNUSED(ctx);
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual int copy_without_child(ObLogicalOperator*& out)
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override
|
||||
{
|
||||
out = NULL;
|
||||
return common::OB_SUCCESS;
|
||||
@ -64,7 +64,7 @@ public:
|
||||
{
|
||||
return row_store_;
|
||||
}
|
||||
uint64_t hash(uint64_t seed) const
|
||||
uint64_t hash(uint64_t seed) const override
|
||||
{
|
||||
if (NULL != explain_plan_) {
|
||||
seed = do_hash(*explain_plan_, seed);
|
||||
|
||||
@ -23,8 +23,8 @@ public:
|
||||
virtual ~ObLogWindowFunction()
|
||||
{}
|
||||
virtual int allocate_exchange_post(AllocExchContext* ctx) override;
|
||||
virtual int copy_without_child(ObLogicalOperator*& out);
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type);
|
||||
virtual int copy_without_child(ObLogicalOperator*& out) override;
|
||||
virtual int print_my_plan_annotation(char* buf, int64_t& buf_len, int64_t& pos, ExplainType type) override;
|
||||
|
||||
inline int add_window_expr(ObWinFunRawExpr* win_expr)
|
||||
{
|
||||
@ -36,12 +36,12 @@ public:
|
||||
}
|
||||
virtual int est_cost() override;
|
||||
virtual int re_est_cost(const ObLogicalOperator* parent, double need_row_count, bool& re_est) override;
|
||||
virtual int transmit_op_ordering();
|
||||
virtual int transmit_op_ordering() override;
|
||||
virtual int allocate_expr_pre(ObAllocExprContext& ctx) override;
|
||||
virtual int check_output_dep_specific(ObRawExprCheckDep& checker) override;
|
||||
int is_my_window_expr(const ObRawExpr* expr, bool& is_mine);
|
||||
virtual bool is_block_op() const override;
|
||||
virtual uint64_t hash(uint64_t seed) const;
|
||||
virtual uint64_t hash(uint64_t seed) const override;
|
||||
virtual int allocate_granule_post(AllocGIContext& ctx) override;
|
||||
virtual int allocate_granule_pre(AllocGIContext& ctx) override;
|
||||
int get_win_partition_intersect_exprs(ObIArray<ObWinFunRawExpr*>& win_exprs, ObIArray<ObRawExpr*>& win_part_exprs);
|
||||
|
||||
Reference in New Issue
Block a user