Module Values.AggregationConstraintSource

Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.

Sourcetype nonrec t = {
  1. columnName : AnalysisRuleColumnName.t;
    (*

    Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.

    *)
  2. minimum : AggregationConstraintMinimumInteger.t;
    (*

    The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.

    *)
  3. type_ : AggregationType.t;
    (*

    The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.

    *)
}
Sourceval context_ : string
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of AggregationConstraintMinimumInteger.t | `String of AnalysisRuleColumnName.t ]) 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