@Deprecated public static class Combine.SimpleCombineFn<V> extends Combine.IterableCombineFn<V>
SerializableFunction from Iterable<V>s to Vs into a simple
 Combine.CombineFn over Vs.
 @deprecated Use Combine.IterableCombineFn or the more space efficient Combine.BinaryCombineFn instead (which avoids buffering values).
| Modifier | Constructor and Description | 
|---|---|
| protected  | SimpleCombineFn(SerializableFunction<java.lang.Iterable<V>,V> combiner)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.reflect.TypeVariable<?> | getAccumTVariable()Returns the  TypeVariableofAccumT. | 
| Coder<AccumT> | getAccumulatorCoder(CoderRegistry registry,
                   Coder<InputT> inputCoder)Returns the  Coderto use for accumulatorAccumTvalues, or null if it is not
 able to be inferred. | 
| Coder<OutputT> | getDefaultOutputCoder(CoderRegistry registry,
                     Coder<InputT> inputCoder)Returns the  Coderto use by default for outputOutputTvalues, or null if it
 is not able to be inferred. | 
| java.lang.String | getIncompatibleGlobalWindowErrorMessage()Returns the error message for not supported default values in Combine.globally(). | 
| java.lang.reflect.TypeVariable<?> | getInputTVariable()Returns the  TypeVariableofInputT. | 
| java.lang.reflect.TypeVariable<?> | getOutputTVariable()Returns the  TypeVariableofOutputT. | 
| static <V> Combine.SimpleCombineFn<V> | of(SerializableFunction<java.lang.Iterable<V>,V> combiner)Deprecated.  Returns a  CombineFnthat uses the givenSerializableFunctionto combine
 values. | 
addInput, compact, createAccumulator, extractOutput, getNameOverride, mergeAccumulators, of, populateDisplayDataapply, defaultValue, getInputType, getOutputTypeprotected SimpleCombineFn(SerializableFunction<java.lang.Iterable<V>,V> combiner)
public static <V> Combine.SimpleCombineFn<V> of(SerializableFunction<java.lang.Iterable<V>,V> combiner)
CombineFn that uses the given SerializableFunction to combine
 values.public Coder<AccumT> getAccumulatorCoder(CoderRegistry registry, Coder<InputT> inputCoder) throws CannotProvideCoderException
CombineFnBase.GlobalCombineFnCoder to use for accumulator AccumT values, or null if it is not
 able to be inferred.
 By default, uses the knowledge of the Coder being used for InputT values
 and the enclosing Pipeline's CoderRegistry to try to infer the Coder for
 AccumT values.
 
This is the Coder used to send data through a communication-intensive shuffle step, so a compact and efficient representation may have significant performance benefits.
getAccumulatorCoder in interface CombineFnBase.GlobalCombineFn<InputT,AccumT,OutputT>CannotProvideCoderExceptionpublic Coder<OutputT> getDefaultOutputCoder(CoderRegistry registry, Coder<InputT> inputCoder) throws CannotProvideCoderException
CombineFnBase.GlobalCombineFnCoder to use by default for output OutputT values, or null if it
 is not able to be inferred.
 By default, uses the knowledge of the Coder being used for input InputT
 values and the enclosing Pipeline's CoderRegistry to try to infer the Coder
 for OutputT values.
getDefaultOutputCoder in interface CombineFnBase.GlobalCombineFn<InputT,AccumT,OutputT>CannotProvideCoderExceptionpublic java.lang.String getIncompatibleGlobalWindowErrorMessage()
CombineFnBase.GlobalCombineFngetIncompatibleGlobalWindowErrorMessage in interface CombineFnBase.GlobalCombineFn<InputT,AccumT,OutputT>public java.lang.reflect.TypeVariable<?> getInputTVariable()
TypeVariable of InputT.public java.lang.reflect.TypeVariable<?> getAccumTVariable()
TypeVariable of AccumT.public java.lang.reflect.TypeVariable<?> getOutputTVariable()
TypeVariable of OutputT.