T - the output type of the aggregatorpublic abstract class AggregatorValues<T> extends Object
Aggregator. Aggregators declared in a
DoFn are emitted on a per-DoFn-application basis.| Constructor and Description |
|---|
AggregatorValues() |
| Modifier and Type | Method and Description |
|---|---|
T |
getTotalValue(Combine.CombineFn<T,?,T> combineFn)
Get the total value of this
Aggregator by applying the specified Combine.CombineFn. |
Collection<T> |
getValues()
Get the values of the
Aggregator at all steps it was used. |
abstract Map<String,T> |
getValuesAtSteps()
Get the values of the
Aggregator by the user name at each step it was used. |
public Collection<T> getValues()
Aggregator at all steps it was used.public abstract Map<String,T> getValuesAtSteps()
Aggregator by the user name at each step it was used.public T getTotalValue(Combine.CombineFn<T,?,T> combineFn)
Aggregator by applying the specified Combine.CombineFn.