Class FacetResult.Facet
- java.lang.Object
-
- org.apache.jackrabbit.oak.query.facet.FacetResult.Facet
-
- Enclosing class:
- FacetResult
public static class FacetResult.Facet extends Object
A query result facet, composed by its label and count.
-
-
Method Detail
-
getLabel
@NotNull public @NotNull String getLabel()
get the facet label- Returns:
- a label
-
getCount
public int getCount()
get the facet count- Returns:
- an integer
-
-