Interface INodeAttributes
- All Known Subinterfaces:
INodeDirectoryAttributes,INodeFileAttributes
- All Known Implementing Classes:
INode,INodeAttributes.SnapshotCopy,INodeDirectory,INodeDirectoryAttributes.CopyWithQuota,INodeDirectoryAttributes.SnapshotCopy,INodeFile,INodeFileAttributes.SnapshotCopy,INodeReference,INodeReference.DstReference,INodeReference.WithCount,INodeReference.WithName,INodeSymlink,INodeWithAdditionalFields,Snapshot.Root
@Private
public interface INodeAttributes
The attributes of an inode.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA read-only copy of the inode attributes. -
Method Summary
Modifier and TypeMethodDescriptionlongorg.apache.hadoop.fs.permission.FsPermissionshortbyte[]longlongboolean
-
Method Details
-
isDirectory
boolean isDirectory() -
getLocalNameBytes
byte[] getLocalNameBytes()- Returns:
- null if the local name is null; otherwise, return the local name byte array.
-
getUserName
String getUserName()- Returns:
- the user name.
-
getGroupName
String getGroupName()- Returns:
- the group name.
-
getFsPermission
org.apache.hadoop.fs.permission.FsPermission getFsPermission()- Returns:
- the permission.
-
getFsPermissionShort
short getFsPermissionShort()- Returns:
- the permission as a short.
-
getPermissionLong
long getPermissionLong()- Returns:
- the permission information as a long.
-
getAclFeature
AclFeature getAclFeature()- Returns:
- the ACL feature.
-
getXAttrFeature
XAttrFeature getXAttrFeature()- Returns:
- the XAttrs feature.
-
getModificationTime
long getModificationTime()- Returns:
- the modification time.
-
getAccessTime
long getAccessTime()- Returns:
- the access time.
-