Class FacetResult.Facet

  • Enclosing class:
    FacetResult

    public static class FacetResult.Facet
    extends java.lang.Object
    A query result facet, composed by its label and count.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount()
      get the facet count
      @NotNull java.lang.String getLabel()
      get the facet label
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLabel

        @NotNull
        public @NotNull java.lang.String getLabel()
        get the facet label
        Returns:
        a label
      • getCount

        public int getCount()
        get the facet count
        Returns:
        an integer