Package org.apache.hadoop.hdfs.protocol
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
ConstructorsConstructorDescriptionFsPermissionExtension(short perm) 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 TypeMethodDescriptionbooleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.inthashCode()Deprecated.shortDeprecated.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
-
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:
toExtendedShortin classorg.apache.hadoop.fs.permission.FsPermission
-
getAclBit
public boolean getAclBit()Deprecated.- Overrides:
getAclBitin classorg.apache.hadoop.fs.permission.FsPermission
-
getEncryptedBit
public boolean getEncryptedBit()Deprecated.- Overrides:
getEncryptedBitin classorg.apache.hadoop.fs.permission.FsPermission
-
getErasureCodedBit
public boolean getErasureCodedBit()Deprecated.- Overrides:
getErasureCodedBitin classorg.apache.hadoop.fs.permission.FsPermission
-
equals
Deprecated.- Overrides:
equalsin classorg.apache.hadoop.fs.permission.FsPermission
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classorg.apache.hadoop.fs.permission.FsPermission
-