Interface FacetRangeValue<T>

  • Type Parameters:
    T - The type of values represented by the range
    All Superinterfaces:
    FacetValue
    All Known Implementing Classes:
    DateRange, NumberRange

    public interface FacetRangeValue<T>
    extends FacetValue
    Represents a Facet range value.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T getFrom()
      The start of the facet range, optional
      T getTo()
      The end of the facet range, optional
      • Methods inherited from interface co.elasticsearch.enterprisesearch.client.model.response.search.facet.value.FacetValue

        getCount
    • Method Detail

      • getFrom

        T getFrom()
        The start of the facet range, optional
        Returns:
        The start of the facet range, or null if no start is defined
      • getTo

        T getTo()
        The end of the facet range, optional
        Returns:
        The end of the facet range, or null if no start is defined