public class PrismRunner extends PipelineRunner<PipelineResult>
PipelineRunner executed on Prism. Downloads, prepares, and executes the Prism service
on behalf of the developer when PipelineRunner.run(org.apache.beam.sdk.Pipeline)ning the pipeline. If users want to
submit to an already running Prism service, use the PortableRunner with the PortablePipelineOptions.getJobEndpoint() option instead. Prism is a PortableRunner maintained at sdks/go/cmd/prism. For
testing, use TestPrismRunner.| Modifier | Constructor and Description |
|---|---|
protected |
PrismRunner(PrismPipelineOptions prismPipelineOptions) |
| Modifier and Type | Method and Description |
|---|---|
static PrismRunner |
fromOptions(PipelineOptions options)
Invoked from
Pipeline.run() where PrismRunner instantiates using PrismPipelineOptions configuration details. |
PipelineResult |
run(Pipeline pipeline)
Processes the given
Pipeline, potentially asynchronously, returning a runner-specific
type of result. |
create, run, runprotected PrismRunner(PrismPipelineOptions prismPipelineOptions)
public static PrismRunner fromOptions(PipelineOptions options)
Pipeline.run() where PrismRunner instantiates using PrismPipelineOptions configuration details.public PipelineResult run(Pipeline pipeline)
PipelineRunnerPipeline, potentially asynchronously, returning a runner-specific
type of result.run in class PipelineRunner<PipelineResult>