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