public final class CompressingTermVectorsReader extends TermVectorsReader implements Closeable
Constructor and Description |
---|
CompressingTermVectorsReader(Directory d,
SegmentInfo si,
String segmentSuffix,
FieldInfos fn,
IOContext context,
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, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) throws IOException
IOException
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
public long ramBytesUsed()
TermVectorsReader
ramBytesUsed
in class TermVectorsReader
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.