public final class CompressingTermVectorsReader extends TermVectorsReader implements java.io.Closeable
| Constructor and Description |
|---|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
java.lang.String segmentSuffix,
FieldInfos fn,
IOContext context,
java.lang.String formatName,
CompressionMode compressionMode)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public CompressingTermVectorsReader(Directory d, SegmentInfo si, java.lang.String segmentSuffix, FieldInfos fn, IOContext context, java.lang.String formatName, CompressionMode compressionMode) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic TermVectorsReader clone()
TermVectorsReaderclone in class TermVectorsReaderpublic Fields get(int doc) throws java.io.IOException
TermVectorsReaderOffsetAttribute
available from the DocsAndPositionsEnum.get in class TermVectorsReaderjava.io.IOExceptionpublic long ramBytesUsed()
TermVectorsReaderramBytesUsed in class TermVectorsReaderCopyright © 2010 - 2024 Adobe. All Rights Reserved