public class FlinkRunner extends PipelineRunner<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(PipelineOptions options)
Construct a runner from the provided options.
|
FlinkPipelineOptions |
getPipelineOptions()
For testing.
|
PipelineResult |
run(Pipeline pipeline)
Processes the given
Pipeline , potentially asynchronously, returning a runner-specific
type of result. |
java.lang.String |
toString() |
create, run, run
protected FlinkRunner(FlinkPipelineOptions options)
public static FlinkRunner fromOptions(PipelineOptions options)
options
- Properties which configure the runner.public PipelineResult run(Pipeline pipeline)
PipelineRunner
Pipeline
, potentially asynchronously, returning a runner-specific
type of result.run
in class PipelineRunner<PipelineResult>
public FlinkPipelineOptions getPipelineOptions()
public java.lang.String toString()
toString
in class java.lang.Object