public static class PrecombineGroupingTable.ValueCombiner<K,InputT,AccumT,OutputT> extends java.lang.Object implements PrecombineGroupingTable.Combiner<org.apache.beam.sdk.util.WindowedValue<K>,InputT,AccumT,OutputT>
| Modifier and Type | Method and Description |
|---|---|
AccumT |
add(org.apache.beam.sdk.util.WindowedValue<K> windowedKey,
AccumT accumulator,
InputT value) |
AccumT |
compact(org.apache.beam.sdk.util.WindowedValue<K> windowedKey,
AccumT accumulator) |
AccumT |
createAccumulator(org.apache.beam.sdk.util.WindowedValue<K> windowedKey) |
OutputT |
extract(org.apache.beam.sdk.util.WindowedValue<K> windowedKey,
AccumT accumulator) |
AccumT |
merge(org.apache.beam.sdk.util.WindowedValue<K> windowedKey,
java.lang.Iterable<AccumT> accumulators) |
public AccumT createAccumulator(org.apache.beam.sdk.util.WindowedValue<K> windowedKey)
createAccumulator in interface PrecombineGroupingTable.Combiner<org.apache.beam.sdk.util.WindowedValue<K>,InputT,AccumT,OutputT>public AccumT add(org.apache.beam.sdk.util.WindowedValue<K> windowedKey, AccumT accumulator, InputT value)
public AccumT merge(org.apache.beam.sdk.util.WindowedValue<K> windowedKey, java.lang.Iterable<AccumT> accumulators)
public AccumT compact(org.apache.beam.sdk.util.WindowedValue<K> windowedKey, AccumT accumulator)