Class FlinkStreamingAggregationsTranslators.ConcatenateAsIterable<T>

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.CombineFnBase.GlobalCombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>, org.apache.beam.sdk.transforms.display.HasDisplayData
    Enclosing class:
    FlinkStreamingAggregationsTranslators

    public static class FlinkStreamingAggregationsTranslators.ConcatenateAsIterable<T>
    extends org.apache.beam.sdk.transforms.Combine.CombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<T> addInput​(java.lang.Iterable<T> accumulator, T input)  
      java.lang.Iterable<T> createAccumulator()  
      java.lang.Iterable<T> extractOutput​(java.lang.Iterable<T> accumulator)  
      java.lang.reflect.TypeVariable<?> getAccumTVariable()  
      org.apache.beam.sdk.coders.Coder<java.lang.Iterable<T>> getAccumulatorCoder​(org.apache.beam.sdk.coders.CoderRegistry registry, org.apache.beam.sdk.coders.Coder<T> inputCoder)  
      org.apache.beam.sdk.coders.Coder<java.lang.Iterable<T>> getDefaultOutputCoder​(org.apache.beam.sdk.coders.CoderRegistry registry, org.apache.beam.sdk.coders.Coder<T> inputCoder)  
      java.lang.String getIncompatibleGlobalWindowErrorMessage()  
      java.lang.reflect.TypeVariable<?> getInputTVariable()  
      java.lang.reflect.TypeVariable<?> getOutputTVariable()  
      java.lang.Iterable<T> mergeAccumulators​(java.lang.Iterable<java.lang.Iterable<T>> accumulators)  
      void populateDisplayData​(org.apache.beam.sdk.transforms.display.DisplayData.Builder arg0)  
      • Methods inherited from class org.apache.beam.sdk.transforms.Combine.CombineFn

        apply, compact, defaultValue, getInputType, getOutputType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConcatenateAsIterable

        public ConcatenateAsIterable()
    • Method Detail

      • createAccumulator

        public java.lang.Iterable<T> createAccumulator()
        Specified by:
        createAccumulator in class org.apache.beam.sdk.transforms.Combine.CombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • addInput

        public java.lang.Iterable<T> addInput​(java.lang.Iterable<T> accumulator,
                                              T input)
        Specified by:
        addInput in class org.apache.beam.sdk.transforms.Combine.CombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • mergeAccumulators

        public java.lang.Iterable<T> mergeAccumulators​(java.lang.Iterable<java.lang.Iterable<T>> accumulators)
        Specified by:
        mergeAccumulators in class org.apache.beam.sdk.transforms.Combine.CombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • extractOutput

        public java.lang.Iterable<T> extractOutput​(java.lang.Iterable<T> accumulator)
        Specified by:
        extractOutput in class org.apache.beam.sdk.transforms.Combine.CombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • getAccumulatorCoder

        public org.apache.beam.sdk.coders.Coder<java.lang.Iterable<T>> getAccumulatorCoder​(org.apache.beam.sdk.coders.CoderRegistry registry,
                                                                                           org.apache.beam.sdk.coders.Coder<T> inputCoder)
        Specified by:
        getAccumulatorCoder in interface org.apache.beam.sdk.transforms.CombineFnBase.GlobalCombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • getDefaultOutputCoder

        public org.apache.beam.sdk.coders.Coder<java.lang.Iterable<T>> getDefaultOutputCoder​(org.apache.beam.sdk.coders.CoderRegistry registry,
                                                                                             org.apache.beam.sdk.coders.Coder<T> inputCoder)
        Specified by:
        getDefaultOutputCoder in interface org.apache.beam.sdk.transforms.CombineFnBase.GlobalCombineFn<T,​java.lang.Iterable<T>,​java.lang.Iterable<T>>
      • getIncompatibleGlobalWindowErrorMessage

        public java.lang.String getIncompatibleGlobalWindowErrorMessage()
        Specified by:
        getIncompatibleGlobalWindowErrorMessage in interface org.apache.beam.sdk.transforms.CombineFnBase.GlobalCombineFn<InputT extends java.lang.Object,​AccumT extends java.lang.Object,​OutputT extends java.lang.Object>
      • getInputTVariable

        public java.lang.reflect.TypeVariable<?> getInputTVariable()
      • getAccumTVariable

        public java.lang.reflect.TypeVariable<?> getAccumTVariable()
      • getOutputTVariable

        public java.lang.reflect.TypeVariable<?> getOutputTVariable()
      • populateDisplayData

        public void populateDisplayData​(org.apache.beam.sdk.transforms.display.DisplayData.Builder arg0)
        Specified by:
        populateDisplayData in interface org.apache.beam.sdk.transforms.display.HasDisplayData