public interface PipelineExecution extends com.google.common.util.concurrent.ListenableFuture<PipelineResult>
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | PipelineExecution.Status | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | getNamedDotFiles()Returns all .dot files that allows a client to graph the Crunch execution plan internals. | 
| String | getPlanDotFile()Returns the .dot file that allows a client to graph the Crunch execution plan for this
 pipeline. | 
| PipelineResult | getResult()Retrieve the result of a pipeline if it has been completed, otherwise  null. | 
| PipelineExecution.Status | getStatus() | 
| void | kill()Kills the pipeline if it is running, no-op otherwise. | 
| void | waitFor(long timeout,
       TimeUnit timeUnit)Blocks until pipeline completes or the specified waiting time elapsed. | 
| void | waitUntilDone()Blocks until pipeline completes, i.e. | 
String getPlanDotFile()
Map<String,String> getNamedDotFiles()
void waitFor(long timeout,
             TimeUnit timeUnit)
      throws InterruptedException
InterruptedExceptionvoid waitUntilDone()
            throws InterruptedException
SUCCEEDED, FAILED or KILLED.InterruptedExceptionPipelineExecution.Status getStatus()
PipelineResult getResult()
null.void kill() throws InterruptedException
waitUntilDone() after this call.InterruptedExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.