Definition at line 35 of file ExtensionFunctionsBinding.cpp.
References Bool, Double, Float, GeoLineString, GeoPoint, GeoPolygon, SQLTypeInfoCore< TYPE_FACET_PACK >::get_logical_size(), SQLTypeInfoCore< TYPE_FACET_PACK >::get_type(), SQLTypeInfoCore< TYPE_FACET_PACK >::get_type_name(), Int16, Int32, Int64, Int8, is_ext_arg_type_array(), kARRAY, kBIGINT, kBOOLEAN, kDECIMAL, kDOUBLE, kFLOAT, kINT, kLINESTRING, kMULTIPOLYGON, kNULLT, kNUMERIC, kPOINT, kPOLYGON, kSMALLINT, kTINYINT, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, to_string(), and ExtensionFunctionsWhitelist::toString().
Referenced by bind_function().
61 auto stype = sig_types[sig_pos];
62 int max_pos = sig_types.size() - 1;
66 penalty_score += 1000;
73 penalty_score += 1000;
76 penalty_score += 2000;
79 penalty_score += 4000;
82 penalty_score += 8000;
85 penalty_score += 1008000;
94 penalty_score += 1000;
97 penalty_score += 2000;
100 penalty_score += 4000;
103 penalty_score += 1004000;
112 penalty_score += 1000;
115 penalty_score += 2000;
118 penalty_score += 1002000;
127 penalty_score += 1000;
130 penalty_score += 1001000;
139 penalty_score += 1000;
142 penalty_score += 2000;
150 penalty_score += 1000;
161 penalty_score += 1000;
165 penalty_score += 1000;
174 penalty_score += 1000;
177 penalty_score += 1000;
186 penalty_score += 1000;
189 penalty_score += 1000;
202 penalty_score += 1000;
209 penalty_score += 1000;
213 penalty_score += 1000;
222 penalty_score += 1000;
242 throw std::runtime_error(std::string(__FILE__) +
"#" +
std::to_string(__LINE__) +
std::string get_type_name() const
int get_logical_size() const
HOST DEVICE SQLTypes get_type() const
bool is_ext_arg_type_array(const ExtArgumentType ext_arg_type)
static std::string toString(const std::vector< ExtensionFunction > &ext_funcs, std::string tab="")