Module Values.AnalysisRuleAggregationSource

A type of analysis rule that enables query structure and specified queries that produce aggregate statistics.

Sourcetype nonrec t = {
  1. aggregateColumns : AnalysisRuleAggregationAggregateColumnsList.t;
    (*

    The columns that query runners are allowed to use in aggregation queries.

    *)
  2. joinColumns : AnalysisRuleColumnList.t;
    (*

    Columns in configured table that can be used in join statements and/or as aggregate columns. They can never be outputted directly.

    *)
  3. joinRequired : JoinRequiredOption.t option;
    (*

    Control that requires member who runs query to do a join with their configured table and/or other configured table in query.

    *)
  4. allowedJoinOperators : JoinOperatorsList.t option;
    (*

    Which logical operators (if any) are to be used in an INNER JOIN match condition. Default is AND.

    *)
  5. dimensionColumns : AnalysisRuleColumnList.t;
    (*

    The columns that query runners are allowed to select, group by, or filter by.

    *)
  6. scalarFunctions : ScalarFunctionsList.t;
    (*

    Set of scalar functions that are allowed to be used on dimension columns and the output of aggregation of metrics.

    *)
  7. outputConstraints : AggregationConstraints.t;
    (*

    Columns that must meet a specific threshold value (after an aggregation function is applied to it) for each output row to be returned.

    *)
  8. additionalAnalyses : AdditionalAnalyses.t option;
    (*

    An indicator as to whether additional analyses (such as Clean Rooms ML) can be applied to the output of the direct query. The additionalAnalyses parameter is currently supported for the list analysis rule (AnalysisRuleList) and the custom analysis rule (AnalysisRuleCustom).

    *)
}
Sourceval context_ : string
Sourceval make : ?joinRequired:??? -> ?allowedJoinOperators:??? -> ?additionalAnalyses:??? -> aggregateColumns:AnalysisRuleAggregationAggregateColumnsList.t -> joinColumns:AnalysisRuleColumnList.t -> dimensionColumns:AnalysisRuleColumnList.t -> scalarFunctions:ScalarFunctionsList.t -> outputConstraints:AggregationConstraints.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of AnalysisRuleColumnName.t | `Structure of (string * [> `Enum of string | `Integer of AggregationConstraintMinimumInteger.t | `List of [> `String of AnalysisRuleColumnName.t ] list | `String of AnalysisRuleColumnName.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