org.galagosearch.core.index
Class SparseFloatListReader

java.lang.Object
  extended by org.galagosearch.core.index.SparseFloatListReader
All Implemented Interfaces:
StructuredIndexPartReader

public class SparseFloatListReader
extends java.lang.Object
implements StructuredIndexPartReader

Retrieves lists of floating point numbers which can be used as document features.

Author:
trevor

Nested Class Summary
 class SparseFloatListReader.Iterator
           
 
Constructor Summary
SparseFloatListReader(java.lang.String pathname)
           
 
Method Summary
 void close()
           
 SparseFloatListReader.Iterator getIterator()
           
 IndexIterator getIterator(Node node)
           
 java.util.Map<java.lang.String,NodeType> getNodeTypes()
           
 SparseFloatListReader.Iterator getScores(java.lang.String term)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseFloatListReader

public SparseFloatListReader(java.lang.String pathname)
                      throws java.io.FileNotFoundException,
                             java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

getIterator

public SparseFloatListReader.Iterator getIterator()
                                           throws java.io.IOException
Specified by:
getIterator in interface StructuredIndexPartReader
Throws:
java.io.IOException

getScores

public SparseFloatListReader.Iterator getScores(java.lang.String term)
                                         throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface StructuredIndexPartReader
Throws:
java.io.IOException

getNodeTypes

public java.util.Map<java.lang.String,NodeType> getNodeTypes()
Specified by:
getNodeTypes in interface StructuredIndexPartReader

getIterator

public IndexIterator getIterator(Node node)
                          throws java.io.IOException
Specified by:
getIterator in interface StructuredIndexPartReader
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.