Class GeolocationRange
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.facet.value.GeolocationRange
-
- All Implemented Interfaces:
FacetRangeValue<Geolocation>,FacetValue
public class GeolocationRange extends Object implements FacetRangeValue<Geolocation>
-
-
Constructor Summary
Constructors Constructor Description GeolocationRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCount()Gets the count of documents matching this facet valueGeolocationgetFrom()The start of the facet range, optionalGeolocationgetTo()The end of the facet range, optional
-
-
-
Method Detail
-
getFrom
public Geolocation getFrom()
Description copied from interface:FacetRangeValueThe start of the facet range, optional- Specified by:
getFromin interfaceFacetRangeValue<Geolocation>- Returns:
- The start of the facet range, or null if no start is defined
-
getTo
public Geolocation getTo()
Description copied from interface:FacetRangeValueThe end of the facet range, optional- Specified by:
getToin interfaceFacetRangeValue<Geolocation>- Returns:
- The end of the facet range, or null if no start is defined
-
getCount
public Long getCount()
Description copied from interface:FacetValueGets the count of documents matching this facet value- Specified by:
getCountin interfaceFacetValue- Returns:
- The count of documents matching this facet value
-
-