Package com.enonic.xp.query.aggregation

## Class AbstractRangeAggregationQuery.Builder<T extends AbstractRangeAggregationQuery.Builder,​R extends Range>

- java.lang.Object
- - com.enonic.xp.query.aggregation.AggregationQuery.Builder<BucketAggregationQuery.Builder>
  - - com.enonic.xp.query.aggregation.BucketAggregationQuery.Builder<AbstractRangeAggregationQuery.Builder>
    - - com.enonic.xp.query.aggregation.AbstractRangeAggregationQuery.Builder<T,​R>

- Direct Known Subclasses:
    `DateRangeAggregationQuery.Builder`, `GeoDistanceAggregationQuery.Builder`, `NumericRangeAggregationQuery.Builder`
  Enclosing class:
    AbstractRangeAggregationQuery<R extends Range>

      public abstract static class AbstractRangeAggregationQuery.Builder<T extends AbstractRangeAggregationQuery.Builder,​R extends Range>
      extends BucketAggregationQuery.Builder<AbstractRangeAggregationQuery.Builder>

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Collection<R>` | `ranges` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder​(String name)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `addRange​(R range)` |
    `T` | `fieldName​(String fieldName)` |
    `T` | `setRanges​(Collection<R> ranges)` |

    - ### Methods inherited from class com.enonic.xp.query.aggregation.BucketAggregationQuery.Builder

      `addSubQueries, addSubQuery`

    - ### Methods inherited from class com.enonic.xp.query.aggregation.AggregationQuery.Builder

      `name`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### ranges

          public Collection<R extends Range> ranges

  - ### Constructor Detail

    - #### Builder

          public Builder​(String name)

  - ### Method Detail

    - #### addRange

          public T addRange​(R range)

    - #### setRanges

          public T setRanges​(Collection<R> ranges)

    - #### fieldName

          public T fieldName​(String fieldName)