OmniSciDB
a5dc49c757
|
#include "DateTimePlusRewrite.h"
#include "Execute.h"
#include "../Analyzer/Analyzer.h"
#include "../Parser/ParserNode.h"
#include "Logger/Logger.h"
#include "DateTimeTranslator.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{DateTimePlusRewrite.cpp} | |
Functions | |
const Analyzer::Expr * | anonymous_namespace{DateTimePlusRewrite.cpp}::remove_truncate_int (const Analyzer::Expr *expr) |
bool | anonymous_namespace{DateTimePlusRewrite.cpp}::match_const_integer (const Analyzer::Expr *expr, const int64_t v) |
DatetruncField | anonymous_namespace{DateTimePlusRewrite.cpp}::get_dt_field (const Analyzer::Expr *ts, const Analyzer::Expr *interval_multiplier, const bool dt_hour) |
DatetruncField | anonymous_namespace{DateTimePlusRewrite.cpp}::get_dt_field (const Analyzer::Expr *ts, const Analyzer::Expr *off_arg) |
std::shared_ptr< Analyzer::Expr > | anonymous_namespace{DateTimePlusRewrite.cpp}::remove_cast_to_date (const Analyzer::Expr *expr) |
std::shared_ptr< Analyzer::Expr > | rewrite_to_date_trunc (const Analyzer::FunctionOper *dt_plus) |
std::shared_ptr<Analyzer::Expr> rewrite_to_date_trunc | ( | const Analyzer::FunctionOper * | dt_plus | ) |
Definition at line 161 of file DateTimePlusRewrite.cpp.
References CHECK_EQ, dtINVALID, DateTruncExpr::generate(), anonymous_namespace{DateTimePlusRewrite.cpp}::get_dt_field(), Analyzer::FunctionOper::getArg(), Analyzer::FunctionOper::getArity(), Analyzer::FunctionOper::getName(), and anonymous_namespace{DateTimePlusRewrite.cpp}::remove_cast_to_date().
Referenced by RelAlgTranslator::translateDatePlusMinus(), and RelAlgTranslator::translateFunction().