private static class SnapshotScannerHDFSAclHelper.HDFSAclOperation extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType |
private static interface |
SnapshotScannerHDFSAclHelper.HDFSAclOperation.Operation |
(package private) static class |
SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType |
Modifier and Type | Field and Description |
---|---|
private List<org.apache.hadoop.fs.permission.AclEntry> |
accessAclEntries |
private SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType |
aclType |
private List<org.apache.hadoop.fs.permission.AclEntry> |
defaultAclEntries |
private List<org.apache.hadoop.fs.permission.AclEntry> |
defaultAndAccessAclEntries |
private org.apache.hadoop.fs.FileSystem |
fs |
private SnapshotScannerHDFSAclHelper.HDFSAclOperation.Operation |
operation |
private org.apache.hadoop.fs.Path |
path |
private boolean |
recursive |
Constructor and Description |
---|
HDFSAclOperation(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
Set<String> users,
SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType operationType,
boolean recursive,
SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType) |
HDFSAclOperation(org.apache.hadoop.fs.Path path,
SnapshotScannerHDFSAclHelper.HDFSAclOperation parent) |
Modifier and Type | Method and Description |
---|---|
private List<org.apache.hadoop.fs.permission.AclEntry> |
getAclEntries(SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType,
Set<String> users) |
(package private) List<SnapshotScannerHDFSAclHelper.HDFSAclOperation> |
getChildAclOperations() |
(package private) void |
handleAcl() |
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path path
private SnapshotScannerHDFSAclHelper.HDFSAclOperation.Operation operation
private boolean recursive
private SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType
private List<org.apache.hadoop.fs.permission.AclEntry> defaultAndAccessAclEntries
private List<org.apache.hadoop.fs.permission.AclEntry> accessAclEntries
private List<org.apache.hadoop.fs.permission.AclEntry> defaultAclEntries
HDFSAclOperation(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, Set<String> users, SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType operationType, boolean recursive, SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType)
HDFSAclOperation(org.apache.hadoop.fs.Path path, SnapshotScannerHDFSAclHelper.HDFSAclOperation parent)
List<SnapshotScannerHDFSAclHelper.HDFSAclOperation> getChildAclOperations() throws IOException
IOException
void handleAcl() throws IOException
IOException
private List<org.apache.hadoop.fs.permission.AclEntry> getAclEntries(SnapshotScannerHDFSAclHelper.HDFSAclOperation.AclType aclType, Set<String> users)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.