public static class Max.MaxLongFn extends Max.MaxFn<Long> implements com.google.cloud.dataflow.sdk.util.common.CounterProvider<Long>
CombineFn that computes the maximum of a collection of Longs, 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 |
|---|
MaxLongFn() |
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.dataflow.sdk.util.common.Counter<Long> |
getCounter(String name) |
apply, identity, naturalOrder, naturalOrder, of, ofaddInput, createAccumulator, extractOutput, getAccumulatorCoder, getDefaultOutputCoder, mergeAccumulatorsapply, asKeyedFn, compact, getOutputType