OmniSciDB
4201147b46
|
#include <ExtensionFunctionsWhitelist.h>
Static Public Member Functions | |
static void | add (const std::string &json_func_sigs) |
static void | addUdfs (const std::string &json_func_sigs) |
static void | clearRTUdfs () |
static void | addRTUdfs (const std::string &json_func_sigs) |
static std::vector < ExtensionFunction > * | get (const std::string &name) |
static std::vector < ExtensionFunction > * | get_udf (const std::string &name) |
static std::unordered_set < std::string > | get_udfs_name (const bool is_runtime) |
static std::vector < ExtensionFunction > | get_ext_funcs (const std::string &name) |
static std::vector < ExtensionFunction > | get_ext_funcs (const std::string &name, const bool is_gpu) |
static std::vector < ExtensionFunction > | get_ext_funcs (const std::string &name, size_t arity) |
static std::vector < ExtensionFunction > | get_ext_funcs (const std::string &name, size_t arity, const SQLTypeInfo &rtype) |
static std::string | toString (const std::vector< ExtensionFunction > &ext_funcs, std::string tab="") |
static std::string | toString (const std::vector< SQLTypeInfo > &arg_types) |
static std::string | toString (const std::vector< ExtArgumentType > &sig_types) |
static std::string | toStringSQL (const std::vector< ExtArgumentType > &sig_types) |
static std::string | toString (const ExtArgumentType &sig_type) |
static std::string | toStringSQL (const ExtArgumentType &sig_type) |
static std::vector< std::string > | getLLVMDeclarations (const std::unordered_set< std::string > &udf_decls, const bool is_gpu=false) |
Static Private Member Functions | |
static void | addCommon (std::unordered_map< std::string, std::vector< ExtensionFunction >> &sigs, const std::string &json_func_sigs, const bool is_runtime) |
Static Private Attributes | |
static std::unordered_map < std::string, std::vector < ExtensionFunction > > | functions_ |
static std::unordered_map < std::string, std::vector < ExtensionFunction > > | udf_functions_ |
static std::unordered_map < std::string, std::vector < ExtensionFunction > > | rt_udf_functions_ |
Definition at line 123 of file ExtensionFunctionsWhitelist.h.
|
static |
Definition at line 766 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and functions_.
Referenced by DBHandler::initialize(), and QueryRunner::QueryRunner::QueryRunner().
|
staticprivate |
Definition at line 739 of file ExtensionFunctionsWhitelist.cpp.
References run_benchmark_import::args, CHECK, anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::deserialize_type(), anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::drop_suffix(), field(), json_str(), setup::name, and to_upper().
Referenced by add(), addRTUdfs(), and addUdfs().
|
static |
Definition at line 792 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and rt_udf_functions_.
Referenced by DBHandler::register_runtime_extension_functions().
|
static |
Definition at line 782 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and udf_functions_.
Referenced by DBHandler::initialize(), and QueryRunner::QueryRunner::QueryRunner().
|
static |
Definition at line 788 of file ExtensionFunctionsWhitelist.cpp.
References rt_udf_functions_.
Referenced by DBHandler::register_runtime_extension_functions().
|
static |
Definition at line 28 of file ExtensionFunctionsWhitelist.cpp.
References functions_, and to_upper().
|
static |
Definition at line 62 of file ExtensionFunctionsWhitelist.cpp.
References gpu_enabled::copy(), functions_, rt_udf_functions_, to_upper(), and udf_functions_.
Referenced by bind_function(), ShowFunctionsCommand::execute(), and DBHandler::get_function_details().
|
static |
Definition at line 78 of file ExtensionFunctionsWhitelist.cpp.
References functions_, rt_udf_functions_, to_upper(), and udf_functions_.
|
static |
Definition at line 98 of file ExtensionFunctionsWhitelist.cpp.
References functions_, rt_udf_functions_, to_upper(), and udf_functions_.
|
static |
Definition at line 118 of file ExtensionFunctionsWhitelist.cpp.
References ext_arg_type_to_type_info(), functions_, SQLTypeInfo::get_type(), kBOOLEAN, kTINYINT, rt_udf_functions_, to_upper(), and udf_functions_.
|
static |
Definition at line 37 of file ExtensionFunctionsWhitelist.cpp.
References to_upper(), and udf_functions_.
|
static |
Definition at line 47 of file ExtensionFunctionsWhitelist.cpp.
References functions_, ExtensionFunction::getName(), ExtensionFunction::isRuntime(), rt_udf_functions_, and udf_functions_.
Referenced by ShowFunctionsCommand::execute(), ShowRuntimeFunctionsCommand::execute(), DBHandler::get_function_names(), and DBHandler::get_runtime_function_names().
|
static |
Definition at line 528 of file ExtensionFunctionsWhitelist.cpp.
References CHECK, functions_, table_functions::TableFunctionsFactory::functions_, Int32, is_ext_arg_type_array(), join(), and anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::serialize_type().
|
static |
Definition at line 352 of file ExtensionFunctionsWhitelist.cpp.
Referenced by bind_function(), table_functions::anonymous_namespace{TableFunctionsFactory.cpp}::ext_arg_pointer_type_to_type_info(), table_functions::anonymous_namespace{TableFunctionsFactory.cpp}::ext_arg_type_to_type_info_output(), table_functions::TableFunction::getArgTypes(), table_functions::TableFunction::getSignature(), anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments(), ExtensionFunction::toSignature(), ExtensionFunction::toString(), toString(), and table_functions::TableFunction::toString().
|
static |
Definition at line 362 of file ExtensionFunctionsWhitelist.cpp.
|
static |
Definition at line 375 of file ExtensionFunctionsWhitelist.cpp.
References anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::serialize_type().
|
static |
Definition at line 401 of file ExtensionFunctionsWhitelist.cpp.
References anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::serialize_type().
|
static |
Definition at line 388 of file ExtensionFunctionsWhitelist.cpp.
Referenced by ExtensionFunction::toStringSQL(), and table_functions::TableFunction::toStringSQL().
|
static |
Definition at line 405 of file ExtensionFunctionsWhitelist.cpp.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, ArrayInt8, Bool, ColumnBool, ColumnDouble, ColumnFloat, ColumnInt16, ColumnInt32, ColumnInt64, ColumnInt8, ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListInt16, ColumnListInt32, ColumnListInt64, ColumnListInt8, ColumnListTextEncodingDict, ColumnTextEncodingDict, ColumnTimestamp, Cursor, Double, Float, GeoLineString, GeoMultiPolygon, GeoPoint, GeoPolygon, Int16, Int32, Int64, Int8, PBool, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, TextEncodingDict, TextEncodingNone, Timestamp, UNREACHABLE, and Void.
|
staticprivate |
Definition at line 170 of file ExtensionFunctionsWhitelist.h.
Referenced by add(), get(), get_ext_funcs(), get_udfs_name(), and getLLVMDeclarations().
|
staticprivate |
Definition at line 175 of file ExtensionFunctionsWhitelist.h.
Referenced by addRTUdfs(), clearRTUdfs(), get_ext_funcs(), and get_udfs_name().
|
staticprivate |
Definition at line 172 of file ExtensionFunctionsWhitelist.h.
Referenced by addUdfs(), get_ext_funcs(), get_udf(), and get_udfs_name().