Module udf::traits

source ·
Expand description

Module containing traits to be implemented by a user

A basic UDF just needs to implement BasicUdf. An aggregate UDF needs to implement both BasicUdf and AggregateUdf.

Structs

  • Typestate marker for the initialization phase
  • Typestate marker for the processing phase

Traits

  • This trait must be implemented if this function performs aggregation.
  • This trait specifies the functions needed for a standard (non-aggregate) UDF
  • A state of the UDF, representing either Init or Process