org.galagosearch.core.index
Class VocabularyReader
java.lang.Object
org.galagosearch.core.index.VocabularyReader
public class VocabularyReader
- extends java.lang.Object
- Author:
- trevor
|
Constructor Summary |
VocabularyReader(java.io.RandomAccessFile input,
long invertedFileLength,
long vocabularyLength)
Creates a new instance of DocumentNameReader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VocabularyReader
public VocabularyReader(java.io.RandomAccessFile input,
long invertedFileLength,
long vocabularyLength)
throws java.io.IOException
- Creates a new instance of DocumentNameReader
- Throws:
java.io.IOException
getSlots
public java.util.ArrayList<VocabularyReader.TermSlot> getSlots()
read
public void read(long invertedFileLength,
long vocabularyLength,
java.io.RandomAccessFile input)
throws java.io.IOException
- Throws:
java.io.IOException
get
public VocabularyReader.TermSlot get(byte[] key)
get
public VocabularyReader.TermSlot get(java.lang.String key)
Copyright © 2009. All Rights Reserved.