public static class INodeFileAttributes.SnapshotCopy extends INodeAttributes.SnapshotCopy implements org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
INodeFileAttributes.SnapshotCopy
Constructor and Description |
---|
INodeFileAttributes.SnapshotCopy(byte[] name,
org.apache.hadoop.fs.permission.PermissionStatus permissions,
org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature,
long modificationTime,
long accessTime,
short replication,
long preferredBlockSize,
byte storagePolicyID,
org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature) |
INodeFileAttributes.SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file) |
Modifier and Type | Method and Description |
---|---|
short |
getFileReplication() |
long |
getHeaderLong() |
byte |
getLocalStoragePolicyID() |
long |
getPreferredBlockSize() |
boolean |
isDirectory() |
boolean |
metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes other) |
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeature
public INodeFileAttributes.SnapshotCopy(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature, long modificationTime, long accessTime, short replication, long preferredBlockSize, byte storagePolicyID, org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature)
public INodeFileAttributes.SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file)
public boolean isDirectory()
isDirectory
in interface org.apache.hadoop.hdfs.server.namenode.INodeAttributes
public short getFileReplication()
getFileReplication
in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
public long getPreferredBlockSize()
getPreferredBlockSize
in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
public byte getLocalStoragePolicyID()
getLocalStoragePolicyID
in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
public long getHeaderLong()
getHeaderLong
in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
public boolean metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes other)
metadataEquals
in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
Copyright © 2017 Apache Software Foundation. All Rights Reserved.