Package org.terrier.structures
Class FSOMapFileLexicon.MapFileLexiconIterator
- java.lang.Object
-
- org.terrier.structures.FSOMapFileLexiconGeneric.MapFileLexiconIterator<java.lang.String,org.apache.hadoop.io.Text>
-
- org.terrier.structures.FSOMapFileLexicon.MapFileLexiconIterator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>>
- Enclosing class:
- FSOMapFileLexicon
public static class FSOMapFileLexicon.MapFileLexiconIterator extends FSOMapFileLexiconGeneric.MapFileLexiconIterator<java.lang.String,org.apache.hadoop.io.Text>
-
-
Field Summary
-
Fields inherited from class org.terrier.structures.FSOMapFileLexiconGeneric.MapFileLexiconIterator
parent
-
-
Constructor Summary
Constructors Constructor Description MapFileLexiconIterator(java.lang.String structureName, java.lang.String path, java.lang.String prefix, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory)
MapFileLexiconIterator(java.lang.String structureName, IndexOnDisk index)
MapFileLexiconIterator(java.lang.String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory)
MapFileLexiconIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map.Entry<java.lang.String,LexiconEntry>
next()
-
Methods inherited from class org.terrier.structures.FSOMapFileLexiconGeneric.MapFileLexiconIterator
close, hasNext, remove
-
-
-
-
Constructor Detail
-
MapFileLexiconIterator
public MapFileLexiconIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
-
MapFileLexiconIterator
public MapFileLexiconIterator(java.lang.String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
MapFileLexiconIterator
public MapFileLexiconIterator(java.lang.String structureName, IndexOnDisk index) throws java.io.IOException
- Throws:
java.io.IOException
-
MapFileLexiconIterator
public MapFileLexiconIterator(java.lang.String structureName, java.lang.String path, java.lang.String prefix, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
next
public java.util.Map.Entry<java.lang.String,LexiconEntry> next()
-
-