Class HadoopFsRecoverable

  • All Implemented Interfaces:
    org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable, org.apache.flink.core.fs.RecoverableWriter.ResumeRecoverable

    @Internal
    public class HadoopFsRecoverable
    extends Object
    implements org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable, org.apache.flink.core.fs.RecoverableWriter.ResumeRecoverable
    An implementation of the resume and commit descriptor objects for Hadoop's/AzureBlob file system abstraction.
    • Constructor Detail

      • HadoopFsRecoverable

        public HadoopFsRecoverable​(org.apache.hadoop.fs.Path targetFile,
                                   org.apache.hadoop.fs.Path tempFile,
                                   long offset)
        Creates a resumable for the given file at the given position.
        Parameters:
        targetFile - The file to resume.
        offset - The position to resume from.
    • Method Detail

      • targetFile

        public org.apache.hadoop.fs.Path targetFile()
      • tempFile

        public org.apache.hadoop.fs.Path tempFile()
      • offset

        public long offset()