Module Values_0.AggregationSource

Defines an aggregation function to be applied to grouped data, creating a new column with the calculated result.

Sourcetype nonrec t = {
  1. aggregationFunction : DataPrepAggregationFunction.t;
    (*

    The aggregation function to apply, such as SUM, COUNT, AVERAGE, MIN, MAX

    *)
  2. newColumnName : ColumnName.t;
    (*

    The name for the new column that will contain the aggregated values.

    *)
  3. newColumnId : ColumnId.t;
    (*

    A unique identifier for the new column that will contain the aggregated values.

    *)
}
Sourceval context_ : string
Sourceval make : aggregationFunction:DataPrepAggregationFunction.t -> newColumnName:ColumnName.t -> newColumnId:ColumnId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ColumnName.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ColumnName.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t