OmniSciDB  085a039ca4
 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 374 of file TableFunctionsFactory.cpp.

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

374  {
375  // All table functions that will be on by default (and not just for testing)
376  // must be added to the whitelisted_table_functions set below.
377  static const std::unordered_set<std::string> whitelisted_table_functions = {
378  "generate_series",
379  "generate_random_strings",
380  "tf_mandelbrot",
381  "tf_mandelbrot_float",
382  "tf_mandelbrot_cuda",
383  "tf_mandelbrot_cuda_float",
384  "tf_geo_rasterize",
385  "tf_geo_rasterize_slope",
386  "tf_compute_dwell_times",
387  "tf_point_cloud_metadata",
388  "tf_load_point_cloud"};
389 
390  return whitelisted_table_functions.find(function_name) !=
391  whitelisted_table_functions.end();
392 }

+ Here is the caller graph for this function: