org.apache.solr.client.solrj.response

## Class IntervalFacet

- java.lang.Object
- - org.apache.solr.client.solrj.response.IntervalFacet

-     public class IntervalFacet
      extends Object

  Objects of this class will contain the result of all the intervals defined for a specific field.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `IntervalFacet.Count` Holds counts for facet intervals defined in a field

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getField()`
    `List<IntervalFacet.Count>` | `getIntervals()`

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

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

- - ### Method Detail

    - #### getField

          public String getField()

      Returns:
        The field for which interval facets where calculated

    - #### getIntervals

          public List<IntervalFacet.Count> getIntervals()

      Returns:
        The list of interval facets calculated for `field`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.