Class DataflowTemplateJob
java.lang.Object
org.apache.beam.runners.dataflow.DataflowPipelineJob
org.apache.beam.runners.dataflow.util.DataflowTemplateJob
- All Implemented Interfaces:
 PipelineResult
A 
DataflowPipelineJob that is returned when --templateRunner is set.- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.beam.sdk.PipelineResult
PipelineResult.State - 
Field Summary
Fields inherited from class org.apache.beam.runners.dataflow.DataflowPipelineJob
STATUS_BACKOFF_FACTORY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncancel()Cancels the pipeline execution.getJobId()Get the id of this job.Get the project this job exists in.Returns a newDataflowPipelineJobfor the job that replaced this one, if applicable.getState()Retrieves the current state of the pipeline execution.metrics()Returns the object to access metrics from the pipeline.Methods inherited from class org.apache.beam.runners.dataflow.DataflowPipelineJob
getDataflowOptions, getPipelineProto, getRegion, getTransformStepNames, waitUntilFinish, waitUntilFinish, waitUntilFinish 
- 
Constructor Details
- 
DataflowTemplateJob
public DataflowTemplateJob() 
 - 
 - 
Method Details
- 
getJobId
Description copied from class:DataflowPipelineJobGet the id of this job.- Overrides:
 getJobIdin classDataflowPipelineJob
 - 
getProjectId
Description copied from class:DataflowPipelineJobGet the project this job exists in.- Overrides:
 getProjectIdin classDataflowPipelineJob
 - 
getReplacedByJob
Description copied from class:DataflowPipelineJobReturns a newDataflowPipelineJobfor the job that replaced this one, if applicable.- Overrides:
 getReplacedByJobin classDataflowPipelineJob
 - 
metrics
Description copied from interface:PipelineResultReturns the object to access metrics from the pipeline.- Specified by:
 metricsin interfacePipelineResult- Overrides:
 metricsin classDataflowPipelineJob
 - 
cancel
Description copied from interface:PipelineResultCancels the pipeline execution.- Specified by:
 cancelin interfacePipelineResult- Overrides:
 cancelin classDataflowPipelineJob
 - 
getState
Description copied from interface:PipelineResultRetrieves the current state of the pipeline execution.- Specified by:
 getStatein interfacePipelineResult- Overrides:
 getStatein classDataflowPipelineJob- Returns:
 - the 
PipelineResult.Staterepresenting the state of this pipeline. 
 
 -