public class TermFacetResult extends java.lang.Object implements FacetResult
SearchResult
.Constructor and Description |
---|
TermFacetResult(java.util.List<TermFacetItem> items,
int missingValuesCount,
int presentValuesCount,
int notReturnedValuesCount) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TermFacetItem> |
getItems()
A list of individual values for this facet and their respective counts.
|
int |
getMissingValueCount()
The number of resources in the search result that have no value for this facet.
|
int |
getNotReturnedCount()
The number of resources that have some value for the facet but were not returned.
|
int |
getPresentValueCount()
The number of resources in the search result that have some value for this facet.
|
java.lang.String |
toString() |
public TermFacetResult(java.util.List<TermFacetItem> items, int missingValuesCount, int presentValuesCount, int notReturnedValuesCount)
public int getMissingValueCount()
public int getPresentValueCount()
public int getNotReturnedCount()
public java.util.List<TermFacetItem> getItems()
public java.lang.String toString()
toString
in class java.lang.Object