Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Computation = Computation' {
- forecast :: Maybe ForecastComputation
- growthRate :: Maybe GrowthRateComputation
- maximumMinimum :: Maybe MaximumMinimumComputation
- metricComparison :: Maybe MetricComparisonComputation
- periodOverPeriod :: Maybe PeriodOverPeriodComputation
- periodToDate :: Maybe PeriodToDateComputation
- topBottomMovers :: Maybe TopBottomMoversComputation
- topBottomRanked :: Maybe TopBottomRankedComputation
- totalAggregation :: Maybe TotalAggregationComputation
- uniqueValues :: Maybe UniqueValuesComputation
- newComputation :: Computation
- computation_forecast :: Lens' Computation (Maybe ForecastComputation)
- computation_growthRate :: Lens' Computation (Maybe GrowthRateComputation)
- computation_maximumMinimum :: Lens' Computation (Maybe MaximumMinimumComputation)
- computation_metricComparison :: Lens' Computation (Maybe MetricComparisonComputation)
- computation_periodOverPeriod :: Lens' Computation (Maybe PeriodOverPeriodComputation)
- computation_periodToDate :: Lens' Computation (Maybe PeriodToDateComputation)
- computation_topBottomMovers :: Lens' Computation (Maybe TopBottomMoversComputation)
- computation_topBottomRanked :: Lens' Computation (Maybe TopBottomRankedComputation)
- computation_totalAggregation :: Lens' Computation (Maybe TotalAggregationComputation)
- computation_uniqueValues :: Lens' Computation (Maybe UniqueValuesComputation)
Documentation
data Computation Source #
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.
See: newComputation
smart constructor.
Computation' | |
|
Instances
newComputation :: Computation Source #
Create a value of Computation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:forecast:Computation'
, computation_forecast
- The forecast computation configuration.
$sel:growthRate:Computation'
, computation_growthRate
- The growth rate computation configuration.
$sel:maximumMinimum:Computation'
, computation_maximumMinimum
- The maximum and minimum computation configuration.
$sel:metricComparison:Computation'
, computation_metricComparison
- The metric comparison computation configuration.
$sel:periodOverPeriod:Computation'
, computation_periodOverPeriod
- The period over period computation configuration.
$sel:periodToDate:Computation'
, computation_periodToDate
- The period to DataSetIdentifier
computation configuration.
$sel:topBottomMovers:Computation'
, computation_topBottomMovers
- The top movers and bottom movers computation configuration.
$sel:topBottomRanked:Computation'
, computation_topBottomRanked
- The top ranked and bottom ranked computation configuration.
$sel:totalAggregation:Computation'
, computation_totalAggregation
- The total aggregation computation configuration.
$sel:uniqueValues:Computation'
, computation_uniqueValues
- The unique values computation configuration.
computation_forecast :: Lens' Computation (Maybe ForecastComputation) Source #
The forecast computation configuration.
computation_growthRate :: Lens' Computation (Maybe GrowthRateComputation) Source #
The growth rate computation configuration.
computation_maximumMinimum :: Lens' Computation (Maybe MaximumMinimumComputation) Source #
The maximum and minimum computation configuration.
computation_metricComparison :: Lens' Computation (Maybe MetricComparisonComputation) Source #
The metric comparison computation configuration.
computation_periodOverPeriod :: Lens' Computation (Maybe PeriodOverPeriodComputation) Source #
The period over period computation configuration.
computation_periodToDate :: Lens' Computation (Maybe PeriodToDateComputation) Source #
The period to DataSetIdentifier
computation configuration.
computation_topBottomMovers :: Lens' Computation (Maybe TopBottomMoversComputation) Source #
The top movers and bottom movers computation configuration.
computation_topBottomRanked :: Lens' Computation (Maybe TopBottomRankedComputation) Source #
The top ranked and bottom ranked computation configuration.
computation_totalAggregation :: Lens' Computation (Maybe TotalAggregationComputation) Source #
The total aggregation computation configuration.
computation_uniqueValues :: Lens' Computation (Maybe UniqueValuesComputation) Source #
The unique values computation configuration.