Class Bucket

    • Constructor Detail

      • Bucket

        public Bucket()
    • Method Detail

      • setValue

        public void setValue​(String value)

        The facet value being counted.

        Parameters:
        value - The facet value being counted.
      • getValue

        public String getValue()

        The facet value being counted.

        Returns:
        The facet value being counted.
      • withValue

        public Bucket withValue​(String value)

        The facet value being counted.

        Parameters:
        value - The facet value being counted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCount

        public void setCount​(Long count)

        The number of hits that contain the facet value in the specified facet field.

        Parameters:
        count - The number of hits that contain the facet value in the specified facet field.
      • getCount

        public Long getCount()

        The number of hits that contain the facet value in the specified facet field.

        Returns:
        The number of hits that contain the facet value in the specified facet field.
      • withCount

        public Bucket withCount​(Long count)

        The number of hits that contain the facet value in the specified facet field.

        Parameters:
        count - The number of hits that contain the facet value in the specified facet field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object