Class Lucene90CompressingStoredFieldsReader
java.lang.Object
org.apache.lucene.codecs.StoredFieldsReader
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorsConstructorDescriptionLucene90CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks consistency of this reader.clone()voidclose()Close the underlyingIndexInputs.Returns an instance optimized for merging.toString()voidvisitDocument(int docID, StoredFieldVisitor visitor) Visit the stored fields for documentdocID
-
Constructor Details
-
Lucene90CompressingStoredFieldsReader
public Lucene90CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) throws IOException Sole constructor.- Throws:
IOException
-
-
Method Details
-
close
Close the underlyingIndexInputs.- Throws:
IOException
-
visitDocument
Description copied from class:StoredFieldsReaderVisit the stored fields for documentdocID- Specified by:
visitDocumentin classStoredFieldsReader- Throws:
IOException
-
clone
- Specified by:
clonein classStoredFieldsReader
-
getMergeInstance
Description copied from class:StoredFieldsReaderReturns an instance optimized for merging. This instance may not be cloned.The default implementation returns
this- Overrides:
getMergeInstancein classStoredFieldsReader
-
checkIntegrity
Description copied from class:StoredFieldsReaderChecks consistency of this reader.Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
- Specified by:
checkIntegrityin classStoredFieldsReader- Throws:
IOException
-
toString
-