Interface RangeAggregationRangeStep<N extends RangeAggregationRangeMoreStep<?,​?,​PDF,​F>,​PDF extends SearchPredicateFactory,​F>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default N range​(F lowerBound, F upperBound)
      Add a bucket for the range [lowerBound, upperBound) (lower bound included, upper bound excluded), or (lowerBound, upperBound) (both bounds excluded) if the lower bound is -Infinity.
      N range​(Range<? extends F> range)
      Add a bucket for given range.
      N ranges​(Collection<? extends Range<? extends F>> ranges)
      Add one bucket for each of the given ranges.
    • Method Detail

      • range

        default N range​(F lowerBound,
                        F upperBound)
        Add a bucket for the range [lowerBound, upperBound) (lower bound included, upper bound excluded), or (lowerBound, upperBound) (both bounds excluded) if the lower bound is -Infinity.
        Parameters:
        lowerBound - The lower bound of the range.
        upperBound - The upper bound of the range.
        Returns:
        The next step.
      • range

        N range​(Range<? extends F> range)
        Add a bucket for given range.
        Parameters:
        range - The range to add.
        Returns:
        The next step.
        See Also:
        Range
      • ranges

        N ranges​(Collection<? extends Range<? extends F>> ranges)
        Add one bucket for each of the given ranges.
        Parameters:
        ranges - The ranges to add.
        Returns:
        The next step.
        See Also:
        Range