Class Lucene50CompressingStoredFieldsReader
- java.lang.Object
-
- org.apache.lucene.index.StoredFields
-
- org.apache.lucene.codecs.StoredFieldsReader
-
- org.apache.lucene.backward_codecs.lucene50.compressing.Lucene50CompressingStoredFieldsReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
public final class Lucene50CompressingStoredFieldsReader extends StoredFieldsReader
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELDS_EXTENSIONExtension of stored fields filestatic StringINDEX_CODEC_NAMECodec name for the index.static StringINDEX_EXTENSIONExtension of stored fields indexstatic StringMETA_EXTENSIONExtension of stored fields meta
-
Constructor Summary
Constructors Constructor Description Lucene50CompressingStoredFieldsReader(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()StoredFieldsReaderclone()voidclose()Close the underlyingIndexInputs.voiddocument(int docID, StoredFieldVisitor visitor)StoredFieldsReadergetMergeInstance()StringtoString()-
Methods inherited from class org.apache.lucene.index.StoredFields
document, document
-
-
-
-
Field Detail
-
FIELDS_EXTENSION
public static final String FIELDS_EXTENSION
Extension of stored fields file- See Also:
- Constant Field Values
-
INDEX_EXTENSION
public static final String INDEX_EXTENSION
Extension of stored fields index- See Also:
- Constant Field Values
-
META_EXTENSION
public static final String META_EXTENSION
Extension of stored fields meta- See Also:
- Constant Field Values
-
INDEX_CODEC_NAME
public static final String INDEX_CODEC_NAME
Codec name for the index.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Lucene50CompressingStoredFieldsReader
public Lucene50CompressingStoredFieldsReader(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 IOExceptionClose the underlyingIndexInputs.- Throws:
IOException
-
document
public void document(int docID, StoredFieldVisitor visitor) throws IOException- Specified by:
documentin classStoredFields- Throws:
IOException
-
clone
public StoredFieldsReader clone()
- Specified by:
clonein classStoredFieldsReader
-
getMergeInstance
public StoredFieldsReader getMergeInstance()
- Overrides:
getMergeInstancein classStoredFieldsReader
-
checkIntegrity
public void checkIntegrity() throws IOException- Specified by:
checkIntegrityin classStoredFieldsReader- Throws:
IOException
-
-