Class INodeDirectoryAttributes.SnapshotCopy
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy
- All Implemented Interfaces:
INodeAttributes,INodeDirectoryAttributes
- Direct Known Subclasses:
INodeDirectoryAttributes.CopyWithQuota
- Enclosing interface:
- INodeDirectoryAttributes
public static class INodeDirectoryAttributes.SnapshotCopy
extends INodeAttributes.SnapshotCopy
implements INodeDirectoryAttributes
A copy of the inode directory attributes
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeAttributes
INodeAttributes.SnapshotCopyNested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes
INodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopy -
Constructor Summary
ConstructorsConstructorDescriptionSnapshotCopy(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, AclFeature aclFeature, long modificationTime, XAttrFeature xAttrsFeature) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods inherited from class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeatureMethods 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
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeature
-
Constructor Details
-
SnapshotCopy
public SnapshotCopy(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, AclFeature aclFeature, long modificationTime, XAttrFeature xAttrsFeature) -
SnapshotCopy
-
-
Method Details
-
getQuotaCounts
- Specified by:
getQuotaCountsin interfaceINodeDirectoryAttributes
-
isDirectory
public boolean isDirectory()- Specified by:
isDirectoryin interfaceINodeAttributes
-
metadataEquals
- Specified by:
metadataEqualsin interfaceINodeDirectoryAttributes
-