|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.FSOMapFileLexicon.MapFileLexiconIterator
public static class FSOMapFileLexicon.MapFileLexiconIterator
An iterator over the lexicon
Field Summary | |
---|---|
protected java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> |
parent
|
Constructor Summary | |
---|---|
FSOMapFileLexicon.MapFileLexiconIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
Construct an instance of the class with |
|
FSOMapFileLexicon.MapFileLexiconIterator(java.lang.String filename,
FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with |
|
FSOMapFileLexicon.MapFileLexiconIterator(java.lang.String structureName,
Index index)
Construct an instance of the class with |
|
FSOMapFileLexicon.MapFileLexiconIterator(java.lang.String structureName,
java.lang.String path,
java.lang.String prefix,
FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with |
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
java.util.Map.Entry<java.lang.String,LexiconEntry> |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> parent
Constructor Detail |
---|
public FSOMapFileLexicon.MapFileLexiconIterator(java.lang.String structureName, Index index) throws java.io.IOException
structureName
- index
-
java.io.IOException
public FSOMapFileLexicon.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
structureName
- path
- prefix
- keyFactory
- valueFactory
-
java.io.IOException
public FSOMapFileLexicon.MapFileLexiconIterator(java.lang.String filename, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory, FixedSizeWriteableFactory<LexiconEntry> valueFactory) throws java.io.IOException
filename
- keyFactory
- valueFactory
-
java.io.IOException
public FSOMapFileLexicon.MapFileLexiconIterator(java.util.Iterator<java.util.Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
_parent
- Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>>
public java.util.Map.Entry<java.lang.String,LexiconEntry> next()
next
in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>>
public void remove()
remove
in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>>
public void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |