|
| | AggregateFunction (const string &name, const vector< LogicalType > &arguments, const LogicalType &return_type, aggregate_size_t state_size, aggregate_initialize_t initialize, aggregate_update_t update, aggregate_combine_t combine, aggregate_finalize_t finalize, FunctionNullHandling null_handling=FunctionNullHandling::DEFAULT_NULL_HANDLING, aggregate_simple_update_t simple_update=nullptr, bind_aggregate_function_t bind=nullptr, aggregate_destructor_t destructor=nullptr, aggregate_statistics_t statistics=nullptr, aggregate_window_t window=nullptr, aggregate_serialize_t serialize=nullptr, aggregate_deserialize_t deserialize=nullptr) |
| |
| | AggregateFunction (const string &name, const vector< LogicalType > &arguments, const LogicalType &return_type, aggregate_size_t state_size, aggregate_initialize_t initialize, aggregate_update_t update, aggregate_combine_t combine, aggregate_finalize_t finalize, aggregate_simple_update_t simple_update=nullptr, bind_aggregate_function_t bind=nullptr, aggregate_destructor_t destructor=nullptr, aggregate_statistics_t statistics=nullptr, aggregate_window_t window=nullptr, aggregate_serialize_t serialize=nullptr, aggregate_deserialize_t deserialize=nullptr) |
| |
| | AggregateFunction (const vector< LogicalType > &arguments, const LogicalType &return_type, aggregate_size_t state_size, aggregate_initialize_t initialize, aggregate_update_t update, aggregate_combine_t combine, aggregate_finalize_t finalize, FunctionNullHandling null_handling=FunctionNullHandling::DEFAULT_NULL_HANDLING, aggregate_simple_update_t simple_update=nullptr, bind_aggregate_function_t bind=nullptr, aggregate_destructor_t destructor=nullptr, aggregate_statistics_t statistics=nullptr, aggregate_window_t window=nullptr, aggregate_serialize_t serialize=nullptr, aggregate_deserialize_t deserialize=nullptr) |
| |
| | AggregateFunction (const vector< LogicalType > &arguments, const LogicalType &return_type, aggregate_size_t state_size, aggregate_initialize_t initialize, aggregate_update_t update, aggregate_combine_t combine, aggregate_finalize_t finalize, aggregate_simple_update_t simple_update=nullptr, bind_aggregate_function_t bind=nullptr, aggregate_destructor_t destructor=nullptr, aggregate_statistics_t statistics=nullptr, aggregate_window_t window=nullptr, aggregate_serialize_t serialize=nullptr, aggregate_deserialize_t deserialize=nullptr) |
| |
| | AggregateFunction (const vector< LogicalType > &arguments, const LogicalType &return_type, aggregate_size_t state_size, aggregate_initialize_t initialize, aggregate_wininit_t window_init, aggregate_window_t window, bind_aggregate_function_t bind=nullptr, aggregate_destructor_t destructor=nullptr, aggregate_statistics_t statistics=nullptr, aggregate_serialize_t serialize=nullptr, aggregate_deserialize_t deserialize=nullptr) |
| |
| bool | HasBindCallback () const |
| |
| bind_aggregate_function_t | GetBindCallback () const |
| |
| void | SetBindCallback (bind_aggregate_function_t callback) |
| |
| bool | HasStateInitCallback () const |
| |
| aggregate_initialize_t | GetStateInitCallback () const |
| |
| void | SetStateInitCallback (aggregate_initialize_t callback) |
| |
| bool | HasStateSizeCallback () const |
| |
| aggregate_size_t | GetStateSizeCallback () const |
| |
| void | SetStateSizeCallback (aggregate_size_t callback) |
| |
| bool | HasStateDestructorCallback () const |
| |
| aggregate_destructor_t | GetStateDestructorCallback () const |
| |
| void | SetStateDestructorCallback (aggregate_destructor_t callback) |
| |
| bool | HasStateUpdateCallback () const |
| |
| aggregate_update_t | GetStateUpdateCallback () const |
| |
| void | SetStateUpdateCallback (aggregate_update_t callback) |
| |
| bool | HasStateSimpleUpdateCallback () const |
| |
| aggregate_simple_update_t | GetStateSimpleUpdateCallback () const |
| |
| void | SetStateSimpleUpdateCallback (aggregate_simple_update_t callback) |
| |
| void | SetStateCombineCallback (aggregate_combine_t callback) |
| |
| aggregate_combine_t | GetStateCombineCallback () const |
| |
| bool | HasStateCombineCallback () const |
| |
| void | SetStateFinalizeCallback (aggregate_finalize_t callback) |
| |
| aggregate_finalize_t | GetStateFinalizeCallback () const |
| |
| bool | HasStateFinalizeCallback () const |
| |
| bool | HasWindowCallback () const |
| |
| aggregate_window_t | GetWindowCallback () const |
| |
| void | SetWindowCallback (aggregate_window_t callback) |
| |
| void | SetWindowInitCallback (aggregate_wininit_t callback) |
| |
| aggregate_wininit_t | GetWindowInitCallback () const |
| |
| bool | HasWindowInitCallback () const |
| |
| bool | HasStatisticsCallback () const |
| |
| aggregate_statistics_t | GetStatisticsCallback () const |
| |
| void | SetStatisticsCallback (aggregate_statistics_t callback) |
| |
| bool | HasSerializationCallbacks () const |
| |
| void | SetSerializeCallback (aggregate_serialize_t callback) |
| |
| void | SetDeserializeCallback (aggregate_deserialize_t callback) |
| |
| aggregate_serialize_t | GetSerializeCallback () const |
| |
| aggregate_deserialize_t | GetDeserializeCallback () const |
| |
| AggregateOrderDependent | GetOrderDependent () const |
| |
| void | SetOrderDependent (AggregateOrderDependent value) |
| |
| AggregateDistinctDependent | GetDistinctDependent () const |
| |
| void | SetDistinctDependent (AggregateDistinctDependent value) |
| |
| bool | operator== (const AggregateFunction &rhs) const |
| |
| bool | operator!= (const AggregateFunction &rhs) const |
| |
| bool | CanAggregate () const |
| |
| bool | CanWindow () const |
| |
|
DUCKDB_API | BaseScalarFunction (string name, vector< LogicalType > arguments, LogicalType return_type, FunctionStability stability, LogicalType varargs=LogicalType(LogicalTypeId::INVALID), FunctionNullHandling null_handling=FunctionNullHandling::DEFAULT_NULL_HANDLING, FunctionErrors errors=FunctionErrors::CANNOT_ERROR) |
| |
| void | SetReturnType (LogicalType return_type_p) |
| |
| const LogicalType & | GetReturnType () const |
| |
| LogicalType & | GetReturnType () |
| |
| FunctionStability | GetStability () const |
| |
| void | SetStability (FunctionStability stability_p) |
| |
| FunctionNullHandling | GetNullHandling () const |
| |
| void | SetNullHandling (FunctionNullHandling null_handling_p) |
| |
| FunctionErrors | GetErrorMode () const |
| |
| void | SetErrorMode (FunctionErrors errors_p) |
| |
| void | SetFallible () |
| | Set this functions error-mode as fallible (can throw runtime errors)
|
| |
| void | SetVolatile () |
| | Set this functions stability as volatile (can not be cached per row)
|
| |
| void | SetCollationHandling (FunctionCollationHandling collation_handling_p) |
| |
| FunctionCollationHandling | GetCollationHandling () const |
| |
|
DUCKDB_API hash_t | Hash () const |
| |
| DUCKDB_API string | ToString () const override |
| |
|
DUCKDB_API | SimpleFunction (string name, vector< LogicalType > arguments, LogicalType varargs=LogicalType(LogicalTypeId::INVALID)) |
| |
|
DUCKDB_API bool | HasVarArgs () const |
| |
|
DUCKDB_API | Function (string name) |
| |
|
| template<class STATE , class RESULT_TYPE , class OP > |
| static AggregateFunction | NullaryAggregate (LogicalType return_type) |
| |
| template<class STATE , class INPUT_TYPE , class RESULT_TYPE , class OP , AggregateDestructorType destructor_type = AggregateDestructorType::STANDARD> |
| static AggregateFunction | UnaryAggregate (const LogicalType &input_type, LogicalType return_type, FunctionNullHandling null_handling=FunctionNullHandling::DEFAULT_NULL_HANDLING) |
| |
| template<class STATE , class INPUT_TYPE , class RESULT_TYPE , class OP , AggregateDestructorType destructor_type = AggregateDestructorType::STANDARD> |
| static AggregateFunction | UnaryAggregateDestructor (LogicalType input_type, LogicalType return_type) |
| |
| template<class STATE , class A_TYPE , class B_TYPE , class RESULT_TYPE , class OP , AggregateDestructorType destructor_type = AggregateDestructorType::STANDARD> |
| static AggregateFunction | BinaryAggregate (const LogicalType &a_type, const LogicalType &b_type, LogicalType return_type) |
| |
| template<class STATE > |
| static idx_t | StateSize (const AggregateFunction &) |
| |
| template<class STATE , class OP , AggregateDestructorType destructor_type = AggregateDestructorType::STANDARD> |
| static void | StateInitialize (const AggregateFunction &, data_ptr_t state) |
| |
| template<class STATE , class OP > |
| static void | NullaryScatterUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, Vector &states, idx_t count) |
| |
| template<class STATE , class OP > |
| static void | NullaryUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, data_ptr_t state, idx_t count) |
| |
| template<class STATE , class T , class OP > |
| static void | UnaryScatterUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, Vector &states, idx_t count) |
| |
| template<class STATE , class INPUT_TYPE , class OP > |
| static void | UnaryUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, data_ptr_t state, idx_t count) |
| |
| template<class STATE , class A_TYPE , class B_TYPE , class OP > |
| static void | BinaryScatterUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, Vector &states, idx_t count) |
| |
| template<class STATE , class A_TYPE , class B_TYPE , class OP > |
| static void | BinaryUpdate (Vector inputs[], AggregateInputData &aggr_input_data, idx_t input_count, data_ptr_t state, idx_t count) |
| |
| template<class STATE , class OP > |
| static void | StateCombine (Vector &source, Vector &target, AggregateInputData &aggr_input_data, idx_t count) |
| |
| template<class STATE , class RESULT_TYPE , class OP > |
| static void | StateFinalize (Vector &states, AggregateInputData &aggr_input_data, Vector &result, idx_t count, idx_t offset) |
| |
| template<class STATE , class OP > |
| static void | StateVoidFinalize (Vector &states, AggregateInputData &aggr_input_data, Vector &result, idx_t count, idx_t offset) |
| |
| template<class STATE , class OP > |
| static void | StateDestroy (Vector &states, AggregateInputData &aggr_input_data, idx_t count) |
| |
| 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.
|
| |