Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class CompressingStoredFieldsReader

    StoredFieldsReader impl for CompressingStoredFieldsFormat.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    StoredFieldsReader
    CompressingStoredFieldsReader
    Implements
    IDisposable
    Inherited Members
    StoredFieldsReader.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.Compressing
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class CompressingStoredFieldsReader : StoredFieldsReader, IDisposable

    Constructors

    CompressingStoredFieldsReader(Directory, SegmentInfo, string, FieldInfos, IOContext, string, CompressionMode)

    Sole constructor.

    Declaration
    public CompressingStoredFieldsReader(Directory d, SegmentInfo si, string segmentSuffix, FieldInfos fn, IOContext context, string formatName, CompressionMode compressionMode)
    Parameters
    Type Name Description
    Directory d
    SegmentInfo si
    string segmentSuffix
    FieldInfos fn
    IOContext context
    string formatName
    CompressionMode compressionMode

    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
    StoredFieldsReader.CheckIntegrity()

    Clone()

    StoredFieldsReader impl for CompressingStoredFieldsFormat.

    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
    StoredFieldsReader.Clone()

    Dispose(bool)

    Dispose the underlying IndexInputs.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    StoredFieldsReader.Dispose(bool)

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    long
    Overrides
    StoredFieldsReader.RamBytesUsed()

    VisitDocument(int, StoredFieldVisitor)

    Visit the stored fields for document n.

    Declaration
    public override void VisitDocument(int docID, StoredFieldVisitor visitor)
    Parameters
    Type Name Description
    int docID
    StoredFieldVisitor visitor
    Overrides
    StoredFieldsReader.VisitDocument(int, StoredFieldVisitor)

    Implements

    IDisposable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.