org.galagosearch.core.index
Class SparseFloatListReader
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparseFloatListReader
public SparseFloatListReader(java.lang.String pathname)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
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.