public static class Max.MaxIntegerFn extends Max.MaxFn<Integer> implements CounterProvider<Integer>
CombineFn that computes the maximum of a collection of Integers, useful as an
argument to Combine.globally(com.google.cloud.dataflow.sdk.transforms.SerializableFunction<java.lang.Iterable<V>, V>) or Combine.perKey(com.google.cloud.dataflow.sdk.transforms.SerializableFunction<java.lang.Iterable<V>, V>).| Constructor and Description |
|---|
MaxIntegerFn() |
| Modifier and Type | Method and Description |
|---|---|
Counter<Integer> |
getCounter(String name) |
apply, identity, naturalOrder, naturalOrder, of, ofaddInput, createAccumulator, extractOutput, getAccumulatorCoder, getDefaultOutputCoder, mergeAccumulatorsapply, asKeyedFn, getOutputTypepublic Counter<Integer> getCounter(String name)
getCounter in interface CounterProvider<Integer>