Java org.apache.hadoop.fs.permission FsPermission fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.fs.permission FsPermission fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.fs.permission FsPermission.

The text is from its open source code.

Field

Constructor

FsPermission(short mode)
Construct by the given mode.
FsPermission(int mode)
Construct by the given mode.
FsPermission(FsPermission other)
Copy constructor
FsPermission(String mode)
Construct by given mode, either in octal or symbolic format.
FsPermission(FsAction u, FsAction g, FsAction o)
Construct by the given FsAction .
FsPermission(FsAction u, FsAction g, FsAction o, boolean sb)

Method

FsPermissionapplyUMask(FsPermission umask)
Apply a umask to this permission and return a new one.
FsPermissioncreateImmutable(short permission)
Create an immutable FsPermission object.
booleanequals(Object obj)
voidfromShort(short n)
booleangetAclBit()
Returns true if there is also an ACL (access control list).
FsPermissiongetCachePoolDefault()
Get the default permission for cache pools.
FsPermissiongetDefault()
Get the default permission for directory and symlink.
FsPermissiongetDirDefault()
Get the default permission for directory.
booleangetEncryptedBit()
Returns true if the file is encrypted or directory is in an encryption zone
FsPermissiongetFileDefault()
Get the default permission for file.
FsActiongetGroupAction()
Return group FsAction .
FsActiongetOtherAction()
Return other FsAction .
booleangetStickyBit()
FsPermissiongetUMask(Configuration conf)
Get the user file creation mask (umask) UMASK_LABEL config param has umask value that is either symbolic or octal.
FsActiongetUserAction()
Return user FsAction .
FsPermissionread(DataInput in)
Create and initialize a FsPermission from DataInput .
voidsetUMask(Configuration conf, FsPermission umask)
Set the user file creation mask (umask)
shorttoShort()
Encode the object to a short.
StringtoString()
FsPermissionvalueOf(String unixSymbolicPermission)
Create a FsPermission from a Unix symbolic permission string