Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.permission | |
org.apache.hadoop.fs.viewfs |
Modifier and Type | Method and Description |
---|---|
void |
FilterFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
FileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
FileContext.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
ChecksumFileSystem.modifyAclEntries(Path src,
List<AclEntry> aclSpec) |
void |
AbstractFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec)
Modifies ACL entries of files and directories.
|
void |
FilterFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
FileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
FileContext.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
ChecksumFileSystem.removeAclEntries(Path src,
List<AclEntry> aclSpec) |
void |
AbstractFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec)
Removes ACL entries from files and directories.
|
void |
FilterFileSystem.setAcl(Path path,
List<AclEntry> aclSpec) |
void |
FileSystem.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
FileContext.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
void |
ChecksumFileSystem.setAcl(Path src,
List<AclEntry> aclSpec) |
void |
AbstractFileSystem.setAcl(Path path,
List<AclEntry> aclSpec)
Fully replaces ACL of files and directories, discarding all existing
entries.
|
Modifier and Type | Method and Description |
---|---|
AclEntry |
AclEntry.Builder.build()
Builds a new AclEntry populated with the set properties.
|
static AclEntry |
AclEntry.parseAclEntry(String aclStr,
boolean includePermission)
Parses a string representation of an ACL into a AclEntry object.
The expected format of ACL entries in the string parameter is the same format produced by the toStringStable() method. |
Modifier and Type | Method and Description |
---|---|
List<AclEntry> |
AclStatus.getEntries()
Returns the list of all ACL entries, ordered by their natural ordering.
|
static List<AclEntry> |
AclEntry.parseAclSpec(String aclSpec,
boolean includePermission)
Parses a string representation of an ACL spec into a list of AclEntry
objects.
|
Modifier and Type | Method and Description |
---|---|
AclStatus.Builder |
AclStatus.Builder.addEntry(AclEntry e)
Adds an ACL entry.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static String |
AclEntry.aclSpecToString(List<AclEntry> aclSpec)
Convert a List of AclEntries into a string - the reverse of parseAclSpec.
|
AclStatus.Builder |
AclStatus.Builder.addEntries(Iterable<AclEntry> entries)
Adds a list of ACL entries.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewFs.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.modifyAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFs.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.removeAclEntries(Path path,
List<AclEntry> aclSpec) |
void |
ViewFs.setAcl(Path path,
List<AclEntry> aclSpec) |
void |
ViewFileSystem.setAcl(Path path,
List<AclEntry> aclSpec) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.