| 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 |
Amazonka.Glue.Types.Aggregate
Description
Synopsis
- data Aggregate = Aggregate' {}
- newAggregate :: Text -> NonEmpty Text -> NonEmpty AggregateOperation -> Aggregate
- aggregate_name :: Lens' Aggregate Text
- aggregate_inputs :: Lens' Aggregate (NonEmpty Text)
- aggregate_groups :: Lens' Aggregate [[Text]]
- aggregate_aggs :: Lens' Aggregate (NonEmpty AggregateOperation)
Documentation
Specifies a transform that groups rows by chosen fields and computes the aggregated value by specified function.
See: newAggregate smart constructor.
Constructors
| Aggregate' | |
Fields | |
Instances
Create a value of Aggregate 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:name:Aggregate', aggregate_name - The name of the transform node.
$sel:inputs:Aggregate', aggregate_inputs - Specifies the fields and rows to use as inputs for the aggregate
transform.
$sel:groups:Aggregate', aggregate_groups - Specifies the fields to group by.
$sel:aggs:Aggregate', aggregate_aggs - Specifies the aggregate functions to be performed on specified fields.
aggregate_inputs :: Lens' Aggregate (NonEmpty Text) Source #
Specifies the fields and rows to use as inputs for the aggregate transform.
aggregate_aggs :: Lens' Aggregate (NonEmpty AggregateOperation) Source #
Specifies the aggregate functions to be performed on specified fields.