public static class DistinctFacet.DistinctFacetItem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
count
Number of entities belonging to this option.
|
java.lang.Object |
item |
boolean |
selected
Whether or not this option was marked selected in the request.
|
| Constructor and Description |
|---|
DistinctFacetItem() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getItem(java.lang.Class<T> clazz)
Gets the facet option as the type provided.
|
public java.lang.Object item
public int count
public boolean selected
public <T> T getItem(java.lang.Class<T> clazz)
T - The type of the expected facet value.clazz - Type of the option. Must match the type of the attribute faceted on.