public abstract class AbstractIndexReader extends Object implements IndexReader
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed
Whether this reader has been closed.
|
Constructor and Description |
---|
AbstractIndexReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
IndexIterator |
nextIterator()
Throws an
UnsupportedOperationException . |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
documents, documents
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void finalize() throws Throwable
public IndexIterator nextIterator() throws IOException
UnsupportedOperationException
.nextIterator
in interface IndexReader
null
if there are no more terms
after the current one.IOException