@InterfaceAudience.Public @InterfaceStability.Unstable public static interface AuthorizationProvider.INodeAuthorizationInfo
AuthorizationProvider| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hdfs.server.namenode.AclFeature |
getAclFeature(int snapshotId)
Return the inode ACL feature for the specified snapshot.
|
org.apache.hadoop.fs.permission.FsPermission |
getFsPermission(int snapshotId)
Return the inode permission for the specified snapshot.
|
String |
getFullPathName()
Return the inode full path.
|
String |
getGroupName(int snapshotId)
Return the inode group for the specified snapshot.
|
long |
getId()
Return the inode unique ID.
|
String |
getLocalName()
Return the inode path element name.
|
AuthorizationProvider.INodeAuthorizationInfo |
getParent()
Return the parent inode.
|
String |
getUserName(int snapshotId)
Return the inode user for the specified snapshot.
|
boolean |
isDirectory()
Return if the inode is a directory or not.
|
long getId()
String getLocalName()
AuthorizationProvider.INodeAuthorizationInfo getParent()
String getFullPathName()
boolean isDirectory()
TRUE if the inode is a directory,
FALSE otherwise.String getUserName(int snapshotId)
snapshotId - a snapshot ID or AuthorizationProvider.CURRENT_STATE_ID for latest
value.String getGroupName(int snapshotId)
snapshotId - a snapshot ID or AuthorizationProvider.CURRENT_STATE_ID for latest
value.org.apache.hadoop.fs.permission.FsPermission getFsPermission(int snapshotId)
snapshotId - a snapshot ID or AuthorizationProvider.CURRENT_STATE_ID for latest
value.org.apache.hadoop.hdfs.server.namenode.AclFeature getAclFeature(int snapshotId)
snapshotId - a snapshot ID or AuthorizationProvider.CURRENT_STATE_ID for latest
value.Copyright © 2015 Apache Software Foundation. All Rights Reserved.