Class FsPermissionExtension

java.lang.Object
org.apache.hadoop.fs.permission.FsPermission
org.apache.hadoop.hdfs.protocol.FsPermissionExtension
All Implemented Interfaces:
ObjectInputValidation, Serializable, org.apache.hadoop.io.Writable

@Deprecated @Private public class FsPermissionExtension extends org.apache.hadoop.fs.permission.FsPermission
Deprecated.
ACLs, encryption, and erasure coding are managed on FileStatus.
See Also:
  • Field Summary

    Fields inherited from class org.apache.hadoop.fs.permission.FsPermission

    DEFAULT_UMASK, MAX_PERMISSION_LENGTH, UMASK_LABEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Creates a new FsPermissionExtension by calling the base class constructor.
    FsPermissionExtension(org.apache.hadoop.fs.permission.FsPermission perm, boolean hasAcl, boolean isEncrypted, boolean isErasureCoded)
    Deprecated.
    Constructs a new FsPermissionExtension based on the given FsPermission.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    short
    Deprecated.
     

    Methods inherited from class org.apache.hadoop.fs.permission.FsPermission

    applyUMask, createImmutable, fromShort, getCachePoolDefault, getDefault, getDirDefault, getFileDefault, getGroupAction, getMasked, getOtherAction, getStickyBit, getUMask, getUnmasked, getUserAction, read, readFields, setUMask, toOctal, toShort, toString, validateObject, valueOf, write

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FsPermissionExtension

      public FsPermissionExtension(org.apache.hadoop.fs.permission.FsPermission perm, boolean hasAcl, boolean isEncrypted, boolean isErasureCoded)
      Deprecated.
      Constructs a new FsPermissionExtension based on the given FsPermission.
      Parameters:
      perm - FsPermission containing permission bits
    • FsPermissionExtension

      public FsPermissionExtension(short perm)
      Deprecated.
      Creates a new FsPermissionExtension by calling the base class constructor.
      Parameters:
      perm - short containing permission bits
  • Method Details

    • toExtendedShort

      public short toExtendedShort()
      Deprecated.
      Overrides:
      toExtendedShort in class org.apache.hadoop.fs.permission.FsPermission
    • getAclBit

      public boolean getAclBit()
      Deprecated.
      Overrides:
      getAclBit in class org.apache.hadoop.fs.permission.FsPermission
    • getEncryptedBit

      public boolean getEncryptedBit()
      Deprecated.
      Overrides:
      getEncryptedBit in class org.apache.hadoop.fs.permission.FsPermission
    • getErasureCodedBit

      public boolean getErasureCodedBit()
      Deprecated.
      Overrides:
      getErasureCodedBit in class org.apache.hadoop.fs.permission.FsPermission
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class org.apache.hadoop.fs.permission.FsPermission
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class org.apache.hadoop.fs.permission.FsPermission