|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatsValues
StatsValue defines the interface for the collection of statistical values about fields and facets.
Method Summary | |
---|---|
void |
accumulate(BytesRef value)
Accumulate the values based on the given value |
void |
accumulate(BytesRef value,
int count)
Accumulate the values based on the given value |
void |
accumulate(NamedList stv)
Accumulate the values based on those in the given NamedList |
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 |
Method Detail |
---|
void accumulate(NamedList stv)
stv
- NamedList whose values will be used to accumulate the current valuesvoid accumulate(BytesRef value)
value
- Value to use to accumulate the current valuesvoid accumulate(BytesRef 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |