|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.TermVectorsReader org.apache.lucene.codecs.compressing.CompressingTermVectorsReader
public final class CompressingTermVectorsReader
TermVectorsReader
for CompressingTermVectorsFormat
.
Constructor Summary | |
---|---|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
String segmentSuffix,
FieldInfos fn,
IOContext context,
String formatName,
CompressionMode compressionMode)
Sole constructor. |
Method Summary | |
---|---|
TermVectorsReader |
clone()
Create a clone that one caller at a time may use to read term vectors. |
void |
close()
|
Fields |
get(int doc)
Returns term vectors for this document, or null if term vectors were not indexed. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) throws IOException
IOException
Method Detail |
---|
public void close() throws IOException
close
in interface Closeable
IOException
public TermVectorsReader clone()
TermVectorsReader
clone
in class TermVectorsReader
public Fields get(int doc) throws IOException
TermVectorsReader
OffsetAttribute
available from the DocsAndPositionsEnum
.
get
in class TermVectorsReader
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |