OmniSciDB
bf83d84833
|
#include "ExtensionFunctionsWhitelist.h"
#include "TableFunctions/TableFunctionsFactory.h"
#include "../Analyzer/Analyzer.h"
#include "../Shared/sqltypes.h"
#include <vector>
Go to the source code of this file.
Classes | |
class | ExtensionFunctionBindingError |
Namespaces | |
Analyzer | |
Functions | |
ExtensionFunction | bind_function (std::string name, Analyzer::ExpressionPtrVector func_args, const bool is_gpu) |
ExtensionFunction | bind_function (std::string name, Analyzer::ExpressionPtrVector func_args) |
ExtensionFunction | bind_function (const Analyzer::FunctionOper *function_oper, const bool is_gpu) |
const table_functions::TableFunction | bind_table_function (std::string name, Analyzer::ExpressionPtrVector input_args, const bool is_gpu) |
bool | is_ext_arg_type_column (const ExtArgumentType ext_arg_type) |
bool | is_ext_arg_type_array (const ExtArgumentType ext_arg_type) |
bool | is_ext_arg_type_geo (const ExtArgumentType ext_arg_type) |
bool | is_ext_arg_type_pointer (const ExtArgumentType ext_arg_type) |
bool | is_ext_arg_type_scalar (const ExtArgumentType ext_arg_type) |
ExtensionFunction bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args, | ||
const bool | is_gpu | ||
) |
Definition at line 518 of file ExtensionFunctionsBinding.cpp.
References ExtensionFunctionsWhitelist::get_ext_funcs(), and setup::name.
ExtensionFunction bind_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | func_args | ||
) |
Definition at line 492 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 528 of file ExtensionFunctionsBinding.cpp.
References bind_function(), Analyzer::FunctionOper::getArity(), Analyzer::FunctionOper::getName(), Analyzer::FunctionOper::getOwnArg(), and setup::name.
const table_functions::TableFunction bind_table_function | ( | std::string | name, |
Analyzer::ExpressionPtrVector | input_args, | ||
const bool | is_gpu | ||
) |
Definition at line 539 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 549 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 565 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_geo | ( | const ExtArgumentType | ext_arg_type | ) |
Definition at line 581 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 594 of file ExtensionFunctionsBinding.cpp.
References PBool, PDouble, PFloat, PInt16, PInt32, PInt64, and PInt8.
Referenced by CodeGenerator::codegenFunctionOperCastArgs().
bool is_ext_arg_type_scalar | ( | const ExtArgumentType | ext_arg_type | ) |