public static class DirectRunner.DirectPipelineResult extends Object implements PipelineResult
Pipeline with the DirectRunner.PipelineResult.State| Modifier and Type | Method and Description |
|---|---|
PipelineResult.State |
cancel() |
PipelineResult.State |
getState() |
MetricResults |
metrics() |
PipelineResult.State |
waitUntilFinish()
.
|
PipelineResult.State |
waitUntilFinish(org.joda.time.Duration duration)
.
|
public PipelineResult.State getState()
getState in interface PipelineResultpublic MetricResults metrics()
metrics in interface PipelineResultpublic 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 PipelineResultpublic PipelineResult.State cancel()
cancel in interface PipelineResultpublic 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 PipelineResultCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.