public abstract class FSOMapFileLexiconGeneric<K1,K2 extends org.apache.hadoop.io.WritableComparable> extends MapLexicon<K1,K2>
Modifier and Type | Class and Description |
---|---|
static class |
FSOMapFileLexiconGeneric.MapFileLexiconEntryIterator<T extends org.apache.hadoop.io.WritableComparable<?>>
Iterate through the values in order
|
static class |
FSOMapFileLexiconGeneric.MapFileLexiconIterator<T1,T2 extends org.apache.hadoop.io.WritableComparable<?>>
An iterator over the lexicon
|
MapLexicon.Id2EntryIndexLookup, MapLexicon.IdIsIndex
Lexicon.LexiconFileEntry<KEY2>
Modifier and Type | Field and Description |
---|---|
static String |
ID_EXT |
static String |
MAPFILE_EXT |
keyFactory, map, modificationLock
Constructor and Description |
---|
FSOMapFileLexiconGeneric(String structureName,
String path,
String prefix,
FixedSizeWriteableFactory<K2> _keyFactory,
FixedSizeWriteableFactory<LexiconEntry> _valueFactory,
String termIdLookup,
String dataFile) |
Modifier and Type | Method and Description |
---|---|
static String |
constructFilename(String structureName,
String path,
String prefix,
String extension)
Constructs a filename
|
close, getIthLexiconEntry, getLexiconEntry, getLexiconEntry, getLexiconEntryRange, numberOfEntries, setK2, setTermIdLookup, toK1
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, iterator, spliterator
public static final String ID_EXT
public static final String MAPFILE_EXT
public FSOMapFileLexiconGeneric(String structureName, String path, String prefix, FixedSizeWriteableFactory<K2> _keyFactory, FixedSizeWriteableFactory<LexiconEntry> _valueFactory, String termIdLookup, String dataFile) throws IOException
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow