Class FacetBucket

    • Constructor Summary

      Constructors 
      Constructor Description
      FacetBucket()
      Constructor
      FacetBucket​(java.lang.String value, long count)
      Constructor
    • Constructor Detail

      • FacetBucket

        public FacetBucket()
        Constructor
      • FacetBucket

        public FacetBucket​(java.lang.String value,
                           long count)
        Constructor
        Parameters:
        value - value
        count - number of documents
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String value)
        Parameters:
        value - the value to set
      • getCount

        public long getCount()
        Returns:
        the count
      • setCount

        public void setCount​(long count)
        Parameters:
        count - the count to set
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object