Module udaf

Module udaf 

Source
Expand description

AggregateUDF: User Defined Aggregate Functions

Structs§

AggregateUDF
Logical representation of a user-defined aggregate function (UDAF).
AliasedAggregateUDFImpl 🔒
AggregateUDF that adds an alias to the underlying function. It is better to implement AggregateUDFImpl, which supports aliases, directly if possible.
StatisticsArgs
Arguments passed to AggregateUDFImpl::value_from_stats

Enums§

ReversedUDAF
SetMonotonicity
Indicates whether an aggregation function is monotonic as a set function. A set function is monotonically increasing if its value increases as its argument grows (as a set). Formally, f is a monotonically increasing set function if f(S) >= f(T) whenever S is a superset of T.

Traits§

AggregateUDFImpl
Trait for implementing AggregateUDF.

Functions§

udaf_default_display_name
Encapsulates default implementation of AggregateUDFImpl::display_name.
udaf_default_human_display
Encapsulates default implementation of AggregateUDFImpl::human_display.
udaf_default_return_field
Encapsulates default implementation of AggregateUDFImpl::return_field.
udaf_default_schema_name
Encapsulates default implementation of AggregateUDFImpl::schema_name.
udaf_default_window_function_display_name
Encapsulates default implementation of AggregateUDFImpl::window_function_display_name.
udaf_default_window_function_schema_name
Encapsulates default implementation of AggregateUDFImpl::window_function_schema_name.