CUBRID Engine
latest
|
#include <parse_tree.h>
Public Attributes | |
PT_NODE * | arg_list |
FUNC_TYPE | function_type |
PT_MISC_TYPE | all_or_distinct |
const char * | generic_name |
char | hidden_column |
PT_NODE * | order_by |
PT_NODE * | percentile |
bool | is_order_dependent |
bool | is_type_checked |
int | coll_modifier |
struct { | |
PT_NODE * partition_by | |
PT_NODE * order_by | |
PT_NODE * default_value | |
PT_NODE * offset | |
PT_NODE * expanded_list | |
bool adjusted | |
bool from_last | |
bool ignore_nulls | |
bool is_analytic | |
} | analytic |
Definition at line 2256 of file parse_tree.h.
bool pt_function_info::adjusted |
Definition at line 2275 of file parse_tree.h.
Referenced by pt_adjust_analytic_sort_specs(), and pt_expand_analytic_node().
PT_MISC_TYPE pt_function_info::all_or_distinct |
Definition at line 2260 of file parse_tree.h.
Referenced by pt_find_aggregate_functions_pre(), pt_fold_const_function(), pt_init_function(), pt_is_hash_agg_eligible(), pt_limit_to_numbering_expr(), pt_make_collection_type_subquery_node(), pt_make_field_type_expr_node(), pt_make_query_show_grants(), pt_make_query_user_groups(), pt_print_function(), pt_to_aggregate_node(), pt_to_analytic_node(), qo_reduce_order_by(), qo_reduce_order_by_for(), and qo_rewrite_subqueries().
struct { ... } pt_function_info::analytic |
Referenced by pt_adjust_analytic_sort_specs(), pt_apply_function(), pt_check_analytic_function(), pt_check_cume_dist_percent_rank_order_by(), pt_check_pushable(), pt_expand_analytic_node(), pt_fix_interpolation_aggregate_function_order_by(), pt_is_aggregate_function(), pt_is_analytic_function(), pt_is_analytic_node(), pt_print_function(), pt_pushable_query_in_pos(), and pt_to_analytic_node().
PT_NODE* pt_function_info::arg_list |
Definition at line 2258 of file parse_tree.h.
Referenced by func_type::Node::apply_argument(), func_type::Node::apply_signature(), func_type::Node::get_signature(), is_local_name(), lookup_node(), meth_translate_helper(), mq_is_order_dependent_node(), mq_mark_order_dependent_nodes(), mq_rewrite_agg_names(), mq_rewrite_order_dependent_nodes(), mq_set_non_updatable_oid(), pt_apply_function(), pt_bind_names(), pt_bind_names_post(), pt_check_analytic_function(), pt_check_cume_dist_percent_rank_order_by(), pt_check_function_collation(), pt_check_group_concat_order_by(), pt_coerce_node_collation(), pt_coerce_node_collection_of_collection(), pt_eval_expr_type(), pt_eval_function_type_new(), pt_eval_function_type_old(), pt_evaluate_function(), pt_evaluate_tree_internal(), pt_expand_analytic_node(), pt_expr_to_sort_spec(), pt_find_aggregate_functions_pre(), pt_find_partition_column_count_func(), pt_fix_enumeration_comparison(), pt_fix_interpolation_aggregate_function_order_by(), pt_fold_const_function(), pt_get_collation_info_for_collection_type(), pt_get_expression_count(), pt_is_const_expr_node(), pt_is_join_expr(), pt_is_nested_expr(), pt_is_pseudo_const(), pt_limit_to_numbering_expr(), pt_make_collection_type_subquery_node(), pt_make_field_type_expr_node(), pt_make_method_call(), pt_make_query_show_grants(), pt_make_query_user_groups(), pt_make_select_count_star(), pt_print_function(), pt_query_to_set_table(), pt_resolve_analytic_references(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_spec_to_oid_attr(), pt_substitute_analytic_references(), pt_to_aggregate_node(), pt_to_analytic_final_node(), pt_to_analytic_node(), pt_to_cume_dist_percent_rank_regu_variable(), pt_to_list_key(), pt_to_merge_insert_query(), pt_to_range_key(), pt_to_rangelist_key(), pt_to_single_key(), pt_type_generic_func(), pt_wrap_collection_with_cast_op(), qo_all_some_in_selectivity(), qo_classify(), qo_construct_new_set(), qo_convert_to_range(), qo_equal_selectivity(), qo_is_oid_const(), qo_optimize_queries(), qo_range_selectivity(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_subqueries(), qo_set_value_to_range_list(), and func_type::Node::set_return_type().
int pt_function_info::coll_modifier |
Definition at line 2267 of file parse_tree.h.
PT_NODE* pt_function_info::default_value |
Definition at line 2272 of file parse_tree.h.
Referenced by pt_apply_function(), pt_expand_analytic_node(), pt_print_function(), and pt_to_analytic_node().
PT_NODE* pt_function_info::expanded_list |
Definition at line 2274 of file parse_tree.h.
Referenced by pt_apply_function(), and pt_expand_analytic_node().
bool pt_function_info::from_last |
Definition at line 2276 of file parse_tree.h.
Referenced by pt_print_function(), and pt_to_analytic_node().
FUNC_TYPE pt_function_info::function_type |
Definition at line 2259 of file parse_tree.h.
Referenced by mq_rewrite_agg_names(), mq_set_non_updatable_oid(), pt_bind_names(), pt_bind_names_post(), pt_check_analytic_function(), pt_check_cume_dist_percent_rank_order_by(), pt_check_data_default(), pt_check_filter_index_expr_pre(), pt_check_function_collation(), pt_check_group_concat_order_by(), pt_check_groupbynum_post(), pt_check_pushable(), pt_coerce_node_collation(), pt_coerce_node_collection_of_collection(), pt_coerce_value_internal(), pt_eval_function_type(), pt_eval_function_type_new(), pt_eval_function_type_old(), pt_evaluate_function(), pt_evaluate_tree_internal(), pt_expand_analytic_node(), pt_find_aggregate_functions_pre(), pt_find_lck_classes(), pt_find_only_name_id(), pt_find_partition_column_count_func(), pt_fix_enumeration_comparison(), pt_fix_interpolation_aggregate_function_order_by(), pt_fold_const_function(), pt_fold_constants_post(), pt_fold_constants_pre(), pt_function_is_allowed_as_function_index(), pt_get_collation_info_for_collection_type(), pt_init_function(), pt_is_aggregate_function(), pt_is_expr_wrapped_function(), pt_is_function_index_expr(), pt_is_hash_agg_eligible(), pt_is_pseudo_const(), pt_lambda_node(), pt_lambda_with_arg(), pt_limit_to_numbering_expr(), pt_make_collection_type_subquery_node(), pt_make_field_type_expr_node(), pt_make_query_show_grants(), pt_make_query_user_groups(), pt_make_select_count_star(), pt_numbering_set_continue_post(), pt_print_function(), pt_pushable_query_in_pos(), pt_query_to_set_table(), pt_semantic_check_local(), pt_spec_to_oid_attr(), pt_to_aggregate_node(), pt_to_analytic_node(), pt_to_list_key(), pt_to_merge_insert_query(), pt_to_range_key(), pt_to_rangelist_key(), pt_to_single_key(), pt_to_sort_list(), pt_type_generic_func(), pt_upd_domain_info(), pt_wrap_collection_with_cast_op(), qo_construct_new_set(), qo_is_oid_const(), qo_optimize_queries(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_hidden_col_as_derived(), and qo_rewrite_subqueries().
const char* pt_function_info::generic_name |
Definition at line 2261 of file parse_tree.h.
Referenced by pt_bind_names(), pt_function_name_is_spec_attr(), pt_make_method_call(), pt_print_function(), pt_semantic_check_local(), and pt_type_generic_func().
char pt_function_info::hidden_column |
Definition at line 2262 of file parse_tree.h.
Referenced by pt_make_function(), pt_spec_to_oid_attr(), and pt_to_sort_list().
bool pt_function_info::ignore_nulls |
Definition at line 2277 of file parse_tree.h.
Referenced by pt_print_function(), and pt_to_analytic_node().
bool pt_function_info::is_analytic |
Definition at line 2278 of file parse_tree.h.
Referenced by pt_apply_function(), pt_check_analytic_function(), pt_check_cume_dist_percent_rank_order_by(), pt_check_pushable(), pt_fix_interpolation_aggregate_function_order_by(), pt_is_aggregate_function(), pt_is_analytic_function(), pt_is_analytic_node(), pt_print_function(), and pt_pushable_query_in_pos().
bool pt_function_info::is_order_dependent |
Definition at line 2265 of file parse_tree.h.
bool pt_function_info::is_type_checked |
Definition at line 2266 of file parse_tree.h.
Referenced by pt_eval_function_type_old(), and pt_lambda_node().
PT_NODE* pt_function_info::offset |
Definition at line 2273 of file parse_tree.h.
Referenced by pt_apply_function(), pt_expand_analytic_node(), pt_print_function(), and pt_to_analytic_node().
PT_NODE* pt_function_info::order_by |
Definition at line 2263 of file parse_tree.h.
Referenced by pt_adjust_analytic_sort_specs(), pt_apply_function(), pt_check_analytic_function(), pt_check_cume_dist_percent_rank_order_by(), pt_check_group_concat_order_by(), pt_expand_analytic_node(), pt_fix_interpolation_aggregate_function_order_by(), pt_make_collection_type_subquery_node(), pt_make_field_type_expr_node(), pt_make_query_show_grants(), pt_print_function(), pt_to_aggregate_node(), pt_to_analytic_node(), and pt_to_cume_dist_percent_rank_regu_variable().
PT_NODE* pt_function_info::partition_by |
Definition at line 2270 of file parse_tree.h.
Referenced by pt_adjust_analytic_sort_specs(), pt_apply_function(), pt_check_analytic_function(), pt_expand_analytic_node(), pt_print_function(), and pt_to_analytic_node().
PT_NODE* pt_function_info::percentile |
Definition at line 2264 of file parse_tree.h.
Referenced by pt_apply_function(), pt_expand_analytic_node(), pt_print_function(), pt_to_aggregate_node(), and pt_to_analytic_node().