Class FSTreeWalk

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.TreeWalk
org.apache.hadoop.hdfs.server.namenode.FSTreeWalk
All Implemented Interfaces:
Iterable<TreePath>

@Public @Unstable public class FSTreeWalk extends TreeWalk
Traversal of an external FileSystem.
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • getChildren

      protected Iterable<TreePath> getChildren(TreePath path, long id, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i)
      Specified by:
      getChildren in class TreeWalk
      Parameters:
      path - path to the node being explored.
      id - the id of the node.
      i - the TreeWalk.TreeIterator to use.
      Returns:
      paths representing the children of the current node.
    • iterator

      public org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator iterator()
      Specified by:
      iterator in interface Iterable<TreePath>
      Specified by:
      iterator in class TreeWalk