Class CompactDoublesSketch

    • Method Detail

      • heapify

        public static CompactDoublesSketch heapify​(org.apache.datasketches.memory.Memory srcMem)
      • reset

        public void reset()
        Description copied from class: DoublesSketch
        Resets this sketch to the empty state. If the sketch is read only this does nothing.

        The parameter k will not change.

        The parameter k will not change.

        Specified by:
        reset in interface QuantilesAPI
        Specified by:
        reset in class DoublesSketch
      • update

        public void update​(double quantile)
        Description copied from interface: QuantilesDoublesAPI
        Updates this sketch with the given item.
        Parameters:
        quantile - from a stream of quantiles. NaNs are ignored.