gate.creole.annic.apache.lucene.index
Class FieldsReader
java.lang.Object
gate.creole.annic.apache.lucene.index.FieldsReader
final class FieldsReader
- extends Object
Class responsible for access to stored document fields.
It uses <segment>.fdt and <segment>.fdx; files.
- Version:
- $Id: FieldsReader.java 529 2004-10-05 11:55:26Z niraj $
|
Method Summary |
(package private) void |
close()
|
(package private) Document |
doc(int n)
|
(package private) int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fieldInfos
private FieldInfos fieldInfos
fieldsStream
private InputStream fieldsStream
indexStream
private InputStream indexStream
size
private int size
FieldsReader
FieldsReader(Directory d,
String segment,
FieldInfos fn)
throws IOException
- Throws:
IOException
close
final void close()
throws IOException
- Throws:
IOException
size
final int size()
doc
final Document doc(int n)
throws IOException
- Throws:
IOException