org.galagosearch.core.index
Class SparseFloatListWriter.DoubleInvertedList

java.lang.Object
  extended by org.galagosearch.core.index.SparseFloatListWriter.DoubleInvertedList
All Implemented Interfaces:
IndexElement
Enclosing class:
SparseFloatListWriter

public class SparseFloatListWriter.DoubleInvertedList
extends java.lang.Object
implements IndexElement


Constructor Summary
SparseFloatListWriter.DoubleInvertedList(byte[] word)
           
 
Method Summary
 void addDocument(int document)
           
 void addProbability(double probability)
           
 void close()
           
 long dataLength()
           
 byte[] key()
           
 void write(java.io.OutputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseFloatListWriter.DoubleInvertedList

public SparseFloatListWriter.DoubleInvertedList(byte[] word)
Method Detail

write

public void write(java.io.OutputStream stream)
           throws java.io.IOException
Specified by:
write in interface IndexElement
Throws:
java.io.IOException

addDocument

public void addDocument(int document)
                 throws java.io.IOException
Throws:
java.io.IOException

addProbability

public void addProbability(double probability)
                    throws java.io.IOException
Throws:
java.io.IOException

key

public byte[] key()
Specified by:
key in interface IndexElement

dataLength

public long dataLength()
Specified by:
dataLength in interface IndexElement

close

public void close()


Copyright © 2009. All Rights Reserved.