Package org.terrier.structures
Class FSOMapFileLexicon.MapFileLexiconEntryIterator
- java.lang.Object
-
- org.terrier.structures.FSOMapFileLexiconGeneric.MapFileLexiconEntryIterator<org.apache.hadoop.io.Text>
-
- org.terrier.structures.FSOMapFileLexicon.MapFileLexiconEntryIterator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.util.Iterator<LexiconEntry>
,Skipable
- Enclosing class:
- FSOMapFileLexicon
public static class FSOMapFileLexicon.MapFileLexiconEntryIterator extends FSOMapFileLexiconGeneric.MapFileLexiconEntryIterator<org.apache.hadoop.io.Text>
-
-
Field Summary
-
Fields inherited from class org.terrier.structures.FSOMapFileLexiconGeneric.MapFileLexiconEntryIterator
internalIterator
-
-
Constructor Summary
Constructors Constructor Description MapFileLexiconEntryIterator(java.lang.String structureName, java.lang.String path, java.lang.String prefix, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory)
MapFileLexiconEntryIterator(java.lang.String structureName, IndexOnDisk index)
MapFileLexiconEntryIterator(java.lang.String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory)
MapFileLexiconEntryIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _internalIterator)
-
-
-
Constructor Detail
-
MapFileLexiconEntryIterator
public MapFileLexiconEntryIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _internalIterator)
-
MapFileLexiconEntryIterator
public MapFileLexiconEntryIterator(java.lang.String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
MapFileLexiconEntryIterator
public MapFileLexiconEntryIterator(java.lang.String structureName, IndexOnDisk index) throws java.io.IOException
- Throws:
java.io.IOException
-
MapFileLexiconEntryIterator
public MapFileLexiconEntryIterator(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
-
-