Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MergeInfo

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Inheritance
    object
    MergeInfo
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class MergeInfo

    Constructors

    MergeInfo(int, long, bool, int)

    Creates a new MergeInfo instance from the values required for a MERGE IOContext context.

    These values are only estimates and are not the actual values.
    Declaration
    public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments)
    Parameters
    Type Name Description
    int totalDocCount
    long estimatedMergeBytes
    bool isExternal
    int mergeMaxNumSegments

    Properties

    EstimatedMergeBytes

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Declaration
    public long EstimatedMergeBytes { get; }
    Property Value
    Type Description
    long

    IsExternal

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Declaration
    public bool IsExternal { get; }
    Property Value
    Type Description
    bool

    MergeMaxNumSegments

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Declaration
    public int MergeMaxNumSegments { get; }
    Property Value
    Type Description
    int

    TotalDocCount

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Declaration
    public int TotalDocCount { get; }
    Property Value
    Type Description
    int

    Methods

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    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.