public class FlinkJobInvoker extends java.lang.Object implements JobInvoker
FlinkRunner
.Modifier and Type | Method and Description |
---|---|
static FlinkJobInvoker |
create(org.apache.beam.vendor.guava.v20_0.com.google.common.util.concurrent.ListeningExecutorService executorService,
FlinkJobServerDriver.ServerConfiguration serverConfig) |
JobInvocation |
invoke(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline,
org.apache.beam.vendor.grpc.v1p13p1.com.google.protobuf.Struct options,
java.lang.String retrievalToken)
Start running a job, abstracting its state as a
JobInvocation instance. |
public static FlinkJobInvoker create(org.apache.beam.vendor.guava.v20_0.com.google.common.util.concurrent.ListeningExecutorService executorService, FlinkJobServerDriver.ServerConfiguration serverConfig)
public JobInvocation invoke(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.vendor.grpc.v1p13p1.com.google.protobuf.Struct options, @Nullable java.lang.String retrievalToken) throws java.io.IOException
JobInvoker
JobInvocation
instance.invoke
in interface JobInvoker
java.io.IOException