OmniSciDB
a5dc49c757
|
#include <ExtensionFunctionsWhitelist.h>
Public Member Functions | |
ExtensionFunction (const std::string &name, const std::vector< ExtArgumentType > &args, const ExtArgumentType ret, const std::vector< std::map< std::string, std::string >> &annotations, const bool is_runtime) | |
const std::string | getName (bool keep_suffix=true) const |
const std::vector < ExtArgumentType > & | getInputArgs () const |
const ExtArgumentType | getRet () const |
const std::vector< std::map < std::string, std::string > > & | getAnnotations () const |
bool | usesManager () const |
std::string | toString () const |
std::string | toStringSQL () const |
std::string | toSignature () const |
bool | isGPU () const |
bool | isCPU () const |
bool | isRuntime () const |
Private Attributes | |
const std::string | name_ |
const std::vector < ExtArgumentType > | args_ |
const ExtArgumentType | ret_ |
const std::vector< std::map < std::string, std::string > > | annotations_ |
const bool | is_runtime_ |
Definition at line 127 of file ExtensionFunctionsWhitelist.h.
|
inline |
Definition at line 129 of file ExtensionFunctionsWhitelist.h.
|
inline |
Definition at line 144 of file ExtensionFunctionsWhitelist.h.
References annotations_.
Referenced by ThriftSerializers::to_thrift().
|
inline |
Definition at line 142 of file ExtensionFunctionsWhitelist.h.
References args_.
Referenced by CodeGenerator::codegenFunctionOperCastArgs(), and ThriftSerializers::to_thrift().
const std::string ExtensionFunction::getName | ( | bool | keep_suffix = true | ) | const |
Definition at line 688 of file ExtensionFunctionsWhitelist.cpp.
References anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::drop_suffix(), and name_.
Referenced by CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenFunctionOperCastArgs(), ExtensionFunctionsWhitelist::get_udfs_name(), ThriftSerializers::to_thrift(), toString(), and toStringSQL().
|
inline |
Definition at line 143 of file ExtensionFunctionsWhitelist.h.
References ret_.
Referenced by CodeGenerator::codegenFunctionOper(), and ThriftSerializers::to_thrift().
|
inline |
|
inline |
|
inline |
Definition at line 161 of file ExtensionFunctionsWhitelist.h.
References is_runtime_.
Referenced by ExtensionFunctionsWhitelist::get_udfs_name().
std::string ExtensionFunction::toSignature | ( | ) | const |
Definition at line 703 of file ExtensionFunctionsWhitelist.cpp.
References args_, ret_, and ExtensionFunctionsWhitelist::toString().
std::string ExtensionFunction::toString | ( | ) | const |
Definition at line 692 of file ExtensionFunctionsWhitelist.cpp.
References args_, getName(), ret_, and ExtensionFunctionsWhitelist::toString().
std::string ExtensionFunction::toStringSQL | ( | ) | const |
Definition at line 697 of file ExtensionFunctionsWhitelist.cpp.
References args_, getName(), ret_, and ExtensionFunctionsWhitelist::toStringSQL().
bool ExtensionFunction::usesManager | ( | ) | const |
Definition at line 674 of file ExtensionFunctionsWhitelist.cpp.
References annotations_.
Referenced by CodeGenerator::codegenFunctionOper().
|
private |
Definition at line 167 of file ExtensionFunctionsWhitelist.h.
Referenced by getAnnotations(), and usesManager().
|
private |
Definition at line 165 of file ExtensionFunctionsWhitelist.h.
Referenced by getInputArgs(), toSignature(), toString(), and toStringSQL().
|
private |
Definition at line 168 of file ExtensionFunctionsWhitelist.h.
Referenced by isRuntime().
|
private |
Definition at line 164 of file ExtensionFunctionsWhitelist.h.
|
private |
Definition at line 166 of file ExtensionFunctionsWhitelist.h.
Referenced by getRet(), toSignature(), toString(), and toStringSQL().