Interface FileStatus

    • Method Detail

      • getLen

        long getLen()
        Return the length of this file.
        Returns:
        the length of this file
      • getBlockSize

        long getBlockSize()
        Get the block size of the file.
        Returns:
        the number of bytes
      • getReplication

        short getReplication()
        Get the replication factor of a file.
        Returns:
        the replication factor of a file.
      • getModificationTime

        long getModificationTime()
        Get the modification time of the file.
        Returns:
        the modification time of file in milliseconds since January 1, 1970 UTC.
      • getAccessTime

        long getAccessTime()
        Get the access time of the file.
        Returns:
        the access time of file in milliseconds since January 1, 1970 UTC.
      • isDir

        boolean isDir()
        Checks if this object represents a directory.
        Returns:
        true if this is a directory, false otherwise
      • getPath

        Path getPath()
        Returns the corresponding Path to the FileStatus.
        Returns:
        the corresponding Path to the FileStatus