public static class FSOrderedMapFile.EntryIterator<IK extends org.apache.hadoop.io.Writable,IV extends org.apache.hadoop.io.Writable> extends Object implements Iterator<Map.Entry<IK,IV>>, Closeable, Skipable
| Modifier and Type | Field and Description | 
|---|---|
| protected int | counter | 
| protected DataInput | di | 
| protected FixedSizeWriteableFactory<IK> | keyFactory | 
| protected int | numEntries | 
| protected FixedSizeWriteableFactory<IV> | valueFactory | 
| Constructor and Description | 
|---|
| FSOrderedMapFile.EntryIterator(String filename,
                              FixedSizeWriteableFactory<IK> _keyFactory,
                              FixedSizeWriteableFactory<IV> _valueFactory)constructor | 
protected DataInput di
protected int numEntries
protected int counter
protected FixedSizeWriteableFactory<IK extends org.apache.hadoop.io.Writable> keyFactory
protected FixedSizeWriteableFactory<IV extends org.apache.hadoop.io.Writable> valueFactory
public FSOrderedMapFile.EntryIterator(String filename, FixedSizeWriteableFactory<IK> _keyFactory, FixedSizeWriteableFactory<IV> _valueFactory) throws IOException
filename - _keyFactory - _valueFactory - IOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic boolean hasNext()
public void remove()
public void skip(int _numEntries)
          throws IOException
skip in interface Skipable_numEntries - number of entries to skipIOException - if an IO problem occurs.Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow