org.galagosearch.core.index
Class StructuredIndex
java.lang.Object
org.galagosearch.core.index.StructuredIndex
public class StructuredIndex
- extends java.lang.Object
- Author:
- trevor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredIndex
public StructuredIndex(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
openIndexPart
public static StructuredIndexPartReader openIndexPart(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
containsPart
public boolean containsPart(java.lang.String partName)
- Tests to see if a named index part exists.
- Parameters:
partName - The name of the index part to check.
- Returns:
- true, if this index has a part called partName, or false otherwise.
getIterator
public StructuredIterator getIterator(Node node)
throws java.io.IOException
- Throws:
java.io.IOException
getNodeType
public NodeType getNodeType(Node node)
throws java.io.IOException
- Throws:
java.io.IOException
getCollectionLength
public long getCollectionLength()
getDocumentCount
public long getDocumentCount()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getLength
public int getLength(int document)
getDocumentName
public java.lang.String getDocumentName(int document)
Copyright © 2009. All Rights Reserved.