Module function

Source
Expand description

Function module contains typing and signature for built-in and user defined functions.

Structs§

AccumulatorArgs
AccumulatorArgs contains information about how an aggregate function was called, including the types of its arguments and any optional ordering expressions.
ExpressionArgs
Arguments passed to user-defined window function
PartitionEvaluatorArgs
Arguments passed to created user-defined window function state during physical execution.
StateFieldsArgs
StateFieldsArgs contains information about the fields that an aggregate function’s accumulator should have. Used for AggregateUDFImpl::state_fields.
WindowUDFFieldArgs
Metadata for defining the result field from evaluating a user-defined window function.

Enums§

Hint

Type Aliases§

AccumulatorFactoryFunction
Factory that returns an accumulator for the given aggregate function.
AggregateFunctionSimplification
crate::udaf::AggregateUDFImpl::simplify simplifier closure A closure with two arguments:
PartitionEvaluatorFactory
Factory that creates a PartitionEvaluator for the given window function
ReturnTypeFunction
Factory that returns the functions’s return type given the input argument types
ScalarFunctionImplementation
Scalar function
StateTypeFunction
Factory that returns the types used by an aggregator to serialize its state, given its return datatype.
WindowFunctionSimplification
crate::udwf::WindowUDFImpl::simplify simplifier closure A closure with two arguments: