datafusion_expr::function

Type Alias StateTypeFunction

Source
pub type StateTypeFunction = Arc<dyn Fn(&DataType) -> Result<Arc<Vec<DataType>>> + Send + Sync>;
Expand description

Factory that returns the types used by an aggregator to serialize its state, given its return datatype.

Aliased Typeยง

struct StateTypeFunction { /* private fields */ }