DataflowPipelineRunnerHooks (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class DataflowPipelineRunnerHooks

  • java.lang.Object

  • @Experimental
    public class DataflowPipelineRunnerHooks
    extends Object
    An instance of this class can be passed to the DataflowPipelineRunner to add user defined hooks to be invoked at various times during pipeline execution.
    • Constructor Detail

      • DataflowPipelineRunnerHooks

        public DataflowPipelineRunnerHooks()
    • Method Detail

      • modifyEnvironmentBeforeSubmission

        public void modifyEnvironmentBeforeSubmission( environment)
        Allows the user to modify the environment of their job before their job is submitted to the service for execution.
        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.
      • shouldActuallyRunJob

        public boolean shouldActuallyRunJob()
        Allows the user to specify whether the job should actually be executed.
      • failOnJobFileWriteFailure

        public boolean failOnJobFileWriteFailure()
        Specifies whether the runner should fail if it fails to write to a job file.

Send feedback about...

Cloud Dataflow