Expand description
Function module contains typing and signature for built-in and user defined functions.
Structs§
- Accumulator
Args AccumulatorArgs
contains information about how an aggregate function was called, including the types of its arguments and any optional ordering expressions.- Expression
Args - Arguments passed to user-defined window function
- Partition
Evaluator Args - Arguments passed to created user-defined window function state during physical execution.
- State
Fields Args StateFieldsArgs
contains information about the fields that an aggregate function’s accumulator should have. Used forAggregateUDFImpl::state_fields
.- WindowUDF
Field Args - Metadata for defining the result field from evaluating a user-defined window function.
Enums§
Type Aliases§
- Accumulator
Factory Function - Factory that returns an accumulator for the given aggregate function.
- Aggregate
Function Simplification - crate::udaf::AggregateUDFImpl::simplify simplifier closure A closure with two arguments:
- Partition
Evaluator Factory - Factory that creates a PartitionEvaluator for the given window function
- Return
Type Function - Factory that returns the functions’s return type given the input argument types
- Scalar
Function Implementation - Scalar function
- State
Type Function - Factory that returns the types used by an aggregator to serialize its state, given its return datatype.
- Window
Function Simplification - crate::udwf::WindowUDFImpl::simplify simplifier closure A closure with two arguments: