Module datafusion_expr::function
source · Expand description
Function module contains typing and signature for built-in and user defined functions.
Structs§
AccumulatorArgs
contains information about how an aggregate function was called, including the types of its arguments and any optional ordering expressions.StateFieldsArgs
contains information about the fields that an aggregate function’s accumulator should have. Used forAggregateUDFImpl::state_fields
.
Enums§
Type Aliases§
- Factory that returns an accumulator for the given aggregate function.
- crate::udaf::AggregateUDFImpl::simplify simplifier closure A closure with two arguments:
- Factory that creates a PartitionEvaluator for the given window function
- Factory that returns the functions’s return type given the input argument types
- Scalar function
- Factory that returns the types used by an aggregator to serialize its state, given its return datatype.
- crate::udwf::WindowUDFImpl::simplify simplifier closure A closure with two arguments: