public class TestFlinkRunner extends PipelineRunner<PipelineResult>
Modifier and Type | Method and Description |
---|---|
static TestFlinkRunner |
create(boolean streaming) |
static TestFlinkRunner |
fromOptions(PipelineOptions options) |
PipelineOptions |
getPipelineOptions() |
PipelineResult |
run(Pipeline pipeline)
Processes the given
Pipeline , potentially asynchronously, returning a runner-specific
type of result. |
public static TestFlinkRunner fromOptions(PipelineOptions options)
public static TestFlinkRunner create(boolean streaming)
public PipelineResult run(Pipeline pipeline)
PipelineRunner
Pipeline
, potentially asynchronously, returning a runner-specific
type of result.run
in class PipelineRunner<PipelineResult>
public PipelineOptions getPipelineOptions()