public static class DataflowPipelineTranslator.JobSpecification
extends java.lang.Object
Used to pass the result Job
and any state that was used to construct the job that
may be of use to other classes (eg the PTransform
to StepName mapping).
Constructor and Description |
---|
JobSpecification(Job job,
org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipelineProto,
java.util.Map<org.apache.beam.sdk.runners.AppliedPTransform<?,?,?>,java.lang.String> stepNames) |
Modifier and Type | Method and Description |
---|---|
Job |
getJob() |
org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline |
getPipelineProto() |
java.util.Map<org.apache.beam.sdk.runners.AppliedPTransform<?,?,?>,java.lang.String> |
getStepNames()
Returns the mapping of
AppliedPTransforms to the internal step name
for that AppliedPTransform . |
public JobSpecification(Job job, org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipelineProto, java.util.Map<org.apache.beam.sdk.runners.AppliedPTransform<?,?,?>,java.lang.String> stepNames)
public Job getJob()
public org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline getPipelineProto()
public java.util.Map<org.apache.beam.sdk.runners.AppliedPTransform<?,?,?>,java.lang.String> getStepNames()
AppliedPTransforms
to the internal step name
for that AppliedPTransform
.