public interface StatsValues
Modifier and Type | Method and Description |
---|---|
void |
accumulate(NamedList stv)
Accumulate the values based on those in the given NamedList
|
void |
accumulate(String value)
Accumulate the values based on the given value
|
void |
accumulate(String value,
int count)
Accumulate the values based on the given value
|
void |
addFacet(String facetName,
Map<String,StatsValues> facetValues)
Adds the facet statistics for the facet with the given name
|
void |
addMissing(int count)
Updates the statistics when multiple documents are missing a value
|
NamedList<?> |
getStatsValues()
Translates the values into a NamedList representation
|
void |
missing()
Updates the statistics when a document is missing a value
|
void accumulate(NamedList stv)
stv
- NamedList whose values will be used to accumulate the current valuesvoid accumulate(String value)
value
- Value to use to accumulate the current valuesvoid accumulate(String value, int count)
value
- Value to use to accumulate the current valuescount
- number of times to accumulate this valuevoid missing()
void addMissing(int count)
count
- number of times to count a missing valuevoid addFacet(String facetName, Map<String,StatsValues> facetValues)
facetName
- Name of the facetfacetValues
- Facet statistics on a per facet value basisNamedList<?> getStatsValues()