OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
table_functions::anonymous_namespace{TableFunctionsFactory.cpp} Namespace Reference

Functions

SQLTypeInfo ext_arg_pointer_type_to_type_info (const ExtArgumentType ext_arg_type)
 

Function Documentation

SQLTypeInfo table_functions::anonymous_namespace{TableFunctionsFactory.cpp}::ext_arg_pointer_type_to_type_info ( const ExtArgumentType  ext_arg_type)

Definition at line 28 of file TableFunctionsFactory.cpp.

References kBIGINT, kDOUBLE, kFLOAT, kINT, kNULLT, kSMALLINT, kTINYINT, PDouble, PFloat, PInt16, PInt32, PInt64, PInt8, and UNREACHABLE.

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

28  {
29  switch (ext_arg_type) {
31  return SQLTypeInfo(kTINYINT, false);
33  return SQLTypeInfo(kSMALLINT, false);
35  return SQLTypeInfo(kINT, false);
37  return SQLTypeInfo(kBIGINT, false);
39  return SQLTypeInfo(kFLOAT, false);
41  return SQLTypeInfo(kDOUBLE, false);
42  default:
43  UNREACHABLE();
44  }
45  UNREACHABLE();
46  return SQLTypeInfo(kNULLT, false);
47 }
#define UNREACHABLE()
Definition: Logger.h:234
SQLTypeInfoCore< ArrayContextTypeSizer, ExecutorTypePackaging, DateTimeFacilities > SQLTypeInfo
Definition: sqltypes.h:852
Definition: sqltypes.h:48

+ Here is the caller graph for this function: