Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FlushInfo

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

    Inheritance
    object
    FlushInfo
    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 FlushInfo

    Constructors

    FlushInfo(int, long)

    Creates a new FlushInfo instance from the values required for a FLUSH IOContext context.

    These values are only estimates and are not the actual values.
    Declaration
    public FlushInfo(int numDocs, long estimatedSegmentSize)
    Parameters
    Type Name Description
    int numDocs
    long estimatedSegmentSize

    Properties

    EstimatedSegmentSize

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

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

    NumDocs

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

    Declaration
    public int NumDocs { 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.