OmniSciDB
c1a53651b2
|
#include <RelAlgDag.h>
Public Member Functions | |
RexLiteral () | |
RexLiteral (const int64_t val, const SQLTypes type, const SQLTypes target_type, const unsigned scale, const unsigned precision, const unsigned target_scale, const unsigned target_precision) | |
RexLiteral (const double val, const SQLTypes type, const SQLTypes target_type, const unsigned scale, const unsigned precision, const unsigned target_scale, const unsigned target_precision) | |
RexLiteral (const std::string &val, const SQLTypes type, const SQLTypes target_type, const unsigned scale, const unsigned precision, const unsigned target_scale, const unsigned target_precision) | |
RexLiteral (const bool val, const SQLTypes type, const SQLTypes target_type, const unsigned scale, const unsigned precision, const unsigned target_scale, const unsigned target_precision) | |
RexLiteral (const SQLTypes target_type) | |
template<class T > | |
T | getVal () const |
SQLTypes | getType () const |
SQLTypes | getTargetType () const |
unsigned | getScale () const |
unsigned | getPrecision () const |
unsigned | getTargetScale () const |
unsigned | getTargetPrecision () const |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
size_t | toHash () const override |
std::unique_ptr< RexLiteral > | deepCopy () const |
![]() | |
virtual | ~Rex () |
Private Attributes | |
boost::variant< boost::blank, int64_t, double, std::string, bool > | literal_ |
SQLTypes | type_ |
SQLTypes | target_type_ |
unsigned | scale_ |
unsigned | precision_ |
unsigned | target_scale_ |
unsigned | target_precision_ |
Friends | |
struct | RelAlgDagSerializer |
Additional Inherited Members | |
![]() | |
std::optional< size_t > | hash_ |
Definition at line 100 of file RelAlgDag.h.
|
inline |
Definition at line 103 of file RelAlgDag.h.
Referenced by toHash().
|
inline |
Definition at line 106 of file RelAlgDag.h.
References CHECK, is_datetime(), kBIGINT, kDECIMAL, kINT, kINTERVAL_DAY_TIME, and kINTERVAL_YEAR_MONTH.
|
inline |
Definition at line 125 of file RelAlgDag.h.
References CHECK_EQ, and kDOUBLE.
|
inline |
Definition at line 142 of file RelAlgDag.h.
References CHECK_EQ, and kTEXT.
|
inline |
Definition at line 159 of file RelAlgDag.h.
References CHECK_EQ, and kBOOLEAN.
|
inline |
Definition at line 176 of file RelAlgDag.h.
|
inline |
Definition at line 236 of file RelAlgDag.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 186 of file RelAlgDag.h.
References CHECK, and literal_.
|
inlineoverridevirtual |
Implements Rex.
Definition at line 213 of file RelAlgDag.h.
References Rex::hash_, literal_, precision_, RexLiteral(), scale_, heavydb.dtypes::T, target_precision_, target_scale_, target_type_, and type_.
|
inlineoverridevirtual |
Implements Rex.
Definition at line 204 of file RelAlgDag.h.
References literal_, precision_, scale_, target_precision_, target_scale_, target_type_, and type_.
|
friend |
Definition at line 249 of file RelAlgDag.h.
|
private |
Definition at line 241 of file RelAlgDag.h.
Referenced by getVal(), toHash(), and toString().
|
private |
Definition at line 245 of file RelAlgDag.h.
Referenced by getPrecision(), toHash(), and toString().
|
private |
Definition at line 244 of file RelAlgDag.h.
Referenced by getScale(), toHash(), and toString().
|
private |
Definition at line 247 of file RelAlgDag.h.
Referenced by getTargetPrecision(), toHash(), and toString().
|
private |
Definition at line 246 of file RelAlgDag.h.
Referenced by getTargetScale(), toHash(), and toString().
|
private |
Definition at line 243 of file RelAlgDag.h.
Referenced by getTargetType(), toHash(), and toString().
|
private |
Definition at line 242 of file RelAlgDag.h.
Referenced by getType(), toHash(), and toString().