OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
table_functions Namespace Reference

Namespaces

 anonymous_namespace{TableFunctionsFactory.cpp}
 

Classes

struct  TableFunctionOutputRowSizer
 
class  TableFunction
 
class  TableFunctionsFactory
 

Enumerations

enum  OutputBufferSizeType {
  OutputBufferSizeType::kConstant, OutputBufferSizeType::kUserSpecifiedConstantParameter, OutputBufferSizeType::kUserSpecifiedRowMultiplier, OutputBufferSizeType::kTableFunctionSpecifiedParameter,
  OutputBufferSizeType::kPreFlightParameter
}
 

Functions

bool is_table_function_whitelisted (const std::string &function_name)
 

Enumeration Type Documentation

Function Documentation

bool table_functions::is_table_function_whitelisted ( const std::string &  function_name)

Definition at line 313 of file TableFunctionsFactory.cpp.

Referenced by table_functions::TableFunctionsFactory::add().

313  {
314  // All table functions that will be on by default (and not just for testing)
315  // must be added to the whitelisted_table_functions set below.
316  static const std::unordered_set<std::string> whitelisted_table_functions = {
317  "generate_series",
318  "generate_random_strings",
319  "tf_mandelbrot",
320  "tf_mandelbrot_float",
321  "tf_mandelbrot_cuda",
322  "tf_mandelbrot_cuda_float",
323  "tf_geo_rasterize",
324  "tf_geo_rasterize_slope",
325  "tf_compute_dwell_times",
326  "tf_feature_similarity",
327  "tf_feature_self_similarity",
328  "tf_graph_shortest_path",
329  "tf_graph_shortest_paths_distances",
330  "tf_raster_graph_shortest_slope_weighted_path",
331  "supported_ml_frameworks",
332  "kmeans",
333  "dbscan",
334  "linear_reg_fit",
335  "linear_reg_predict",
336  "linear_reg_fit_predict",
337  "tf_point_cloud_metadata",
338  "tf_load_point_cloud"};
339 
340  return whitelisted_table_functions.find(function_name) !=
341  whitelisted_table_functions.end();
342 }

+ Here is the caller graph for this function: