ResultT
- the type of the result of run(org.apache.beam.sdk.Pipeline)
, often a handle to a running job.public abstract class PipelineRunner<ResultT extends PipelineResult>
extends java.lang.Object
PipelineRunner
runs a Pipeline
.Constructor and Description |
---|
PipelineRunner() |
Modifier and Type | Method and Description |
---|---|
static PipelineRunner<? extends PipelineResult> |
fromOptions(PipelineOptions options)
Constructs a runner from the provided
PipelineOptions . |
abstract ResultT |
run(Pipeline pipeline)
Processes the given
Pipeline , potentially asynchronously, returning a runner-specific
type of result. |
public static PipelineRunner<? extends PipelineResult> fromOptions(PipelineOptions options)
PipelineOptions
.