Module Values_0.ComputationSource

The computation union that is used in an insight visual. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Sourcetype nonrec t = {
  1. topBottomRanked : TopBottomRankedComputation.t option;
    (*

    The top ranked and bottom ranked computation configuration.

    *)
  2. topBottomMovers : TopBottomMoversComputation.t option;
    (*

    The top movers and bottom movers computation configuration.

    *)
  3. totalAggregation : TotalAggregationComputation.t option;
    (*

    The total aggregation computation configuration.

    *)
  4. maximumMinimum : MaximumMinimumComputation.t option;
    (*

    The maximum and minimum computation configuration.

    *)
  5. metricComparison : MetricComparisonComputation.t option;
    (*

    The metric comparison computation configuration.

    *)
  6. periodOverPeriod : PeriodOverPeriodComputation.t option;
    (*

    The period over period computation configuration.

    *)
  7. periodToDate : PeriodToDateComputation.t option;
    (*

    The period to DataSetIdentifier computation configuration.

    *)
  8. growthRate : GrowthRateComputation.t option;
    (*

    The growth rate computation configuration.

    *)
  9. uniqueValues : UniqueValuesComputation.t option;
    (*

    The unique values computation configuration.

    *)
  10. forecast : ForecastComputation.t option;
    (*

    The forecast computation configuration.

    *)
}
Sourceval make : ?topBottomRanked:??? -> ?topBottomMovers:??? -> ?totalAggregation:??? -> ?maximumMinimum:??? -> ?metricComparison:??? -> ?periodOverPeriod:??? -> ?periodToDate:??? -> ?growthRate:??? -> ?uniqueValues:??? -> ?forecast:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Double of Double.t | `Enum of string | `Integer of TopBottomRankedComputationResultSize.t | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of FieldId.t | `Structure of (string * [> `Enum of string | `String of DataSetIdentifier.t | `Structure of (string * [> `Double of PercentileValue.t | `String of NullString.t | `Structure of (string * [> `Enum of string | `String of Prefix.t | `Structure of (string * [> `Enum of string | `Long of DecimalPlaces.t | `String of NullString.t | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list ]) list ]) list ]) 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