org.galagosearch.core.index
Class ExtentIndexReader

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

public class ExtentIndexReader
extends java.lang.Object
implements StructuredIndexPartReader

Author:
trevor

Nested Class Summary
 class ExtentIndexReader.Iterator
           
 
Constructor Summary
ExtentIndexReader(IndexReader reader)
           
 
Method Summary
 void close()
           
 CountIterator getCounts(java.lang.String term)
           
 ExtentIndexReader.Iterator getExtents(java.lang.String term)
           
 ExtentIndexReader.Iterator getIterator()
           
 IndexIterator getIterator(Node node)
           
 java.util.HashMap<java.lang.String,NodeType> getNodeTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtentIndexReader

public ExtentIndexReader(IndexReader reader)
                  throws java.io.FileNotFoundException,
                         java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

getIterator

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

getExtents

public ExtentIndexReader.Iterator getExtents(java.lang.String term)
                                      throws java.io.IOException
Throws:
java.io.IOException

getCounts

public CountIterator getCounts(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.HashMap<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.