Class 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:
    Serialized Form
    • Constructor Detail

      • InputOutputFormatVertex

        public InputOutputFormatVertex​(String name)
    • Method Detail

      • 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)