OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
FixedPtLiteral (std::string *n) | |
const std::string * | get_fixedptval () const |
std::shared_ptr< Analyzer::Expr > | analyze (const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query, TlistRefType allow_tlist_ref=TLIST_NONE) const override |
std::string | to_string () const override |
Public Member Functions inherited from Parser::Node | |
virtual | ~Node () |
Static Public Member Functions | |
static std::shared_ptr < Analyzer::Expr > | analyzeValue (const int64_t numericval, const int scale, const int precision) |
Private Attributes | |
std::unique_ptr< std::string > | fixedptval_ |
Additional Inherited Members | |
Public Types inherited from Parser::Expr | |
enum | TlistRefType { TLIST_NONE, TLIST_REF, TLIST_COPY } |
Definition at line 174 of file ParserNode.h.
|
inlineexplicit |
Definition at line 176 of file ParserNode.h.
|
overridevirtual |
Implements Parser::Literal.
Definition at line 182 of file ParserNode.cpp.
References kNUMERIC, and StringToDatum().
|
static |
Definition at line 191 of file ParserNode.cpp.
References Datum::bigintval, kNUMERIC, SQLTypeInfo::set_precision(), and SQLTypeInfo::set_scale().
Referenced by RelAlgTranslator::translateLiteral().
|
inline |
Definition at line 177 of file ParserNode.h.
References fixedptval_.
|
inlineoverridevirtual |
Implements Parser::Literal.
Definition at line 185 of file ParserNode.h.
References fixedptval_.
|
private |
Definition at line 188 of file ParserNode.h.
Referenced by get_fixedptval(), and to_string().