Results - the type of the result of run(com.google.cloud.dataflow.sdk.Pipeline).public abstract class PipelineRunner<Results extends PipelineResult>
extends java.lang.Object
| Constructor and Description |
|---|
PipelineRunner() |
| Modifier and Type | Method and Description |
|---|---|
<Output extends POutput,Input extends PInput> |
apply(PTransform<Input,Output> transform,
Input input)
Applies a transform to the given input, returning the output.
|
static PipelineRunner<? extends PipelineResult> |
fromOptions(PipelineOptions options)
Constructs a runner from the provided options.
|
abstract Results |
run(Pipeline pipeline)
Processes the given Pipeline, returning the results.
|
public static PipelineRunner<? extends PipelineResult> fromOptions(PipelineOptions options)
public abstract Results run(Pipeline pipeline)
public <Output extends POutput,Input extends PInput> Output apply(PTransform<Input,Output> transform, Input input)
The default implementation calls PTransform.apply(input), but can be overridden to customize behavior for a particular runner.