public static class FSOMapFileLexicon.MapFileLexiconIterator extends Object implements Iterator<Map.Entry<String,LexiconEntry>>, Closeable
| Modifier and Type | Field and Description | 
|---|---|
| protected Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> | parent | 
| Constructor and Description | 
|---|
| FSOMapFileLexicon.MapFileLexiconIterator(Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)Construct an instance of the class with | 
| FSOMapFileLexicon.MapFileLexiconIterator(String filename,
                                        FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                        FixedSizeWriteableFactory<LexiconEntry> valueFactory)Construct an instance of the class with | 
| FSOMapFileLexicon.MapFileLexiconIterator(String structureName,
                                        IndexOnDisk index)Construct an instance of the class with | 
| FSOMapFileLexicon.MapFileLexiconIterator(String structureName,
                                        String path,
                                        String prefix,
                                        FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                        FixedSizeWriteableFactory<LexiconEntry> valueFactory)Construct an instance of the class with | 
protected Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> parent
public FSOMapFileLexicon.MapFileLexiconIterator(String structureName, IndexOnDisk index) throws IOException
structureName - index - IOExceptionpublic FSOMapFileLexicon.MapFileLexiconIterator(String structureName, String path, String prefix, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws IOException
structureName - path - prefix - keyFactory - valueFactory - IOExceptionpublic FSOMapFileLexicon.MapFileLexiconIterator(String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws IOException
filename - keyFactory - valueFactory - IOExceptionpublic FSOMapFileLexicon.MapFileLexiconIterator(Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
_parent - public boolean hasNext()
hasNext in interface Iterator<Map.Entry<String,LexiconEntry>>public Map.Entry<String,LexiconEntry> next()
next in interface Iterator<Map.Entry<String,LexiconEntry>>public void remove()
remove in interface Iterator<Map.Entry<String,LexiconEntry>>public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow