@InterfaceAudience.Public @InterfaceStability.Unstable public class TreePath extends Object
Constructor and Description |
---|
TreePath(FileStatus stat,
long parentId,
org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i) |
TreePath(FileStatus stat,
long parentId,
org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i,
FileSystem fs,
AclStatus acls) |
Modifier and Type | Method and Description |
---|---|
void |
accept(long pathId) |
boolean |
equals(Object other) |
AclStatus |
getAclStatus() |
FileStatus |
getFileStatus() |
long |
getId() |
org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator |
getIterator() |
long |
getParentId() |
int |
hashCode() |
org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INode |
toINode(UGIResolver ugi,
BlockResolver blk,
org.apache.hadoop.hdfs.server.common.blockaliasmap.BlockAliasMap.Writer<FileRegion> out) |
String |
toString() |
@VisibleForTesting public TreePath(FileStatus stat, long parentId, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i)
public TreePath(FileStatus stat, long parentId, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i, FileSystem fs, AclStatus acls)
public FileStatus getFileStatus()
public AclStatus getAclStatus()
public long getParentId()
public org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator getIterator()
public long getId()
public void accept(long pathId)
public org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INode toINode(UGIResolver ugi, BlockResolver blk, org.apache.hadoop.hdfs.server.common.blockaliasmap.BlockAliasMap.Writer<FileRegion> out) throws IOException
IOException
Copyright © 2023 Apache Software Foundation. All rights reserved.