Lucene90CompressingStoredFieldsWriter
Properties
Functions
Called before .close, passing in the number of documents that were written. Note that this is intentionally redundant (equivalent to the number of calls to .startDocument, but a Codec should check that this is the case to detect the JRE bug described in LUCENE-1282.
Called when a document and all its fields have been added.
Merges in the stored fields from the readers in mergeState. The default implementation skips over deleted documents, and uses .startDocument, writeField, and .finish, returning the number of documents that were written. Implementations can override this method for more sophisticated merging (bulk-byte copying, etc).
Return the memory usage of this object in bytes. Negative values are illegal.
Called before writing the stored fields of the document. writeField will be called for each stored field. Note that this is called even if the document has no stored fields.
Returns true if we should recompress this reader, even though we could bulk merge compressed data
Writes a stored double value.
Writes a stored float value.
Writes a stored int value.
Writes a stored long value.
Writes a stored String value.
Writes a stored binary value from a StoredFieldDataInput.
Writes a stored binary value.