OmniSciDB  ba1bac9284
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TableFunctionHelper.h File Reference
+ Include dependency graph for TableFunctionHelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ExtArgumentType ext_arg_type_ensure_column (const ExtArgumentType ext_arg_type)
 
ExtArgumentType ext_arg_type_ensure_column_list (const ExtArgumentType ext_arg_type)
 
bool is_ext_arg_type_array (const ExtArgumentType ext_arg_type)
 
bool is_ext_arg_type_column (const ExtArgumentType ext_arg_type)
 
bool is_ext_arg_type_column_list (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)
 
bool is_ext_arg_type_nonscalar (const ExtArgumentType ext_arg_type)
 

Function Documentation

bool is_ext_arg_type_array ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 64 of file TableFunctionHelper.h.

References ArrayBool, ArrayDouble, ArrayFloat, ArrayInt16, ArrayInt32, ArrayInt64, and ArrayInt8.

Referenced by CodeGenerator::codegenFunctionOperCastArgs(), ExtensionFunctionsWhitelist::getLLVMDeclarations(), and anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments().

+ Here is the caller graph for this function:

bool is_ext_arg_type_column ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 80 of file TableFunctionHelper.h.

References ColumnBool, ColumnDouble, ColumnFloat, ColumnInt16, ColumnInt32, ColumnInt64, and ColumnInt8.

Referenced by anonymous_namespace{ExtensionFunctionsBinding.cpp}::match_arguments().

+ Here is the caller graph for this function:

bool is_ext_arg_type_column_list ( const ExtArgumentType  ext_arg_type)
inline
bool is_ext_arg_type_geo ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 112 of file TableFunctionHelper.h.

References GeoLineString, GeoMultiPolygon, GeoPoint, and GeoPolygon.

Referenced by CodeGenerator::codegenFunctionOperCastArgs().

112  {
113  switch (ext_arg_type) {
118  return true;
119 
120  default:
121  return false;
122  }
123 }

+ Here is the caller graph for this function:

bool is_ext_arg_type_nonscalar ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 157 of file TableFunctionHelper.h.

References is_ext_arg_type_scalar().

Referenced by table_functions::TableFunction::getSqlOutputRowSizeParameter().

157  {
158  return !is_ext_arg_type_scalar(ext_arg_type);
159 }
bool is_ext_arg_type_scalar(const ExtArgumentType ext_arg_type)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool is_ext_arg_type_pointer ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 125 of file TableFunctionHelper.h.

References PBool, PDouble, PFloat, PInt16, PInt32, PInt64, and PInt8.

Referenced by CodeGenerator::codegenFunctionOperCastArgs().

+ Here is the caller graph for this function:

bool is_ext_arg_type_scalar ( const ExtArgumentType  ext_arg_type)
inline

Definition at line 141 of file TableFunctionHelper.h.

References Bool, Double, Float, Int16, Int32, Int64, and Int8.

Referenced by table_functions::TableFunction::countScalarArgs(), table_functions::TableFunction::getSqlOutputRowSizeParameter(), and is_ext_arg_type_nonscalar().

141  {
142  switch (ext_arg_type) {
150  return true;
151 
152  default:
153  return false;
154  }
155 }

+ Here is the caller graph for this function: