Class MergeInfo

  • public class MergeInfo
    extends java.lang.Object

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

    • Field Detail

      • totalDocCount

        public final int totalDocCount
      • estimatedMergeBytes

        public final long estimatedMergeBytes
      • isExternal

        public final boolean isExternal
      • mergeMaxNumSegments

        public final int mergeMaxNumSegments
    • Constructor Detail

      • MergeInfo

        public MergeInfo​(int totalDocCount,
                         long estimatedMergeBytes,
                         boolean isExternal,
                         int mergeMaxNumSegments)

        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.

    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object