28 namespace StringOps_Namespace {
68 friend std::ostream&
operator<<(std::ostream& stream,
83 const std::vector<StringOpInfo>& string_op_infos);
87 #endif // #ifndef __CUDACC__
const SQLTypeInfo & getReturnType() const
bool stringLiteralArgAtIdxExists(const size_t index) const
size_t numLiterals() const
static size_t calcNumNullLiteralArgs(const LiteralArgMap &literal_arg_map)
static bool isLiteralArgNull(const SQLTypes datum_type, const Datum &datum)
Constants for Builtin SQL Types supported by HEAVY.AI.
std::map< size_t, std::pair< SQLTypes, Datum >> LiteralArgMap
bool intLiteralArgAtIdxExists(const size_t index) const
int64_t getIntLiteral(const size_t index) const
const size_t num_null_literals_
size_t numNonVariableLiterals() const
const SQLTypeInfo return_ti_
bool hasNullLiteralArg() const
bool hasVarStringLiteral() const
const SqlStringOpKind op_kind_
const LiteralArgMap & getLiteralArgMap() const
StringOpInfo(const SqlStringOpKind op_kind, const SQLTypeInfo &return_ti, const LiteralArgMap &literal_arg_map)
std::ostream & operator<<(std::ostream &stream, const StringOpInfo &string_op_info)
const LiteralArgMap literal_arg_map_
std::string getStringLiteral(const size_t index) const
std::string toString() const
friend std::ostream & operator<<(std::ostream &stream, const StringOpInfo &string_op_info)
Common Enum definitions for SQL processing.
const SqlStringOpKind & getOpKind() const