Class FlinkExecutableStagePruningFunction

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.flink.api.common.functions.FlatMapFunction<org.apache.beam.sdk.transforms.join.RawUnionValue,​org.apache.beam.sdk.values.WindowedValue<?>>, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction

    public class FlinkExecutableStagePruningFunction
    extends org.apache.flink.api.common.functions.RichFlatMapFunction<org.apache.beam.sdk.transforms.join.RawUnionValue,​org.apache.beam.sdk.values.WindowedValue<?>>
    A Flink function that demultiplexes output from a FlinkExecutableStageFunction.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flatMap​(org.apache.beam.sdk.transforms.join.RawUnionValue rawUnionValue, org.apache.flink.util.Collector<org.apache.beam.sdk.values.WindowedValue<?>> collector)  
      void open​(org.apache.flink.configuration.Configuration parameters)  
      • Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction

        close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
      • Methods inherited from class java.lang.Object

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

      • FlinkExecutableStagePruningFunction

        public FlinkExecutableStagePruningFunction​(int unionTag,
                                                   org.apache.beam.sdk.options.PipelineOptions pipelineOptions)
        Creates a FlinkExecutableStagePruningFunction that extracts elements of the given union tag.
    • Method Detail

      • open

        public void open​(org.apache.flink.configuration.Configuration parameters)
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        open in class org.apache.flink.api.common.functions.AbstractRichFunction
      • flatMap

        public void flatMap​(org.apache.beam.sdk.transforms.join.RawUnionValue rawUnionValue,
                            org.apache.flink.util.Collector<org.apache.beam.sdk.values.WindowedValue<?>> collector)
        Specified by:
        flatMap in interface org.apache.flink.api.common.functions.FlatMapFunction<org.apache.beam.sdk.transforms.join.RawUnionValue,​org.apache.beam.sdk.values.WindowedValue<?>>
        Specified by:
        flatMap in class org.apache.flink.api.common.functions.RichFlatMapFunction<org.apache.beam.sdk.transforms.join.RawUnionValue,​org.apache.beam.sdk.values.WindowedValue<?>>