OmniSciDB
c0231cc57d
|
#include <RelAlgDag.h>
Public Member Functions | |
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 | |
const boost::variant< int64_t, double, std::string, bool, void * > | literal_ |
const SQLTypes | type_ |
const SQLTypes | target_type_ |
const unsigned | scale_ |
const unsigned | precision_ |
const unsigned | target_scale_ |
const unsigned | target_precision_ |
Additional Inherited Members | |
![]() | |
std::optional< size_t > | hash_ |
Definition at line 93 of file RelAlgDag.h.
|
inline |
Definition at line 95 of file RelAlgDag.h.
References CHECK, is_datetime(), kBIGINT, kDECIMAL, kINT, kINTERVAL_DAY_TIME, and kINTERVAL_YEAR_MONTH.
Referenced by toHash().
|
inline |
Definition at line 114 of file RelAlgDag.h.
References CHECK_EQ, and kDOUBLE.
|
inline |
Definition at line 131 of file RelAlgDag.h.
References CHECK_EQ, and kTEXT.
|
inline |
Definition at line 148 of file RelAlgDag.h.
References CHECK_EQ, and kBOOLEAN.
|
inline |
Definition at line 165 of file RelAlgDag.h.
|
inline |
Definition at line 216 of file RelAlgDag.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 175 of file RelAlgDag.h.
References CHECK, and literal_.
|
inlineoverridevirtual |
Implements Rex.
Definition at line 202 of file RelAlgDag.h.
References Rex::hash_, literal_, precision_, RexLiteral(), scale_, target_precision_, target_scale_, target_type_, and type_.
|
inlineoverridevirtual |
Implements Rex.
Definition at line 193 of file RelAlgDag.h.
References literal_, precision_, scale_, target_precision_, target_scale_, target_type_, and type_.
|
private |
Definition at line 221 of file RelAlgDag.h.
Referenced by getVal(), toHash(), and toString().
|
private |
Definition at line 225 of file RelAlgDag.h.
Referenced by getPrecision(), toHash(), and toString().
|
private |
Definition at line 224 of file RelAlgDag.h.
Referenced by getScale(), toHash(), and toString().
|
private |
Definition at line 227 of file RelAlgDag.h.
Referenced by getTargetPrecision(), toHash(), and toString().
|
private |
Definition at line 226 of file RelAlgDag.h.
Referenced by getTargetScale(), toHash(), and toString().
|
private |
Definition at line 223 of file RelAlgDag.h.
Referenced by getTargetType(), toHash(), and toString().
|
private |
Definition at line 222 of file RelAlgDag.h.
Referenced by getType(), toHash(), and toString().