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
System.Object
MergeInfo
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class MergeInfo
Constructors
| Improve this Doc View SourceMergeInfo(Int32, Int64, Boolean, Int32)
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 |
---|---|---|
System.Int32 | totalDocCount | |
System.Int64 | estimatedMergeBytes | |
System.Boolean | isExternal | |
System.Int32 | mergeMaxNumSegments |
Properties
| Improve this Doc View SourceEstimatedMergeBytes
Declaration
public long EstimatedMergeBytes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
IsExternal
Declaration
public bool IsExternal { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MergeMaxNumSegments
Declaration
public int MergeMaxNumSegments { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TotalDocCount
Declaration
public int TotalDocCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()