Class INodeAttributes.SnapshotCopy
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
- All Implemented Interfaces:
INodeAttributes
- Direct Known Subclasses:
INodeDirectoryAttributes.SnapshotCopy,INodeFileAttributes.SnapshotCopy
- Enclosing interface:
- INodeAttributes
A read-only copy of the inode attributes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeAttributes
INodeAttributes.SnapshotCopy -
Method Summary
Modifier and TypeMethodDescriptionfinal longfinal org.apache.hadoop.fs.permission.FsPermissionfinal shortfinal Stringfinal byte[]final longlongfinal Stringfinal XAttrFeatureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeAttributes
isDirectory
-
Method Details
-
getLocalNameBytes
public final byte[] getLocalNameBytes()- Specified by:
getLocalNameBytesin interfaceINodeAttributes- Returns:
- null if the local name is null; otherwise, return the local name byte array.
-
getUserName
- Specified by:
getUserNamein interfaceINodeAttributes- Returns:
- the user name.
-
getGroupName
- Specified by:
getGroupNamein interfaceINodeAttributes- Returns:
- the group name.
-
getFsPermission
public final org.apache.hadoop.fs.permission.FsPermission getFsPermission()- Specified by:
getFsPermissionin interfaceINodeAttributes- Returns:
- the permission.
-
getFsPermissionShort
public final short getFsPermissionShort()- Specified by:
getFsPermissionShortin interfaceINodeAttributes- Returns:
- the permission as a short.
-
getPermissionLong
public long getPermissionLong()- Specified by:
getPermissionLongin interfaceINodeAttributes- Returns:
- the permission information as a long.
-
getAclFeature
- Specified by:
getAclFeaturein interfaceINodeAttributes- Returns:
- the ACL feature.
-
getModificationTime
public final long getModificationTime()- Specified by:
getModificationTimein interfaceINodeAttributes- Returns:
- the modification time.
-
getAccessTime
public final long getAccessTime()- Specified by:
getAccessTimein interfaceINodeAttributes- Returns:
- the access time.
-
getXAttrFeature
- Specified by:
getXAttrFeaturein interfaceINodeAttributes- Returns:
- the XAttrs feature.
-