public class INodesInPath extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.server.namenode.INode |
getINode(int i) |
org.apache.hadoop.hdfs.server.namenode.INode |
getLastINode() |
int |
getLatestSnapshotId()
For non-snapshot paths, return the latest snapshot id found in the path.
|
int |
getPathSnapshotId()
For snapshot paths, return the id of the snapshot specified in the path.
|
String |
toString() |
public static final org.apache.commons.logging.Log LOG
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()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.