Class SimpleTextStoredFieldsReader
Reads plain text stored fields.
FOR RECREATIONAL USE ONLY
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
StoredFieldsReader.Dispose()
Namespace: Lucene.Net.Codecs.SimpleText
Assembly: Lucene.Net.Codecs.dll
Syntax
public class SimpleTextStoredFieldsReader : StoredFieldsReader, IDisposable
Constructors
SimpleTextStoredFieldsReader(Directory, SegmentInfo, FieldInfos, IOContext)
Reads plain text stored fields.
FOR RECREATIONAL USE ONLY
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
SegmentInfo | si | |
FieldInfos | fn | |
IOContext | context |
Methods
CheckIntegrity()
Checks 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.Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public override void CheckIntegrity()
Overrides
Lucene.Net.Codecs.StoredFieldsReader.CheckIntegrity()
Clone()
Reads plain text stored fields.
FOR RECREATIONAL USE ONLY
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
object |
Overrides
Lucene.Net.Codecs.StoredFieldsReader.Clone()
Dispose(bool)
Implementations must override and should dispose all resources used by this instance.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
long |
Overrides
Lucene.Net.Codecs.StoredFieldsReader.RamBytesUsed()
VisitDocument(int, StoredFieldVisitor)
Visit the stored fields for document n
.
Declaration
public override void VisitDocument(int n, StoredFieldVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
int | n | |
StoredFieldVisitor | visitor |