@Experimental public class InProcessPipelineRunner extends PipelineRunner<InProcessPipelineRunner.InProcessPipelineResult>
PCollections.| Modifier and Type | Class and Description |
|---|---|
static interface |
InProcessPipelineRunner.CommittedBundle<T>
Part of a
PCollection. |
static class |
InProcessPipelineRunner.InProcessPipelineResult
The result of running a
Pipeline with the InProcessPipelineRunner. |
static interface |
InProcessPipelineRunner.PCollectionViewWriter<ElemT,ViewT>
A
InProcessPipelineRunner.PCollectionViewWriter is responsible for writing contents of a PCollection to
a storage mechanism that can be read from while constructing a PCollectionView. |
static interface |
InProcessPipelineRunner.UncommittedBundle<T>
Part of a
PCollection. |
| Modifier and Type | Method and Description |
|---|---|
<OutputT extends POutput,InputT extends PInput> |
apply(PTransform<InputT,OutputT> transform,
InputT input)
Applies a transform to the given input, returning the output.
|
static InProcessPipelineRunner |
fromOptions(PipelineOptions options) |
InProcessPipelineOptions |
getPipelineOptions()
Returns the
PipelineOptions used to create this InProcessPipelineRunner. |
InProcessPipelineRunner.InProcessPipelineResult |
run(Pipeline pipeline)
Processes the given Pipeline, returning the results.
|
public static InProcessPipelineRunner fromOptions(PipelineOptions options)
public InProcessPipelineOptions getPipelineOptions()
PipelineOptions used to create this InProcessPipelineRunner.public <OutputT extends POutput,InputT extends PInput> OutputT apply(PTransform<InputT,OutputT> transform, InputT input)
PipelineRunnerThe default implementation calls PTransform.apply(input), but can be overridden to customize behavior for a particular runner.
apply in class PipelineRunner<InProcessPipelineRunner.InProcessPipelineResult>public InProcessPipelineRunner.InProcessPipelineResult run(Pipeline pipeline)
PipelineRunnerrun in class PipelineRunner<InProcessPipelineRunner.InProcessPipelineResult>