Class FileSystem.DirListingIterator<T extends org.apache.hadoop.fs.FileStatus>

  • All Implemented Interfaces:
    org.apache.hadoop.fs.RemoteIterator<T>
    Enclosing class:
    FileSystem

    protected class FileSystem.DirListingIterator<T extends org.apache.hadoop.fs.FileStatus>
    extends Object
    implements org.apache.hadoop.fs.RemoteIterator<T>
    Generic iterator for implementing FileSystem.listStatusIterator(Path).
    • Method Detail

      • hasNext

        public boolean hasNext()
                        throws IOException
        Specified by:
        hasNext in interface org.apache.hadoop.fs.RemoteIterator<T extends org.apache.hadoop.fs.FileStatus>
        Throws:
        IOException
      • next

        public T next()
               throws IOException
        Specified by:
        next in interface org.apache.hadoop.fs.RemoteIterator<T extends org.apache.hadoop.fs.FileStatus>
        Throws:
        IOException