OmniSciDB
a5dc49c757
|
#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 171 of file ExtensionFunctionsWhitelist.h.
|
static |
Definition at line 1074 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and functions_.
Referenced by DBHandler::initialize(), and QueryRunner::QueryRunner::QueryRunner().
|
staticprivate |
Definition at line 1029 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 1100 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and rt_udf_functions_.
Referenced by DBHandler::register_runtime_extension_functions().
|
static |
Definition at line 1090 of file ExtensionFunctionsWhitelist.cpp.
References addCommon(), and udf_functions_.
Referenced by DBHandler::initialize(), and QueryRunner::QueryRunner::QueryRunner().
|
static |
Definition at line 1096 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 709 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 443 of file ExtensionFunctionsWhitelist.cpp.
Referenced by bind_function(), 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 453 of file ExtensionFunctionsWhitelist.cpp.
|
static |
Definition at line 466 of file ExtensionFunctionsWhitelist.cpp.
References anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::serialize_type().
|
static |
Definition at line 492 of file ExtensionFunctionsWhitelist.cpp.
References anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::serialize_type().
|
static |
Definition at line 479 of file ExtensionFunctionsWhitelist.cpp.
Referenced by ExtensionFunction::toStringSQL(), and table_functions::TableFunction::toStringSQL().
|
static |
Definition at line 496 of file ExtensionFunctionsWhitelist.cpp.
References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, ArrayInt8, ArrayTextEncodingDict, ArrayTextEncodingNone, Bool, ColumnArrayBool, ColumnArrayDouble, ColumnArrayFloat, ColumnArrayInt16, ColumnArrayInt32, ColumnArrayInt64, ColumnArrayInt8, ColumnArrayTextEncodingDict, ColumnArrayTextEncodingNone, ColumnBool, ColumnDouble, ColumnFloat, ColumnGeoLineString, ColumnGeoMultiLineString, ColumnGeoMultiPoint, ColumnGeoMultiPolygon, ColumnGeoPoint, ColumnGeoPolygon, ColumnInt16, ColumnInt32, ColumnInt64, ColumnInt8, ColumnListArrayBool, ColumnListArrayDouble, ColumnListArrayFloat, ColumnListArrayInt16, ColumnListArrayInt32, ColumnListArrayInt64, ColumnListArrayInt8, ColumnListArrayTextEncodingDict, ColumnListArrayTextEncodingNone, ColumnListBool, ColumnListDouble, ColumnListFloat, ColumnListGeoLineString, ColumnListGeoMultiLineString, ColumnListGeoMultiPoint, ColumnListGeoMultiPolygon, ColumnListGeoPoint, ColumnListGeoPolygon, ColumnListInt16, ColumnListInt32, ColumnListInt64, ColumnListInt8, ColumnListTextEncodingDict, ColumnListTextEncodingNone, ColumnTextEncodingDict, ColumnTextEncodingNone, ColumnTimestamp, Cursor, DayTimeInterval, Double, Float, GeoLineString, GeoMultiLineString, GeoMultiPoint, GeoMultiPolygon, GeoPoint, GeoPolygon, Int16, Int32, Int64, Int8, PBool, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, TextEncodingDict, TextEncodingNone, Timestamp, UNREACHABLE, Void, and YearMonthTimeInterval.
|
staticprivate |
Definition at line 218 of file ExtensionFunctionsWhitelist.h.
Referenced by add(), get(), get_ext_funcs(), get_udfs_name(), and getLLVMDeclarations().
|
staticprivate |
Definition at line 223 of file ExtensionFunctionsWhitelist.h.
Referenced by addRTUdfs(), clearRTUdfs(), get_ext_funcs(), and get_udfs_name().
|
staticprivate |
Definition at line 220 of file ExtensionFunctionsWhitelist.h.
Referenced by addUdfs(), get_ext_funcs(), get_udf(), and get_udfs_name().