Class InputOutputFormatVertex

java.lang.Object
org.apache.flink.runtime.jobgraph.JobVertex
org.apache.flink.runtime.jobgraph.InputOutputFormatVertex
All Implemented Interfaces:
Serializable

public class InputOutputFormatVertex extends JobVertex
A task vertex that runs an initialization and a finalization on the master. If necessary, it tries to deserialize input and output formats, and initialize and finalize them on master.
See Also:
  • Constructor Details

  • Method Details

    • initializeOnMaster

      public void initializeOnMaster(JobVertex.InitializeOnMasterContext context) throws Exception
      Description copied from class: JobVertex
      A hook that can be overwritten by sub classes to implement logic that is called by the master when the job starts.
      Overrides:
      initializeOnMaster in class JobVertex
      Parameters:
      context - Provides contextual information for the initialization
      Throws:
      Exception - The method may throw exceptions which cause the job to fail immediately.
    • finalizeOnMaster

      public void finalizeOnMaster(JobVertex.FinalizeOnMasterContext context) throws Exception
      Description copied from class: JobVertex
      A hook that can be overwritten by sub classes to implement logic that is called by the master after the job completed.
      Overrides:
      finalizeOnMaster in class JobVertex
      Parameters:
      context - Provides contextual information for the initialization
      Throws:
      Exception - The method may throw exceptions which cause the job to fail immediately.
    • getFormatDescription

      public String getFormatDescription(OperatorID operatorID)
    • setFormatDescription

      public void setFormatDescription(OperatorID operatorID, String formatDescription)