Class UfsDirectoryStatus


  • @NotThreadSafe
    public class UfsDirectoryStatus
    extends UfsStatus
    Information about a directory in the under file system.
    • Constructor Detail

      • UfsDirectoryStatus

        public UfsDirectoryStatus​(java.lang.String name,
                                  java.lang.String owner,
                                  java.lang.String group,
                                  short mode,
                                  java.lang.Long lastModifiedTimeMs,
                                  @Nullable
                                  java.util.Map<java.lang.String,​byte[]> xAttr)
        Creates new instance of UfsDirectoryStatus.
        Parameters:
        name - relative path of directory
        owner - of the directory
        group - of the directory
        mode - of the directory
        lastModifiedTimeMs - of the directory
        xAttr - extended attributes, if any
      • UfsDirectoryStatus

        public UfsDirectoryStatus​(java.lang.String name,
                                  java.lang.String owner,
                                  java.lang.String group,
                                  short mode,
                                  java.lang.Long lastModifiedTimeMs)
        Creates new instance of UfsDirectoryStatus.
        Parameters:
        name - relative path of directory
        owner - of the directory
        group - of the directory
        mode - of the directory
        lastModifiedTimeMs - of the directory
      • UfsDirectoryStatus

        public UfsDirectoryStatus​(java.lang.String name,
                                  java.lang.String owner,
                                  java.lang.String group,
                                  short mode)
        Creates new instance of UfsDirectoryStatus without providing last modified time or extended attributes.
        Parameters:
        name - relative path of directory
        owner - of the directory
        group - of the directory
        mode - of the directory
      • UfsDirectoryStatus

        public UfsDirectoryStatus​(UfsDirectoryStatus status)
        Creates a new instance of under directory information as a copy.
        Parameters:
        status - directory information to copy
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object