OmniSciDB
a5dc49c757
|
#include <Analyzer.h>
Public Member Functions | |
Expr (SQLTypes t, bool notnull) | |
Expr (SQLTypes t, int d, bool notnull) | |
Expr (SQLTypes t, int d, int s, bool notnull) | |
Expr (const SQLTypeInfo &ti, bool has_agg=false) | |
virtual | ~Expr () |
std::shared_ptr< Analyzer::Expr > | get_shared_ptr () |
const SQLTypeInfo & | get_type_info () const |
void | set_type_info (const SQLTypeInfo &ti) |
bool | get_contains_agg () const |
void | set_contains_agg (bool a) |
virtual std::shared_ptr < Analyzer::Expr > | add_cast (const SQLTypeInfo &new_type_info) |
virtual void | check_group_by (const std::list< std::shared_ptr< Analyzer::Expr >> &groupby) const |
virtual std::shared_ptr < Analyzer::Expr > | deep_copy () const =0 |
virtual std::shared_ptr < Analyzer::Expr > | normalize_simple_predicate (int &rte_idx) const |
virtual void | group_predicates (std::list< const Expr * > &scan_predicates, std::list< const Expr * > &join_predicates, std::list< const Expr * > &const_predicates) const |
virtual void | collect_rte_idx (std::set< int > &rte_idx_set) const |
virtual void | collect_column_var (std::set< const ColumnVar *, bool(*)(const ColumnVar *, const ColumnVar *)> &colvar_set, bool include_agg) const |
virtual size_t | get_num_column_vars (const bool include_agg) const |
virtual std::shared_ptr < Analyzer::Expr > | rewrite_with_targetlist (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const |
virtual std::shared_ptr < Analyzer::Expr > | rewrite_with_child_targetlist (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const |
virtual std::shared_ptr < Analyzer::Expr > | rewrite_agg_to_var (const std::vector< std::shared_ptr< TargetEntry >> &tlist) const |
virtual bool | operator== (const Expr &rhs) const =0 |
virtual std::string | toString () const =0 |
virtual void | print () const |
virtual void | add_unique (std::list< const Expr * > &expr_list) const |
virtual void | find_expr (std::function< bool(const Expr *)> f, std::list< const Expr * > &expr_list) const |
std::shared_ptr< Analyzer::Expr > | decompress () |
virtual void | get_domain (DomainSet &domain_set) const |
Protected Attributes | |
SQLTypeInfo | type_info |
bool | contains_agg |
Definition at line 68 of file Analyzer.h.
|
inline |
Definition at line 70 of file Analyzer.h.
|
inline |
Definition at line 71 of file Analyzer.h.
|
inline |
Definition at line 73 of file Analyzer.h.
|
inline |
Definition at line 75 of file Analyzer.h.
|
inlinevirtual |
Definition at line 77 of file Analyzer.h.
|
virtual |
Reimplemented in Analyzer::GeoOperator, Analyzer::GeoConstant, Analyzer::CaseExpr, Analyzer::Subquery, Analyzer::UOper, and Analyzer::Constant.
Definition at line 774 of file Analyzer.cpp.
References contains_agg, shared::StringDictKey::dict_id, SQLTypeInfo::get_compression(), get_num_column_vars(), SQLTypeInfo::get_type_name(), SQLTypeInfo::getStringDictKey(), Analyzer::anonymous_namespace{Analyzer.cpp}::has_same_dict(), SQLTypeInfo::is_castable(), SQLTypeInfo::is_number(), SQLTypeInfo::is_string(), SQLTypeInfo::is_text_encoding_dict(), SQLTypeInfo::is_time(), kCAST, kENCODING_DICT, Analyzer::anonymous_namespace{Analyzer.cpp}::make_transient_dict_type(), TRANSIENT_DICT_ID, and type_info.
Referenced by Analyzer::Constant::add_cast(), Analyzer::UOper::add_cast(), and Parser::QuerySpec::analyze_group_by().
|
virtual |
Definition at line 3248 of file Analyzer.cpp.
Referenced by find_expr(), Analyzer::UOper::find_expr(), Analyzer::BinOper::find_expr(), Analyzer::InValues::find_expr(), Analyzer::MLPredictExpr::find_expr(), Analyzer::PCAProjectExpr::find_expr(), Analyzer::CharLengthExpr::find_expr(), Analyzer::KeyForStringExpr::find_expr(), Analyzer::SampleRatioExpr::find_expr(), Analyzer::CardinalityExpr::find_expr(), Analyzer::LikeExpr::find_expr(), Analyzer::RegexpExpr::find_expr(), Analyzer::WidthBucketExpr::find_expr(), Analyzer::LikelihoodExpr::find_expr(), Analyzer::AggExpr::find_expr(), Analyzer::CaseExpr::find_expr(), Analyzer::ExtractExpr::find_expr(), Analyzer::DateaddExpr::find_expr(), Analyzer::DatediffExpr::find_expr(), Analyzer::DatetruncExpr::find_expr(), Analyzer::StringOper::find_expr(), Analyzer::FunctionOper::find_expr(), and Analyzer::CaseExpr::get_domain().
|
inlinevirtual |
Reimplemented in Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::BinOper, Analyzer::UOper, Analyzer::Var, and Analyzer::ColumnVar.
Definition at line 84 of file Analyzer.h.
|
inlinevirtual |
Reimplemented in Analyzer::GeoOperator, Analyzer::ArrayExpr, Analyzer::FunctionOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::RangeOper, Analyzer::BinOper, Analyzer::UOper, and Analyzer::ColumnVar.
Definition at line 117 of file Analyzer.h.
Referenced by get_num_column_vars().
|
inlinevirtual |
Reimplemented in Analyzer::GeoOperator, Analyzer::ArrayExpr, Analyzer::FunctionOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::RangeOper, Analyzer::BinOper, Analyzer::UOper, and Analyzer::ExpressionTuple.
Definition at line 110 of file Analyzer.h.
Referenced by translate_bounding_box_intersect_with_reordering().
std::shared_ptr< Analyzer::Expr > Analyzer::Expr::decompress | ( | ) |
Definition at line 749 of file Analyzer.cpp.
References contains_agg, SQLTypeInfo::get_compression(), SQLTypeInfo::get_dimension(), SQLTypeInfo::get_notnull(), SQLTypeInfo::get_scale(), SQLTypeInfo::get_subtype(), SQLTypeInfo::get_type(), kCAST, kENCODING_NONE, and type_info.
|
pure virtual |
Implemented in Analyzer::GeoTransformOperator, Analyzer::GeoOperator, Analyzer::GeoConstant, Analyzer::GeoBinOper, Analyzer::GeoUOper, Analyzer::ArrayExpr, Analyzer::WindowFunction, Analyzer::WindowFrame, Analyzer::OffsetInFragment, Analyzer::FunctionOperWithCustomTypeHandling, Analyzer::FunctionOper, Analyzer::HashStringOper, Analyzer::LevenshteinDistanceStringOper, Analyzer::JarowinklerSimilarityStringOper, Analyzer::PositionStringOper, Analyzer::TryStringCastOper, Analyzer::UrlDecodeStringOper, Analyzer::UrlEncodeStringOper, Analyzer::Base64DecodeStringOper, Analyzer::Base64EncodeStringOper, Analyzer::JsonValueStringOper, Analyzer::RegexpCountStringOper, Analyzer::RegexpSubstrStringOper, Analyzer::RegexpReplaceStringOper, Analyzer::SplitPartStringOper, Analyzer::ReplaceStringOper, Analyzer::OverlayStringOper, Analyzer::SubstringStringOper, Analyzer::TrimStringOper, Analyzer::PadStringOper, Analyzer::ConcatStringOper, Analyzer::RepeatStringOper, Analyzer::ReverseStringOper, Analyzer::InitCapStringOper, Analyzer::UpperStringOper, Analyzer::LowerStringOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InIntegerSet, Analyzer::InValues, Analyzer::Subquery, Analyzer::RangeOper, Analyzer::BinOper, Analyzer::UOper, Analyzer::Constant, Analyzer::Var, Analyzer::ExpressionTuple, Analyzer::ColumnVar, and Analyzer::Estimator.
Referenced by QueryRewriter::generateCaseForDomainValues(), Analyzer::WidthBucketExpr::get_bound_val(), rewrite_agg_to_var(), rewrite_with_child_targetlist(), rewrite_with_targetlist(), and DeepCopyVisitor::visitGeoExpr().
|
inlinevirtual |
Reimplemented in Analyzer::FunctionOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::BinOper, and Analyzer::UOper.
Definition at line 163 of file Analyzer.h.
References add_unique(), and f().
Referenced by anonymous_namespace{LogicalIR.cpp}::contains_unsafe_division(), and anonymous_namespace{RowFunctionManager.h}::find_function_oper().
|
inline |
Definition at line 81 of file Analyzer.h.
References contains_agg.
Referenced by anonymous_namespace{CompareIR.cpp}::lower_bw_eq(), DeepCopyVisitor::visitBinOper(), anonymous_namespace{ExpressionRewrite.cpp}::RecursiveOrToInVisitor::visitBinOper(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitBinOper(), DeepCopyVisitor::visitCaseExpr(), DeepCopyVisitor::visitDatetruncExpr(), DeepCopyVisitor::visitExtractExpr(), DeepCopyVisitor::visitUOper(), and anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitUOper().
|
inlinevirtual |
Reimplemented in Analyzer::CaseExpr.
Definition at line 177 of file Analyzer.h.
|
virtual |
Definition at line 58 of file Analyzer.cpp.
References collect_column_var(), and Analyzer::ColumnVar::colvar_comp().
Referenced by add_cast(), and TextEncodingCastCountVisitor::visitUOper().
|
inline |
Definition at line 78 of file Analyzer.h.
|
inline |
Definition at line 79 of file Analyzer.h.
References type_info.
Referenced by Analyzer::GeoConstant::add_cast(), Analyzer::GeoOperator::add_cast(), Parser::ArrayLiteral::analyze(), spatial_type::AreaPerimeter::AreaPerimeter(), CodeGenerator::beginArgsNullcheck(), anonymous_namespace{ExtensionsIR.cpp}::call_requires_custom_type_handling(), Executor::canSkipFragmentForFpQual(), spatial_type::Centroid::Centroid(), Analyzer::StringOper::check_operand_types(), anonymous_namespace{IRCodegen.cpp}::check_valid_join_qual(), CodeGenerator::checkExpressionRanges(), spatial_type::Transform::codegen(), spatial_type::PointAccessors::codegen(), spatial_type::PointConstructor::codegen(), CodeGenerator::codegen(), GroupByAndAggregate::codegenAggArg(), GroupByAndAggregate::codegenApproxQuantile(), CodeGenerator::codegenArith(), CodeGenerator::codegenArrayAt(), CodeGenerator::codegenArrayExpr(), CodeGenerator::codegenCast(), CodeGenerator::codegenCmp(), CodeGenerator::codegenCmpDecimalConst(), CodeGenerator::codegenColVar(), GroupByAndAggregate::codegenCountDistinct(), CodeGenerator::codegenDeciDiv(), CodeGenerator::codegenDictLike(), CodeGenerator::codegenDictRegexp(), CodeGenerator::codegenFixedLengthColVar(), CodeGenerator::codegenFixedLengthColVarInWindow(), CodeGenerator::codegenFpArith(), Executor::codegenFrameBoundExpr(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenFunctionOperCastArgs(), CodeGenerator::codegenFunctionOperNullArg(), CodeGenerator::codegenFunctionOperWithCustomTypeHandling(), CodeGenerator::codegenGeoBinOper(), CodeGenerator::codegenGeoColumnVar(), CodeGenerator::codegenGeoUOper(), CodeGenerator::codegenHoistedConstants(), CodeGenerator::codegenIntArith(), CodeGenerator::codegenIntConst(), spatial_type::NPoints::codegenLoads(), spatial_type::NRings::codegenLoads(), spatial_type::PointConstructor::codegenLoads(), spatial_type::NumGeometries::codegenLoads(), CodeGenerator::codegenLogical(), CodeGenerator::codegenLogicalShortCircuit(), GroupByAndAggregate::codegenMode(), CodeGenerator::codegenOuterJoinNullPlaceholder(), CodeGenerator::codegenPerRowStringOper(), CodeGenerator::codegenPseudoStringOper(), CodeGenerator::codegenQualifierCmp(), PerfectJoinHashTable::codegenSlot(), CodeGenerator::codegenStringFetchAndEncode(), CodeGenerator::codegenUMinus(), ScalarCodeGenerator::compile(), CodeGenerator::createInValuesBitmap(), Analyzer::InIntegerSet::deep_copy(), Analyzer::StringOper::deep_copy(), spatial_type::Distance::Distance(), CodeGenerator::endArgsNullcheck(), Parser::anonymous_namespace{ParserNode.cpp}::expr_is_null(), anonymous_namespace{ExtensionsIR.cpp}::ext_func_call_requires_nullcheck(), PerfectJoinHashTable::genChunkKey(), anonymous_namespace{WindowFunctionIR.cpp}::get_adjusted_window_type_info(), anonymous_namespace{GroupByAndAggregate.cpp}::get_agg_count(), get_agg_type(), anonymous_namespace{ColumnIR.cpp}::get_col_bit_width(), anonymous_namespace{ColumnIR.cpp}::get_col_decoder(), anonymous_namespace{FromTableReordering.cpp}::get_join_qual_cost(), anonymous_namespace{RelAlgExecutor.cpp}::get_logical_type_for_expr(), target_info::get_target_info_impl(), PerfectJoinHashTable::getAlternativeCacheKey(), RowFunctionManager::getDictDbId(), RowFunctionManager::getDictId(), getExpressionRange(), PerfectJoinHashTable::getHashJoinArgs(), getLeafColumnRange(), spatial_type::PointConstructor::getNullCheckCodegen(), CgenState::getOrAddLiteral(), HashJoin::getStrDictProxies(), spatial_type::Codegen::getTypeInfo(), GroupByAndAggregate::gpuCanHandleOrderEntries(), Executor::groupByColumnCodegen(), CodeGenerator::hashJoinLhs(), anonymous_namespace{GroupByAndAggregate.cpp}::init_count_distinct_descriptors(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_expr_nullable(), RangeJoinHashTable::isInnerColCompressed(), anonymous_namespace{CompareIR.cpp}::lower_bw_eq(), WindowFunctionContext::makeComparator(), ColumnFetcher::makeJoinColumn(), anonymous_namespace{DateTimePlusRewrite.cpp}::match_const_integer(), anonymous_namespace{WindowExpressionRewrite.cpp}::matches_gt_bigint_zero(), CodeGenerator::needCastForHashJoinLhs(), HashJoin::normalizeColumnPair(), Analyzer::Constant::operator==(), Analyzer::FunctionOper::operator==(), Analyzer::FunctionOperWithCustomTypeHandling::operator==(), Analyzer::GeoConstant::operator==(), QueryMemoryDescriptor::pick_target_compact_width(), spatial_type::PointConstructor::PointConstructor(), pre_translate_string_ops(), anonymous_namespace{DateTimePlusRewrite.cpp}::remove_cast_to_date(), remove_cast_to_int(), Analyzer::StringOper::requiresPerRowTranslation(), Analyzer::ColumnVar::rewrite_agg_to_var(), Analyzer::Var::rewrite_agg_to_var(), Analyzer::AggExpr::rewrite_agg_to_var(), Analyzer::ColumnVar::rewrite_with_child_targetlist(), anonymous_namespace{LogicalIR.cpp}::should_defer_eval(), Analyzer::BinOper::simple_predicate_has_simple_cast(), Analyzer::ColumnVar::toString(), spatial_type::Transform::Transform(), translate_dict_strings(), var_ref(), DeepCopyVisitor::visitAggExpr(), DeepCopyVisitor::visitArrayOper(), anonymous_namespace{ExpressionRewrite.cpp}::ArrayElementStringLiteralEncodingVisitor::visitArrayOper(), DeepCopyVisitor::visitBinOper(), anonymous_namespace{ExpressionRewrite.cpp}::RecursiveOrToInVisitor::visitBinOper(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitBinOper(), DeepCopyVisitor::visitCaseExpr(), TransientDictIdVisitor::visitCaseExpr(), anonymous_namespace{JoinFilterPushDown.cpp}::BindFilterToOutermostVisitor::visitColumnVar(), ScalarExprToSql::visitConstant(), TransientStringLiteralsVisitor::visitConstant(), DeepCopyVisitor::visitDateaddExpr(), DeepCopyVisitor::visitDatediffExpr(), DeepCopyVisitor::visitDatetruncExpr(), DeepCopyVisitor::visitExtractExpr(), DeepCopyVisitor::visitFunctionOper(), DeepCopyVisitor::visitFunctionOperWithCustomTypeHandling(), DeepCopyVisitor::visitGeoBinOper(), DeepCopyVisitor::visitGeoUOper(), DeepCopyVisitor::visitInIntegerSet(), TransientStringLiteralsVisitor::visitStringOper(), TransientDictIdVisitor::visitStringOper(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitStringOper(), ScalarExprToSql::visitUOper(), DeepCopyVisitor::visitUOper(), TransientStringLiteralsVisitor::visitUOper(), TransientDictIdVisitor::visitUOper(), TextEncodingCastCountVisitor::visitUOper(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitUOper(), DeepCopyVisitor::visitWindowFunction(), and anonymous_namespace{WindowExpressionRewrite.cpp}::window_sum_and_count_match().
|
inlinevirtual |
Reimplemented in Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::BinOper, Analyzer::UOper, and Analyzer::ColumnVar.
Definition at line 103 of file Analyzer.h.
|
inlinevirtual |
Reimplemented in Analyzer::BinOper.
Definition at line 95 of file Analyzer.h.
|
pure virtual |
Implemented in Analyzer::GeoTransformOperator, Analyzer::GeoOperator, Analyzer::GeoConstant, Analyzer::GeoBinOper, Analyzer::GeoUOper, Analyzer::ArrayExpr, Analyzer::WindowFunction, Analyzer::WindowFrame, Analyzer::OffsetInFragment, Analyzer::FunctionOperWithCustomTypeHandling, Analyzer::FunctionOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InIntegerSet, Analyzer::InValues, Analyzer::Subquery, Analyzer::RangeOper, Analyzer::BinOper, Analyzer::UOper, Analyzer::Constant, Analyzer::ExpressionTuple, Analyzer::ColumnVar, and Analyzer::Estimator.
|
inlinevirtual |
Definition at line 154 of file Analyzer.h.
References toString().
|
inlinevirtual |
Reimplemented in Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::BinOper, Analyzer::UOper, Analyzer::Var, and Analyzer::ColumnVar.
Definition at line 148 of file Analyzer.h.
References deep_copy().
|
inlinevirtual |
Reimplemented in Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::BinOper, Analyzer::UOper, Analyzer::Var, and Analyzer::ColumnVar.
Definition at line 138 of file Analyzer.h.
References deep_copy().
|
inlinevirtual |
Reimplemented in Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InValues, Analyzer::Subquery, Analyzer::BinOper, Analyzer::UOper, Analyzer::Var, and Analyzer::ColumnVar.
Definition at line 129 of file Analyzer.h.
References deep_copy().
|
inline |
Definition at line 82 of file Analyzer.h.
References anonymous_namespace{Utm.h}::a, and contains_agg.
|
inline |
Definition at line 80 of file Analyzer.h.
References type_info.
Referenced by anonymous_namespace{RelAlgExecutor.cpp}::anonymous_namespace{RelAlgExecutor.cpp}::conditionally_change_arg_to_int_type().
|
pure virtual |
Implemented in Analyzer::GeoTransformOperator, Analyzer::GeoOperator, Analyzer::GeoConstant, Analyzer::GeoBinOper, Analyzer::GeoUOper, Analyzer::ArrayExpr, Analyzer::WindowFunction, Analyzer::WindowFrame, Analyzer::OffsetInFragment, Analyzer::FunctionOper, Analyzer::StringOper, Analyzer::DatetruncExpr, Analyzer::DatediffExpr, Analyzer::DateaddExpr, Analyzer::ExtractExpr, Analyzer::CaseExpr, Analyzer::AggExpr, Analyzer::LikelihoodExpr, Analyzer::WidthBucketExpr, Analyzer::RegexpExpr, Analyzer::LikeExpr, Analyzer::CardinalityExpr, Analyzer::SampleRatioExpr, Analyzer::KeyForStringExpr, Analyzer::CharLengthExpr, Analyzer::PCAProjectExpr, Analyzer::MLPredictExpr, Analyzer::InIntegerSet, Analyzer::InValues, Analyzer::Subquery, Analyzer::RangeOper, Analyzer::BinOper, Analyzer::UOper, Analyzer::Constant, Analyzer::Var, Analyzer::ExpressionTuple, Analyzer::ColumnVar, and Analyzer::Estimator.
Referenced by CodeGenerator::codegenGeoExpr(), getExpressionRange(), operator<<(), and print().
|
protected |
Definition at line 181 of file Analyzer.h.
Referenced by add_cast(), Analyzer::Constant::add_cast(), decompress(), Analyzer::UOper::deep_copy(), Analyzer::BinOper::deep_copy(), Analyzer::CaseExpr::deep_copy(), Analyzer::ExtractExpr::deep_copy(), Analyzer::DatetruncExpr::deep_copy(), get_contains_agg(), Analyzer::BinOper::normalize_simple_predicate(), Analyzer::UOper::rewrite_agg_to_var(), Analyzer::BinOper::rewrite_agg_to_var(), Analyzer::CaseExpr::rewrite_agg_to_var(), Analyzer::ExtractExpr::rewrite_agg_to_var(), Analyzer::DatetruncExpr::rewrite_agg_to_var(), Analyzer::UOper::rewrite_with_child_targetlist(), Analyzer::BinOper::rewrite_with_child_targetlist(), Analyzer::CaseExpr::rewrite_with_child_targetlist(), Analyzer::ExtractExpr::rewrite_with_child_targetlist(), Analyzer::DatetruncExpr::rewrite_with_child_targetlist(), Analyzer::UOper::rewrite_with_targetlist(), Analyzer::BinOper::rewrite_with_targetlist(), Analyzer::CaseExpr::rewrite_with_targetlist(), Analyzer::ExtractExpr::rewrite_with_targetlist(), Analyzer::DatetruncExpr::rewrite_with_targetlist(), and set_contains_agg().
|
protected |
Definition at line 180 of file Analyzer.h.
Referenced by add_cast(), Analyzer::Constant::add_cast(), Analyzer::UOper::add_cast(), Analyzer::CaseExpr::add_cast(), Analyzer::Constant::cast_from_string(), Analyzer::Constant::cast_number(), Analyzer::Constant::cast_string(), Analyzer::Constant::cast_to_string(), Analyzer::Constant::Constant(), decompress(), Analyzer::ColumnVar::deep_copy(), Analyzer::Var::deep_copy(), Analyzer::Constant::deep_copy(), Analyzer::UOper::deep_copy(), Analyzer::BinOper::deep_copy(), Analyzer::AggExpr::deep_copy(), Analyzer::CaseExpr::deep_copy(), Analyzer::ExtractExpr::deep_copy(), Analyzer::DateaddExpr::deep_copy(), Analyzer::DatediffExpr::deep_copy(), Analyzer::DatetruncExpr::deep_copy(), Analyzer::FunctionOper::deep_copy(), Analyzer::FunctionOperWithCustomTypeHandling::deep_copy(), Analyzer::WindowFunction::deep_copy(), Analyzer::ArrayExpr::deep_copy(), Analyzer::GeoUOper::deep_copy(), Analyzer::GeoBinOper::deep_copy(), Analyzer::GeoConstant::deep_copy(), Analyzer::GeoOperator::deep_copy(), Analyzer::GeoTransformOperator::deep_copy(), Analyzer::Constant::do_cast(), Analyzer::ColumnVar::get_compression(), get_type_info(), Analyzer::ColumnVar::group_predicates(), Analyzer::GeoConstant::makePhysicalConstant(), Analyzer::BinOper::normalize_simple_predicate(), Analyzer::Constant::operator==(), Analyzer::FunctionOper::operator==(), Analyzer::FunctionOperWithCustomTypeHandling::operator==(), Analyzer::GeoConstant::operator==(), Analyzer::GeoConstant::physicalCols(), Analyzer::UOper::rewrite_agg_to_var(), Analyzer::BinOper::rewrite_agg_to_var(), Analyzer::CaseExpr::rewrite_agg_to_var(), Analyzer::ExtractExpr::rewrite_agg_to_var(), Analyzer::DateaddExpr::rewrite_agg_to_var(), Analyzer::DatediffExpr::rewrite_agg_to_var(), Analyzer::DatetruncExpr::rewrite_agg_to_var(), Analyzer::UOper::rewrite_with_child_targetlist(), Analyzer::BinOper::rewrite_with_child_targetlist(), Analyzer::AggExpr::rewrite_with_child_targetlist(), Analyzer::CaseExpr::rewrite_with_child_targetlist(), Analyzer::ExtractExpr::rewrite_with_child_targetlist(), Analyzer::DateaddExpr::rewrite_with_child_targetlist(), Analyzer::DatediffExpr::rewrite_with_child_targetlist(), Analyzer::DatetruncExpr::rewrite_with_child_targetlist(), Analyzer::UOper::rewrite_with_targetlist(), Analyzer::BinOper::rewrite_with_targetlist(), Analyzer::CaseExpr::rewrite_with_targetlist(), Analyzer::ExtractExpr::rewrite_with_targetlist(), Analyzer::DateaddExpr::rewrite_with_targetlist(), Analyzer::DatediffExpr::rewrite_with_targetlist(), Analyzer::DatetruncExpr::rewrite_with_targetlist(), Analyzer::Constant::set_null_value(), set_type_info(), Analyzer::ColumnVar::toString(), Analyzer::Constant::toString(), Analyzer::UOper::toString(), and Analyzer::Constant::~Constant().