OmniSciDB
a5dc49c757
|
#include <TransientStringLiteralsVisitor.h>
Public Member Functions | |
TransientStringLiteralsVisitor (StringDictionaryProxy *sdp, Executor *executor) | |
void * | visitConstant (const Analyzer::Constant *constant) const override |
void * | visitUOper (const Analyzer::UOper *uoper) const override |
void * | visitStringOper (const Analyzer::StringOper *string_oper) const override |
Public Member Functions inherited from ScalarExprVisitor< void * > | |
void * | visit (const Analyzer::Expr *expr) const |
Protected Member Functions | |
void * | defaultResult () 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 * | visitBinOper (const Analyzer::BinOper *bin_oper) const |
virtual void * | visitGeoExpr (const Analyzer::GeoExpr *geo_expr) 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 * | 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 * | visitFunctionOper (const Analyzer::FunctionOper *func_oper) 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 |
Private Attributes | |
StringDictionaryProxy * | sdp_ |
Executor * | executor_ |
bool | parent_feeds_sdp_ {false} |
Definition at line 24 of file TransientStringLiteralsVisitor.h.
|
inline |
Definition at line 26 of file TransientStringLiteralsVisitor.h.
References CHECK.
|
inlineoverrideprotectedvirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 159 of file TransientStringLiteralsVisitor.h.
Referenced by visitConstant(), visitStringOper(), and visitUOper().
|
inlineoverridevirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 31 of file TransientStringLiteralsVisitor.h.
References CHECK, defaultResult(), Analyzer::Constant::get_constval(), Analyzer::Constant::get_is_null(), Analyzer::Expr::get_type_info(), StringDictionaryProxy::getOrAddTransient(), SQLTypeInfo::is_string(), sdp_, and Datum::stringval.
|
inlineoverridevirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 89 of file TransientStringLiteralsVisitor.h.
References StringOps_Namespace::apply_string_op_to_literals(), CHECK, CHECK_EQ, CHECK_GE, defaultResult(), executor_, Analyzer::StringOper::get_kind(), Analyzer::Expr::get_type_info(), Analyzer::StringOper::getArg(), Analyzer::StringOper::getArity(), Analyzer::StringOper::getChainedStringOpExprs(), StringDictionaryProxy::getDictKey(), Analyzer::StringOper::getLiteralArgs(), Analyzer::StringOper::getLiteralsArity(), Analyzer::StringOper::getNonLiteralsArity(), StringDictionaryProxy::getOrAddTransient(), Executor::getRowSetMemoryOwner(), Executor::getStringProxyTranslationMap(), SQLTypeInfo::is_string(), parent_feeds_sdp_, sdp_, RowSetMemoryOwner::SOURCE_UNION, and ScalarExprVisitor< void * >::visit().
|
inlineoverridevirtual |
Reimplemented from ScalarExprVisitor< void * >.
Definition at line 50 of file TransientStringLiteralsVisitor.h.
References defaultResult(), executor_, Analyzer::UOper::get_operand(), Analyzer::UOper::get_optype(), Analyzer::Expr::get_type_info(), StringDictionaryProxy::getDictKey(), Executor::getRowSetMemoryOwner(), Executor::getStringProxyTranslationMap(), kCAST, parent_feeds_sdp_, sdp_, RowSetMemoryOwner::SOURCE_UNION, and ScalarExprVisitor< void * >::visit().
|
mutableprivate |
Definition at line 163 of file TransientStringLiteralsVisitor.h.
Referenced by visitStringOper(), and visitUOper().
|
mutableprivate |
Definition at line 164 of file TransientStringLiteralsVisitor.h.
Referenced by visitStringOper(), and visitUOper().
|
mutableprivate |
Definition at line 162 of file TransientStringLiteralsVisitor.h.
Referenced by visitConstant(), visitStringOper(), and visitUOper().