|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.StoredFieldsReader
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
public final class Lucene40StoredFieldsReader
Class responsible for access to stored document fields.
It uses <segment>.fdt and <segment>.fdx; files.
Lucene40StoredFieldsFormat
Constructor Summary | |
---|---|
Lucene40StoredFieldsReader(Directory d,
SegmentInfo si,
FieldInfos fn,
IOContext context)
|
Method Summary | |
---|---|
Lucene40StoredFieldsReader |
clone()
Returns a cloned FieldsReader that shares open IndexInputs with the original one. |
void |
close()
Closes the underlying IndexInput streams. |
IndexInput |
rawDocs(int[] lengths,
int startDocID,
int numDocs)
Returns the length in bytes of each raw document in a contiguous range of length numDocs starting with startDocID. |
int |
size()
|
void |
visitDocument(int n,
StoredFieldVisitor visitor)
Visit the stored fields for document n |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lucene40StoredFieldsReader(Directory d, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException
IOException
Method Detail |
---|
public Lucene40StoredFieldsReader clone()
clone
in class StoredFieldsReader
public final void close() throws IOException
IndexInput
streams.
This means that the Fields values will not be accessible.
close
in interface Closeable
IOException
public final int size()
public final void visitDocument(int n, StoredFieldVisitor visitor) throws IOException
StoredFieldsReader
n
visitDocument
in class StoredFieldsReader
IOException
public final IndexInput rawDocs(int[] lengths, int startDocID, int numDocs) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |