Class GroupFacetCollector.FacetEntry

  • Enclosing class:
    GroupFacetCollector

    public static class GroupFacetCollector.FacetEntry
    extends Object
    Represents a facet entry with a value and a count.
    • Constructor Detail

      • FacetEntry

        public FacetEntry​(BytesRef value,
                          int count)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getValue

        public BytesRef getValue()
        Returns:
        The value of this facet entry
      • getCount

        public int getCount()
        Returns:
        The count (number of groups) of this facet entry.