org.galagosearch.core.index
Class VocabularyReader

java.lang.Object
  extended by org.galagosearch.core.index.VocabularyReader

public class VocabularyReader
extends java.lang.Object

Author:
trevor

Nested Class Summary
static class VocabularyReader.TermSlot
           
 
Constructor Summary
VocabularyReader(java.io.RandomAccessFile input, long invertedFileLength, long vocabularyLength)
          Creates a new instance of DocumentNameReader
 
Method Summary
 VocabularyReader.TermSlot get(byte[] key)
           
 VocabularyReader.TermSlot get(java.lang.String key)
           
 java.util.ArrayList<VocabularyReader.TermSlot> getSlots()
           
 void read(long invertedFileLength, long vocabularyLength, java.io.RandomAccessFile input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.