Example usage for Java org.apache.hadoop.fs.permission FsPermission fields, constructors, methods, implement or subclass
The text is from its open source code.
String | UMASK_LABEL |
int | DEFAULT_UMASK |
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) |
FsPermission | applyUMask(FsPermission umask) Apply a umask to this permission and return a new one. |
FsPermission | createImmutable(short permission) Create an immutable FsPermission object. |
boolean | equals(Object obj) |
void | fromShort(short n) |
boolean | getAclBit() Returns true if there is also an ACL (access control list). |
FsPermission | getCachePoolDefault() Get the default permission for cache pools. |
FsPermission | getDefault() Get the default permission for directory and symlink. |
FsPermission | getDirDefault() Get the default permission for directory. |
boolean | getEncryptedBit() Returns true if the file is encrypted or directory is in an encryption zone |
FsPermission | getFileDefault() Get the default permission for file. |
FsAction | getGroupAction() Return group FsAction . |
FsAction | getOtherAction() Return other FsAction . |
boolean | getStickyBit() |
FsPermission | getUMask(Configuration conf) Get the user file creation mask (umask) UMASK_LABEL config param has umask value that is either symbolic or octal. |
FsAction | getUserAction() Return user FsAction . |
FsPermission | read(DataInput in) Create and initialize a FsPermission from DataInput . |
void | setUMask(Configuration conf, FsPermission umask) Set the user file creation mask (umask) |
short | toShort() Encode the object to a short. |
String | toString() |
FsPermission | valueOf(String unixSymbolicPermission) Create a FsPermission from a Unix symbolic permission string |