public class CorruptFileBlockIterator extends Object implements RemoteIterator<Path>
Constructor and Description |
---|
CorruptFileBlockIterator(DFSClient dfs,
Path path) |
Modifier and Type | Method and Description |
---|---|
int |
getCallsMade() |
boolean |
hasNext()
Returns true if the iteration has more elements.
|
Path |
next()
Returns the next element in the iteration.
|
public CorruptFileBlockIterator(DFSClient dfs, Path path) throws IOException
IOException
public int getCallsMade()
public boolean hasNext()
RemoteIterator
hasNext
in interface RemoteIterator<Path>
public Path next() throws IOException
RemoteIterator
next
in interface RemoteIterator<Path>
IOException
- if any IO error occursCopyright © 2013 Apache Software Foundation. All rights reserved.