K - type of keysInputT - type of input valuesAccumT - type of mutable accumulator valuesOutputT - type of output valuespublic class AppliedCombineFn<K,InputT,AccumT,OutputT> extends Object implements Serializable
Combine.KeyedCombineFn with a fixed accumulator coder. This is created from a specific
application of the Combine.KeyedCombineFn.
Because the AccumT may reference InputT, the specific Coder<AccumT>
may depend on the Coder<InputT>.
| Modifier and Type | Method and Description |
|---|---|
Coder<AccumT> |
getAccumulatorCoder() |
Combine.KeyedCombineFn<K,InputT,AccumT,OutputT> |
getFn() |
static <K,InputT,AccumT,OutputT> |
withAccumulatorCoder(Combine.KeyedCombineFn<? super K,? super InputT,AccumT,OutputT> fn,
Coder<AccumT> accumCoder) |
static <K,InputT,AccumT,OutputT> |
withInputCoder(Combine.KeyedCombineFn<? super K,? super InputT,AccumT,OutputT> fn,
CoderRegistry registry,
KvCoder<K,InputT> kvCoder) |
public static <K,InputT,AccumT,OutputT> AppliedCombineFn<K,InputT,AccumT,OutputT> withAccumulatorCoder(Combine.KeyedCombineFn<? super K,? super InputT,AccumT,OutputT> fn, Coder<AccumT> accumCoder)
public static <K,InputT,AccumT,OutputT> AppliedCombineFn<K,InputT,AccumT,OutputT> withInputCoder(Combine.KeyedCombineFn<? super K,? super InputT,AccumT,OutputT> fn, CoderRegistry registry, KvCoder<K,InputT> kvCoder)
public Combine.KeyedCombineFn<K,InputT,AccumT,OutputT> getFn()