public class SparkJobInvoker extends JobInvoker
Modifier and Type | Method and Description |
---|---|
static SparkJobInvoker |
create(SparkJobServerDriver.SparkServerConfiguration configuration) |
protected JobInvocation |
invokeWithExecutor(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline,
org.apache.beam.vendor.grpc.v1p26p0.com.google.protobuf.Struct options,
@Nullable java.lang.String retrievalToken,
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.ListeningExecutorService executorService)
Start running a job, abstracting its state as a
JobInvocation instance. |
public static SparkJobInvoker create(SparkJobServerDriver.SparkServerConfiguration configuration)
protected JobInvocation invokeWithExecutor(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline, org.apache.beam.vendor.grpc.v1p26p0.com.google.protobuf.Struct options, @Nullable java.lang.String retrievalToken, org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.ListeningExecutorService executorService)
JobInvoker
JobInvocation
instance.invokeWithExecutor
in class JobInvoker