Class JobInvoker
java.lang.Object
org.apache.beam.runners.jobsubmission.JobInvoker
- Direct Known Subclasses:
FlinkJobInvoker
,SparkJobInvoker
Factory to create
JobInvocation
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract JobInvocation
invokeWithExecutor
(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.Struct options, String retrievalToken, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.util.concurrent.ListeningExecutorService executorService) Start running a job, abstracting its state as aJobInvocation
instance.
-
Constructor Details
-
JobInvoker
-
-
Method Details
-
invokeWithExecutor
protected abstract JobInvocation invokeWithExecutor(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.Struct options, @Nullable String retrievalToken, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.util.concurrent.ListeningExecutorService executorService) throws IOException Start running a job, abstracting its state as aJobInvocation
instance.- Throws:
IOException
-