|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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. |
long |
ramBytesUsed()
Returns approximate RAM bytes used |
| 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 CloseableIOExceptionpublic TermVectorsReader clone()
TermVectorsReader
clone in class TermVectorsReader
public Fields get(int doc)
throws IOException
TermVectorsReaderOffsetAttribute
available from the DocsAndPositionsEnum.
get in class TermVectorsReaderIOExceptionpublic long ramBytesUsed()
TermVectorsReader
ramBytesUsed in class TermVectorsReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||