Class HistogramUtils

java.lang.Object
org.apache.drill.exec.planner.common.HistogramUtils

public class HistogramUtils extends Object
  • Constructor Details

    • HistogramUtils

      public HistogramUtils()
  • Method Details

    • buildHistogramFromTDigest

      public static Histogram buildHistogramFromTDigest(byte[] tdigest_bytearray, TypeProtos.MajorType type, int numBuckets, long nonNullCount)
      Build a histogram using the t-digest byte array. The type of histogram is dependent on the data type of the column.