Class AbstractHistogramIterator

    • Field Detail

      • arrayTotalCount

        long arrayTotalCount
      • currentIndex

        int currentIndex
      • currentValueAtIndex

        long currentValueAtIndex
      • nextValueAtIndex

        long nextValueAtIndex
      • prevValueIteratedTo

        long prevValueIteratedTo
      • totalCountToPrevIndex

        long totalCountToPrevIndex
      • totalCountToCurrentIndex

        long totalCountToCurrentIndex
      • totalValueToCurrentIndex

        long totalValueToCurrentIndex
      • countAtThisValue

        long countAtThisValue
      • freshSubBucket

        private boolean freshSubBucket
      • integerToDoubleValueConversionRatio

        private double integerToDoubleValueConversionRatio
    • Constructor Detail

      • AbstractHistogramIterator

        AbstractHistogramIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)
        Specified by:
        hasNext in interface java.util.Iterator<HistogramIterationValue>
        Returns:
        true if the iterator has more elements.
      • remove

        public void remove()
        Not supported. Will throw an UnsupportedOperationException.
        Specified by:
        remove in interface java.util.Iterator<HistogramIterationValue>
      • incrementIterationLevel

        abstract void incrementIterationLevel()
      • reachedIterationLevel

        abstract boolean reachedIterationLevel()
        Returns:
        true if the current position's data should be emitted by the iterator
      • getPercentileIteratedTo

        double getPercentileIteratedTo()
      • getPercentileIteratedFrom

        double getPercentileIteratedFrom()
      • getValueIteratedTo

        long getValueIteratedTo()
      • exhaustedSubBuckets

        private boolean exhaustedSubBuckets()
      • incrementSubBucket

        void incrementSubBucket()