Class CompressingStoredFieldsWriter
StoredFieldsWriter impl for CompressingStoredFieldsFormat.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.Compressing
Assembly: Lucene.Net.dll
Syntax
public sealed class CompressingStoredFieldsWriter : StoredFieldsWriter, IDisposable
Constructors
| Improve this Doc View SourceCompressingStoredFieldsWriter(Directory, SegmentInfo, String, IOContext, String, CompressionMode, Int32)
Sole constructor.
Declaration
public CompressingStoredFieldsWriter(Directory directory, SegmentInfo si, string segmentSuffix, IOContext context, string formatName, CompressionMode compressionMode, int chunkSize)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
System.String | segmentSuffix | |
IOContext | context | |
System.String | formatName | |
CompressionMode | compressionMode | |
System.Int32 | chunkSize |
Methods
| Improve this Doc View SourceAbort()
Declaration
public override void Abort()
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceFinish(FieldInfos, Int32)
Declaration
public override void Finish(FieldInfos fis, int numDocs)
Parameters
Type | Name | Description |
---|---|---|
FieldInfos | fis | |
System.Int32 | numDocs |
Overrides
| Improve this Doc View SourceFinishDocument()
Declaration
public override void FinishDocument()
Overrides
| Improve this Doc View SourceMerge(MergeState)
Declaration
public override int Merge(MergeState mergeState)
Parameters
Type | Name | Description |
---|---|---|
MergeState | mergeState |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceStartDocument(Int32)
Declaration
public override void StartDocument(int numStoredFields)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numStoredFields |
Overrides
| Improve this Doc View SourceWriteField(FieldInfo, IIndexableField)
Declaration
public override void WriteField(FieldInfo info, IIndexableField field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | info | |
IIndexableField | field |
Overrides
Implements
System.IDisposable