public class FlinkRunner
extends org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>
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.| Modifier | Constructor and Description |
|---|---|
protected |
FlinkRunner(FlinkPipelineOptions options) |
| Modifier and Type | Method and 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() |
protected FlinkRunner(FlinkPipelineOptions options)
public static FlinkRunner fromOptions(org.apache.beam.sdk.options.PipelineOptions options)
options - Properties which configure the runner.public org.apache.beam.sdk.PipelineResult run(org.apache.beam.sdk.Pipeline pipeline)
run in class org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>public FlinkPipelineOptions getPipelineOptions()
public java.lang.String toString()
toString in class java.lang.Object