| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.permission |
This package provides support for HDFS permission and ACL.
|
| org.apache.hadoop.fs.viewfs |
ViewFileSystem and ViewFileSystemOverloadScheme classes.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractFileSystem.access(Path path,
FsAction mode) |
The specification of this method matches that of
FileContext.access(Path, FsAction)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path. |
void |
FileContext.access(Path path,
FsAction mode) |
Checks if the user can access a path.
|
void |
FileSystem.access(Path path,
FsAction mode) |
Checks if the user can access a path.
|
void |
FilterFileSystem.access(Path path,
FsAction mode) |
|
void |
FilterFs.access(Path path,
FsAction mode) |
| Modifier and Type | Method | Description |
|---|---|---|
FsAction |
FsAction.and(FsAction that) |
AND operation.
|
FsAction |
AclStatus.getEffectivePermission(AclEntry entry) |
Get the effective permission for the AclEntry
|
FsAction |
AclStatus.getEffectivePermission(AclEntry entry,
FsPermission permArg) |
Get the effective permission for the AclEntry.
|
static FsAction |
FsAction.getFsAction(java.lang.String permission) |
Get the FsAction enum for String representation of permissions
|
FsAction |
FsPermission.getGroupAction() |
|
FsAction |
FsPermission.getOtherAction() |
|
FsAction |
AclEntry.getPermission() |
Returns the set of permissions in the ACL entry.
|
FsAction |
FsPermission.getUserAction() |
|
FsAction |
FsAction.not() |
NOT operation.
|
FsAction |
FsAction.or(FsAction that) |
OR operation.
|
static FsAction |
FsAction.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FsAction[] |
FsAction.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
FsAction |
FsAction.and(FsAction that) |
AND operation.
|
boolean |
FsAction.implies(FsAction that) |
Return true if this action implies that action.
|
FsAction |
FsAction.or(FsAction that) |
OR operation.
|
AclEntry.Builder |
AclEntry.Builder.setPermission(FsAction permission) |
Sets the set of permissions in the ACL entry.
|
| Constructor | Description |
|---|---|
FsPermission(FsAction u,
FsAction g,
FsAction o) |
Construct by the given
FsAction. |
FsPermission(FsAction u,
FsAction g,
FsAction o,
boolean sb) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ViewFileSystem.access(Path path,
FsAction mode) |
|
void |
ViewFs.access(Path path,
FsAction mode) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.