Module org.apache.lucene.core
Package org.apache.lucene.index
Class SlowCompositeCodecReaderWrapper.SlowCompositeStoredFieldsReaderWrapper
java.lang.Object
org.apache.lucene.index.StoredFields
org.apache.lucene.codecs.StoredFieldsReader
org.apache.lucene.index.SlowCompositeCodecReaderWrapper.SlowCompositeStoredFieldsReaderWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
- Enclosing class:
SlowCompositeCodecReaderWrapper
private class SlowCompositeCodecReaderWrapper.SlowCompositeStoredFieldsReaderWrapper
extends StoredFieldsReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlowCompositeStoredFieldsReaderWrapper(StoredFieldsReader[] readers, int[] docStarts) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks consistency of this reader.clone()voidclose()voiddocument(int docID, StoredFieldVisitor visitor) Expert: visits the fields of a stored document, for custom processing/loading of each field.Methods inherited from class org.apache.lucene.codecs.StoredFieldsReader
getMergeInstanceMethods inherited from class org.apache.lucene.index.StoredFields
document, document
-
Field Details
-
readers
-
docStarts
private final int[] docStarts
-
-
Constructor Details
-
SlowCompositeStoredFieldsReaderWrapper
SlowCompositeStoredFieldsReaderWrapper(StoredFieldsReader[] readers, int[] docStarts)
-
-
Method Details
-
close
- Throws:
IOException
-
clone
- Specified by:
clonein 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
-
document
Description copied from class:StoredFieldsExpert: visits the fields of a stored document, for custom processing/loading of each field. If you simply want to load all fields, useStoredFields.document(int). If you want to load a subset, useDocumentStoredFieldVisitor.- Specified by:
documentin classStoredFields- Throws:
IOException
-