public static class DirectRunner.DirectPipelineResult
extends java.lang.Object
implements org.apache.beam.sdk.PipelineResult
Pipeline with the DirectRunner.| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.PipelineResult.State |
cancel() |
org.apache.beam.sdk.PipelineResult.State |
getState() |
org.apache.beam.sdk.metrics.MetricResults |
metrics() |
org.apache.beam.sdk.PipelineResult.State |
waitUntilFinish()
.
|
org.apache.beam.sdk.PipelineResult.State |
waitUntilFinish(org.joda.time.Duration duration)
.
|
public org.apache.beam.sdk.PipelineResult.State getState()
getState in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.metrics.MetricResults metrics()
metrics in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.PipelineResult.State waitUntilFinish()
If the pipeline terminates abnormally by throwing an Exception, this will rethrow
the original Exception. Future calls to getState() will return PipelineResult.State.FAILED.
waitUntilFinish in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.PipelineResult.State cancel()
cancel in interface org.apache.beam.sdk.PipelineResultpublic org.apache.beam.sdk.PipelineResult.State waitUntilFinish(org.joda.time.Duration duration)
If the pipeline terminates abnormally by throwing an Exception, this will rethrow
the original Exception. Future calls to getState() will return PipelineResult.State.FAILED.
waitUntilFinish in interface org.apache.beam.sdk.PipelineResult