Class SuperSorterProgressSnapshot

java.lang.Object
org.apache.druid.frame.processor.SuperSorterProgressSnapshot

public class SuperSorterProgressSnapshot extends Object
Like SuperSorterProgressTracker, but immutable.
  • Constructor Details

    • SuperSorterProgressSnapshot

      public SuperSorterProgressSnapshot(int totalMergingLevels, Map<Integer,Long> levelToTotalBatches, Map<Integer,Long> levelToMergedBatches, long totalMergersForUltimateLevel, boolean isTriviallyComplete)
  • Method Details

    • getTotalMergingLevels

      public int getTotalMergingLevels()
    • getLevelToTotalBatches

      public Map<Integer,Long> getLevelToTotalBatches()
    • getLevelToMergedBatches

      public Map<Integer,Long> getLevelToMergedBatches()
    • getTotalMergersForUltimateLevel

      public long getTotalMergersForUltimateLevel()
    • isTriviallyComplete

      public boolean isTriviallyComplete()
    • getProgressDigest

      @Nullable public Double getProgressDigest()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object