Package org.apache.beam.runners.dataflow
Class DataflowRunnerHooks
- java.lang.Object
-
- org.apache.beam.runners.dataflow.DataflowRunnerHooks
-
public class DataflowRunnerHooks extends java.lang.ObjectAn instance of this class can be passed to theDataflowRunnerto add user defined hooks to be invoked at various times during pipeline execution.
-
-
Constructor Summary
Constructors Constructor Description DataflowRunnerHooks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmodifyEnvironmentBeforeSubmission(com.google.api.services.dataflow.model.Environment environment)Allows the user to modify the environment of their job before their job is submitted to the service for execution.
-
-
-
Method Detail
-
modifyEnvironmentBeforeSubmission
public void modifyEnvironmentBeforeSubmission(com.google.api.services.dataflow.model.Environment environment)
Allows the user to modify the environment of their job before their job is submitted to the service for execution.- Parameters:
environment- The environment of the job. Users can make change to this instance in order to change the environment with which their job executes on the service.
-
-