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
IOExceptionpublic int getCallsMade()
public boolean hasNext()
RemoteIteratorhasNext in interface RemoteIterator<Path>public Path next() throws IOException
RemoteIteratornext in interface RemoteIterator<Path>IOException - if any IO error occursCopyright © 2013 Apache Software Foundation. All rights reserved.