public class INodesInPath extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
public static final org.apache.commons.logging.Log LOG
public static INodesInPath replace(INodesInPath iip, int pos, org.apache.hadoop.hdfs.server.namenode.INode inode)
pos - the position of the replacementinode - the new inodepublic static INodesInPath append(INodesInPath iip, org.apache.hadoop.hdfs.server.namenode.INode child, byte[] childName)
public int getLatestSnapshotId()
public int getPathSnapshotId()
Snapshot.CURRENT_STATE_ID.public org.apache.hadoop.hdfs.server.namenode.INode getINode(int i)
public org.apache.hadoop.hdfs.server.namenode.INode getLastINode()
public byte[][] getPathComponents()
public String getParentPath()
public List<String> getPath(int offset, int length)
offset - start endpoint (inclusive)length - number of path componentspublic int length()
public List<org.apache.hadoop.hdfs.server.namenode.INode> getReadOnlyINodes()
public org.apache.hadoop.hdfs.server.namenode.INode[] getINodesArray()
public INodesInPath getParentINodesInPath()
public INodesInPath getExistingINodes()
Copyright © 2018 CERN. All Rights Reserved.