OmniSciDB
cde582ebc3
|
Go to the source code of this file.
Namespaces | |
anonymous_namespace{ExtensionFunctionsBinding.cpp} | |
std::tuple<T, std::vector<SQLTypeInfo> > bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args, | ||
const std::vector< T > & | ext_funcs, | ||
const std::string | processor | ||
) |
Definition at line 433 of file ExtensionFunctionsBinding.cpp.
References CHECK, CHECK_EQ, CHECK_LE, DEFAULT_ROW_MULTIPLIER_SUFFIX, ext_arg_type_to_type_info(), logger::FATAL, generate_column_list_type(), generate_column_type(), SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_type(), anonymous_namespace{ExtensionFunctionsBinding.cpp}::is_valid_identifier(), kCOLUMN_LIST, kINT, kTEXT, LOG, anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments(), setup::name, heavydb.dtypes::T, ExtensionFunctionsWhitelist::toString(), and UNREACHABLE.
Referenced by bind_function(), CodeGenerator::codegenFunctionOper(), and RelAlgTranslator::translateFunction().
ExtensionFunction bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args | ||
) |
Definition at line 709 of file ExtensionFunctionsBinding.cpp.
References ExtensionFunctionsWhitelist::get_ext_funcs(), and setup::name.
ExtensionFunction bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args, | ||
const bool | is_gpu | ||
) |
Definition at line 737 of file ExtensionFunctionsBinding.cpp.
References ExtensionFunctionsWhitelist::get_ext_funcs(), and setup::name.
ExtensionFunction bind_function | ( | const Analyzer::FunctionOper * | function_oper, |
const bool | is_gpu | ||
) |
Definition at line 748 of file ExtensionFunctionsBinding.cpp.
References bind_function(), Analyzer::FunctionOper::getArity(), Analyzer::FunctionOper::getName(), Analyzer::FunctionOper::getOwnArg(), and setup::name.
const std::tuple<table_functions::TableFunction, std::vector<SQLTypeInfo> > bind_table_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | input_args, | ||
const std::vector< table_functions::TableFunction > & | table_funcs, | ||
const bool | is_gpu | ||
) |
Definition at line 700 of file ExtensionFunctionsBinding.cpp.
References setup::name.
Referenced by bind_table_function(), and RelAlgExecutor::createTableFunctionWorkUnit().
const std::tuple<table_functions::TableFunction, std::vector<SQLTypeInfo> > bind_table_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | input_args, | ||
const bool | is_gpu | ||
) |
Definition at line 760 of file ExtensionFunctionsBinding.cpp.
References bind_table_function(), and table_functions::TableFunctionsFactory::get_table_funcs().