Class CompressingStoredFieldsReader
- java.lang.Object
-
- org.apache.lucene.codecs.StoredFieldsReader
-
- org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Cloneable
public final class CompressingStoredFieldsReader extends StoredFieldsReader
-
-
Constructor Summary
Constructors Constructor Description CompressingStoredFieldsReader(Directory d, SegmentInfo si, java.lang.String segmentSuffix, FieldInfos fn, IOContext context, java.lang.String formatName, CompressionMode compressionMode)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredFieldsReader
clone()
void
close()
Close the underlyingIndexInput
s.long
ramBytesUsed()
Returns approximate RAM bytes usedvoid
visitDocument(int docID, StoredFieldVisitor visitor)
Visit the stored fields for documentn
-
-
-
Constructor Detail
-
CompressingStoredFieldsReader
public CompressingStoredFieldsReader(Directory d, SegmentInfo si, java.lang.String segmentSuffix, FieldInfos fn, IOContext context, java.lang.String formatName, CompressionMode compressionMode) throws java.io.IOException
Sole constructor.- Throws:
java.io.IOException
-
-
Method Detail
-
close
public void close() throws java.io.IOException
Close the underlyingIndexInput
s.- Throws:
java.io.IOException
-
visitDocument
public void visitDocument(int docID, StoredFieldVisitor visitor) throws java.io.IOException
Description copied from class:StoredFieldsReader
Visit the stored fields for documentn
- Specified by:
visitDocument
in classStoredFieldsReader
- Throws:
java.io.IOException
-
clone
public StoredFieldsReader clone()
- Specified by:
clone
in classStoredFieldsReader
-
ramBytesUsed
public long ramBytesUsed()
Description copied from class:StoredFieldsReader
Returns approximate RAM bytes used- Specified by:
ramBytesUsed
in classStoredFieldsReader
-
-