public static class INodeFileAttributes.SnapshotCopy extends INodeAttributes.SnapshotCopy implements org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
INodeFileAttributes.SnapshotCopy| Constructor and Description |
|---|
SnapshotCopy(byte[] name,
org.apache.hadoop.fs.permission.PermissionStatus permissions,
org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature,
long modificationTime,
long accessTime,
Short replication,
Byte ecPolicyID,
long preferredBlockSize,
byte storagePolicyID,
org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature,
org.apache.hadoop.hdfs.protocol.BlockType blockType) |
SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hdfs.protocol.BlockType |
getBlockType() |
byte |
getErasureCodingPolicyID() |
short |
getFileReplication() |
long |
getHeaderLong() |
byte |
getLocalStoragePolicyID() |
long |
getPreferredBlockSize() |
boolean |
isDirectory() |
boolean |
isStriped() |
boolean |
metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes other) |
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeaturepublic SnapshotCopy(byte[] name,
org.apache.hadoop.fs.permission.PermissionStatus permissions,
org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature,
long modificationTime,
long accessTime,
Short replication,
Byte ecPolicyID,
long preferredBlockSize,
byte storagePolicyID,
org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature,
org.apache.hadoop.hdfs.protocol.BlockType blockType)
public SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file)
public boolean isDirectory()
isDirectory in interface org.apache.hadoop.hdfs.server.namenode.INodeAttributespublic short getFileReplication()
getFileReplication in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic boolean isStriped()
isStriped in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic org.apache.hadoop.hdfs.protocol.BlockType getBlockType()
getBlockType in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic byte getErasureCodingPolicyID()
getErasureCodingPolicyID in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic long getPreferredBlockSize()
getPreferredBlockSize in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic byte getLocalStoragePolicyID()
getLocalStoragePolicyID in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic long getHeaderLong()
getHeaderLong in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic boolean metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes other)
metadataEquals in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributesCopyright © 2008–2024 Apache Software Foundation. All rights reserved.