Class JobInvoker

java.lang.Object
org.apache.beam.runners.jobsubmission.JobInvoker
Direct Known Subclasses:
FlinkJobInvoker, SparkJobInvoker

public abstract class JobInvoker extends Object
Factory to create JobInvocation instances.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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 a JobInvocation instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JobInvoker

      protected JobInvoker(String name)
  • 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 a JobInvocation instance.
      Throws:
      IOException