Class FlinkRunner


  • public class FlinkRunner
    extends org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>
    A PipelineRunner that executes the operations in the pipeline by first translating them to a Flink Plan and then executing them either locally or on a Flink cluster, depending on the configuration.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FlinkRunner fromOptions​(org.apache.beam.sdk.options.PipelineOptions options)
      Construct a runner from the provided options.
      FlinkPipelineOptions getPipelineOptions()
      For testing.
      org.apache.beam.sdk.PipelineResult run​(org.apache.beam.sdk.Pipeline pipeline)  
      java.lang.String toString()  
      • Methods inherited from class org.apache.beam.sdk.PipelineRunner

        create, run, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • fromOptions

        public static FlinkRunner fromOptions​(org.apache.beam.sdk.options.PipelineOptions options)
        Construct a runner from the provided options.
        Parameters:
        options - Properties which configure the runner.
        Returns:
        The newly created runner.
      • run

        public org.apache.beam.sdk.PipelineResult run​(org.apache.beam.sdk.Pipeline pipeline)
        Specified by:
        run in class org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object