org.galagosearch.core.index
Interface StructuredIndexPartReader

All Known Implementing Classes:
ExtentIndexReader, PositionIndexReader, SparseFloatListReader

public interface StructuredIndexPartReader

A StructuredIndexPart is an object that can create StructuredIterators that can be used in query processing. StructuredIndex creates many StructuredIndexPartReaders and uses them to supply iterators to StructuredRetrieval. Usually a StructuredIndexPartReader uses an IndexReader to retrieve data from disk, then adds its own special logic to decode that data.

Author:
trevor

Method Summary
 void close()
           
 IndexIterator getIterator()
           
 IndexIterator getIterator(Node node)
           
 java.util.Map<java.lang.String,NodeType> getNodeTypes()
           
 

Method Detail

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

getNodeTypes

java.util.Map<java.lang.String,NodeType> getNodeTypes()

getIterator

IndexIterator getIterator()
                          throws java.io.IOException
Throws:
java.io.IOException

getIterator

IndexIterator getIterator(Node node)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.