OmniSciDB
a5dc49c757
|
#include <GeospatialFunctionFinder.h>
Public Member Functions | |
const std::vector< const Analyzer::ColumnVar * > & | getGeoArgCvs () const |
const std::optional < GeoJoinOperandsTableKeyPair > | getJoinTableKeyPair () const |
const std::string & | getGeoFunctionName () const |
Public Member Functions inherited from ScalarExprVisitor< void * > | |
void * | visit (const Analyzer::Expr *expr) const |
Protected Member Functions | |
void * | visitGeoExpr (const Analyzer::GeoExpr *geo_expr) const override |
void * | visitFunctionOper (const Analyzer::FunctionOper *func_oper) const override |
Protected Member Functions inherited from ScalarExprVisitor< void * > | |
virtual void * | visitVar (const Analyzer::Var *) const |
virtual void * | visitColumnVar (const Analyzer::ColumnVar *) const |
virtual void * | visitColumnVarTuple (const Analyzer::ExpressionTuple *) const |
virtual void * | visitConstant (const Analyzer::Constant *) const |
virtual void * | visitUOper (const Analyzer::UOper *uoper) const |
virtual void * | visitBinOper (const Analyzer::BinOper *bin_oper) const |
virtual void * | visitInValues (const Analyzer::InValues *in_values) const |
virtual void * | visitInIntegerSet (const Analyzer::InIntegerSet *in_integer_set) const |
virtual void * | visitCharLength (const Analyzer::CharLengthExpr *char_length) const |
virtual void * | visitKeyForString (const Analyzer::KeyForStringExpr *key_for_string) const |
virtual void * | visitSampleRatio (const Analyzer::SampleRatioExpr *sample_ratio) const |
virtual void * | visitStringOper (const Analyzer::StringOper *string_oper) const |
virtual void * | visitCardinality (const Analyzer::CardinalityExpr *cardinality) const |
virtual void * | visitLikeExpr (const Analyzer::LikeExpr *like) const |
virtual void * | visitRegexpExpr (const Analyzer::RegexpExpr *regexp) const |
virtual void * | visitWidthBucket (const Analyzer::WidthBucketExpr *width_bucket_expr) const |
virtual void * | visitMLPredict (const Analyzer::MLPredictExpr *ml_predict_expr) const |
virtual void * | visitPCAProject (const Analyzer::PCAProjectExpr *pca_project_expr) const |
virtual void * | visitCaseExpr (const Analyzer::CaseExpr *case_) const |
virtual void * | visitDatetruncExpr (const Analyzer::DatetruncExpr *datetrunc) const |
virtual void * | visitExtractExpr (const Analyzer::ExtractExpr *extract) const |
virtual void * | visitFunctionOperWithCustomTypeHandling (const Analyzer::FunctionOperWithCustomTypeHandling *func_oper) const |
virtual void * | visitArrayOper (Analyzer::ArrayExpr const *array_expr) const |
virtual void * | visitGeoUOper (const Analyzer::GeoUOper *geo_expr) const |
virtual void * | visitGeoBinOper (const Analyzer::GeoBinOper *geo_expr) const |
virtual void * | visitWindowFunction (const Analyzer::WindowFunction *window_func) const |
virtual void * | visitDatediffExpr (const Analyzer::DatediffExpr *datediff) const |
virtual void * | visitDateaddExpr (const Analyzer::DateaddExpr *dateadd) const |
virtual void * | visitLikelihood (const Analyzer::LikelihoodExpr *likelihood) const |
virtual void * | visitOffsetInFragment (const Analyzer::OffsetInFragment *) const |
virtual void * | visitAggExpr (const Analyzer::AggExpr *agg) const |
virtual void * | visitRangeJoinOper (const Analyzer::RangeOper *range_oper) const |
virtual void * | aggregateResult (const void *&aggregate, const void *&next_result) const |
virtual void | visitBegin () const |
virtual void * | defaultResult () const |
Private Attributes | |
std::vector< const Analyzer::ColumnVar * > | geo_arg_cvs_ |
std::string | geo_func_name_ {""} |
Definition at line 31 of file GeospatialFunctionFinder.h.
const std::vector< const Analyzer::ColumnVar * > & GeospatialFunctionFinder::getGeoArgCvs | ( | ) | const |
Definition at line 21 of file GeospatialFunctionFinder.cpp.
References geo_arg_cvs_.
Referenced by anonymous_namespace{FromTableReordering.cpp}::get_join_qual_cost().
const std::string & GeospatialFunctionFinder::getGeoFunctionName | ( | ) | const |
Definition at line 51 of file GeospatialFunctionFinder.cpp.
References geo_func_name_.
Referenced by anonymous_namespace{FromTableReordering.cpp}::get_join_qual_cost().
const std::optional< GeoJoinOperandsTableKeyPair > GeospatialFunctionFinder::getJoinTableKeyPair | ( | ) | const |
Definition at line 27 of file GeospatialFunctionFinder.cpp.
References geo_arg_cvs_.
Referenced by anonymous_namespace{FromTableReordering.cpp}::get_join_qual_cost().
|
overrideprotectedvirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 55 of file GeospatialFunctionFinder.cpp.
References geo_arg_cvs_, geo_func_name_, Analyzer::FunctionOper::getArg(), Analyzer::FunctionOper::getArity(), and Analyzer::FunctionOper::getName().
|
overrideprotectedvirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 66 of file GeospatialFunctionFinder.cpp.
References geo_arg_cvs_, and Analyzer::GeoExpr::getChildExprs().
|
mutableprivate |
Definition at line 42 of file GeospatialFunctionFinder.h.
Referenced by getGeoArgCvs(), getJoinTableKeyPair(), visitFunctionOper(), and visitGeoExpr().
|
mutableprivate |
Definition at line 43 of file GeospatialFunctionFinder.h.
Referenced by getGeoFunctionName(), and visitFunctionOper().