Class FSTreeWalk
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.TreeWalk
org.apache.hadoop.hdfs.server.namenode.FSTreeWalk
Traversal of an external FileSystem.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.server.namenode.TreeWalk
org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChildren(TreePath path, long id, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i) org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIteratoriterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
FSTreeWalk
- Throws:
IOException
-
-
Method Details
-
getChildren
protected Iterable<TreePath> getChildren(TreePath path, long id, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i) - Specified by:
getChildrenin classTreeWalk- Parameters:
path- path to the node being explored.id- the id of the node.i- theTreeWalk.TreeIteratorto use.- Returns:
- paths representing the children of the current node.
-
iterator
public org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator iterator()
-