|
| static BaseScalarFunction | SetReturnsError (BaseScalarFunction &function) |
| |
|
static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const LogicalType &varargs=LogicalType::INVALID) |
| | Returns the formatted string name(arg1, arg2, ...)
|
| |
|
static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const LogicalType &varargs, const LogicalType &return_type) |
| | Returns the formatted string name(arg1, arg2..) -> return_type.
|
| |
|
static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const named_parameter_type_map_t &named_parameters) |
| | Returns the formatted string name(arg1, arg2.., np1=a, np2=b, ...)
|
| |
|
static DUCKDB_API void | EraseArgument (SimpleFunction &bound_function, vector< unique_ptr< Expression > > &arguments, idx_t argument_index) |
| | Used in the bind to erase an argument from a function.
|
| |
◆ SetReturnType()
| void duckdb::BaseScalarFunction::SetReturnType |
( |
LogicalType |
return_type_p | ) |
|
|
inline |
13955 {
13957 }
LogicalType return_type
Return type of the function.
Definition duckdb.hpp:14004
◆ GetReturnType() [1/2]
◆ GetReturnType() [2/2]
| LogicalType & duckdb::BaseScalarFunction::GetReturnType |
( |
| ) |
|
|
inline |
◆ GetStability()
13965 {
13967 }
FunctionStability stability
The stability of the function (see FunctionStability enum for more info)
Definition duckdb.hpp:14006
◆ SetStability()
◆ GetNullHandling()
13972 {
13974 }
FunctionNullHandling null_handling
How this function handles NULL values.
Definition duckdb.hpp:14008
◆ SetNullHandling()
◆ GetErrorMode()
13979 {
13981 }
FunctionErrors errors
Whether or not this function can throw an error.
Definition duckdb.hpp:14010
◆ SetErrorMode()
◆ SetFallible()
| void duckdb::BaseScalarFunction::SetFallible |
( |
| ) |
|
|
inline |
Set this functions error-mode as fallible (can throw runtime errors)
13987 {
13988 errors = FunctionErrors::CAN_THROW_RUNTIME_ERROR;
13989 }
◆ SetVolatile()
| void duckdb::BaseScalarFunction::SetVolatile |
( |
| ) |
|
|
inline |
Set this functions stability as volatile (can not be cached per row)
13991 {
13992 stability = FunctionStability::VOLATILE;
13993 }
◆ SetCollationHandling()
13995 {
13997 }
FunctionCollationHandling collation_handling
Collation handling of the function.
Definition duckdb.hpp:14012
◆ GetCollationHandling()
◆ SetReturnsError()
14014 {
14015 function.errors = FunctionErrors::CAN_THROW_RUNTIME_ERROR;
14016 return function;
14017 }
◆ ToString()
| DUCKDB_API string duckdb::BaseScalarFunction::ToString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: