Package org.apache.beam.runners.direct
Class DirectRunner.DirectPipelineResult
- java.lang.Object
-
- org.apache.beam.runners.direct.DirectRunner.DirectPipelineResult
-
- All Implemented Interfaces:
org.apache.beam.sdk.PipelineResult
- Enclosing class:
- DirectRunner
public static class DirectRunner.DirectPipelineResult extends java.lang.Object implements org.apache.beam.sdk.PipelineResultThe result of running aPipelinewith theDirectRunner.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.PipelineResult.Statecancel()org.apache.beam.sdk.PipelineResult.StategetState()org.apache.beam.sdk.metrics.MetricResultsmetrics()org.apache.beam.sdk.PipelineResult.StatewaitUntilFinish().org.apache.beam.sdk.PipelineResult.StatewaitUntilFinish(org.joda.time.Duration duration).
-
-
-
Method Detail
-
getState
public org.apache.beam.sdk.PipelineResult.State getState()
- Specified by:
getStatein interfaceorg.apache.beam.sdk.PipelineResult
-
metrics
public org.apache.beam.sdk.metrics.MetricResults metrics()
- Specified by:
metricsin interfaceorg.apache.beam.sdk.PipelineResult
-
waitUntilFinish
public org.apache.beam.sdk.PipelineResult.State waitUntilFinish()
.If the pipeline terminates abnormally by throwing an
Exception, this will rethrow the originalException. Future calls togetState()will returnPipelineResult.State.FAILED.- Specified by:
waitUntilFinishin interfaceorg.apache.beam.sdk.PipelineResult
-
cancel
public org.apache.beam.sdk.PipelineResult.State cancel()
- Specified by:
cancelin interfaceorg.apache.beam.sdk.PipelineResult
-
waitUntilFinish
public 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 originalException. Future calls togetState()will returnPipelineResult.State.FAILED.- Specified by:
waitUntilFinishin interfaceorg.apache.beam.sdk.PipelineResult
-
-