Package com.enonic.xp.query.aggregation

## Class GeoDistanceAggregationQuery

- java.lang.Object
- - com.enonic.xp.query.aggregation.AggregationQuery
  - - com.enonic.xp.query.aggregation.BucketAggregationQuery
    - - com.enonic.xp.query.aggregation.AbstractRangeAggregationQuery<DistanceRange>
      - - com.enonic.xp.query.aggregation.GeoDistanceAggregationQuery

-     @PublicApi
      public class GeoDistanceAggregationQuery
      extends AbstractRangeAggregationQuery<DistanceRange>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `GeoDistanceAggregationQuery.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GeoDistanceAggregationQuery.Builder` | `create​(String name)` |
    `GeoPoint` | `getOrigin()` |
    `String` | `getUnit()` |
    `String` | `toString()` |

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

      `getFieldName, getRanges`

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

      `getSubQueries`

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

      `getName`

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

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

- - ### Method Detail

    - #### getOrigin

          public GeoPoint getOrigin()

    - #### getUnit

          public String getUnit()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### create

          public static GeoDistanceAggregationQuery.Builder create​(String name)