Class Lucene50CompressingTermVectorsReader
- java.lang.Object
-
- org.apache.lucene.index.TermVectors
-
- org.apache.lucene.codecs.TermVectorsReader
-
- org.apache.lucene.backward_codecs.lucene50.compressing.Lucene50CompressingTermVectorsReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
public final class Lucene50CompressingTermVectorsReader extends TermVectorsReader
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.TermVectors
EMPTY
-
-
Constructor Summary
Constructors Constructor Description Lucene50CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIntegrity()TermVectorsReaderclone()voidclose()Fieldsget(int doc)StringtoString()-
Methods inherited from class org.apache.lucene.codecs.TermVectorsReader
getMergeInstance
-
Methods inherited from class org.apache.lucene.index.TermVectors
get
-
-
-
-
Constructor Detail
-
Lucene50CompressingTermVectorsReader
public Lucene50CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) throws IOException
Sole constructor.- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException- Throws:
IOException
-
clone
public TermVectorsReader clone()
- Specified by:
clonein classTermVectorsReader
-
get
public Fields get(int doc) throws IOException
- Specified by:
getin classTermVectors- Throws:
IOException
-
checkIntegrity
public void checkIntegrity() throws IOException- Specified by:
checkIntegrityin classTermVectorsReader- Throws:
IOException
-
-