OmniSciDB
a667adc9c8
|
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 408 of file ExtensionFunctionsBinding.cpp.
References ext_arg_type_to_type_info(), logger::FATAL, generate_column_list_type(), generate_column_type(), anonymous_namespace{ExtensionFunctionsBinding.cpp}::is_valid_identifier(), LOG, anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments(), setup::name, omnisci.dtypes::T, and ExtensionFunctionsWhitelist::toString().
Referenced by bind_function(), CodeGenerator::codegenFunctionOper(), and RelAlgTranslator::translateFunction().
ExtensionFunction bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args | ||
) |
Definition at line 617 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 645 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 656 of file ExtensionFunctionsBinding.cpp.
References bind_function(), Analyzer::FunctionOper::getArity(), Analyzer::FunctionOper::getName(), Analyzer::FunctionOper::getOwnArg(), i, 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 608 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 668 of file ExtensionFunctionsBinding.cpp.
References bind_table_function(), and table_functions::TableFunctionsFactory::get_table_funcs().
bool is_ext_arg_type_array | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 677 of file ExtensionFunctionsBinding.cpp.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, and ArrayInt8.
Referenced by CodeGenerator::codegenFunctionOperCastArgs(), ExtensionFunctionsWhitelist::getLLVMDeclarations(), and anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments().
bool is_ext_arg_type_column | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 693 of file ExtensionFunctionsBinding.cpp.
References ColumnBool, ColumnDouble, ColumnFloat, ColumnInt16, ColumnInt32, ColumnInt64, and ColumnInt8.
Referenced by anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments().
bool is_ext_arg_type_column_list | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 709 of file ExtensionFunctionsBinding.cpp.
References ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListInt16, ColumnListInt32, ColumnListInt64, and ColumnListInt8.
Referenced by anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments().
bool is_ext_arg_type_geo | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 725 of file ExtensionFunctionsBinding.cpp.
References GeoLineString, GeoMultiPolygon, GeoPoint, and GeoPolygon.
Referenced by CodeGenerator::codegenFunctionOperCastArgs().
bool is_ext_arg_type_pointer | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 738 of file ExtensionFunctionsBinding.cpp.
References PBool, PDouble, PFloat, PInt16, PInt32, PInt64, and PInt8.
Referenced by CodeGenerator::codegenFunctionOperCastArgs().