Interface FieldStatsResult
- All Superinterfaces:
StatsResult
- All Known Implementing Classes:
SimpleFieldStatsResult
Specialization of
StatsResult to represent statistic information for a field.- Since:
- 1.4
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the count of distinct values for this field.Return the distinct values for this field.getFacetStatsResult(String fieldName) Return a map of value associated to its statistics for a given field name.getFacetStatsResult(Field field) Return a map of value associated to its statistics for a given field.Return a map of fieldName associated to value facets for the givenFieldStatsResult.Methods inherited from interface org.springframework.data.solr.core.query.result.StatsResult
getCount, getMax, getMaxAsDate, getMaxAsDouble, getMaxAsString, getMean, getMeanAsDate, getMeanAsDouble, getMin, getMinAsDate, getMinAsDouble, getMinAsString, getMissing, getStddev, getSum, getSumOfSquares
-
Method Details
-
getFacetStatsResults
Map<String,Map<String, getFacetStatsResults()StatsResult>> Return a map of fieldName associated to value facets for the givenFieldStatsResult.- Returns:
- map of field faceting statistics
-
getFacetStatsResult
Return a map of value associated to its statistics for a given field.- Returns:
- map of values statistics
-
getFacetStatsResult
Return a map of value associated to its statistics for a given field name.- Returns:
- map of values statistics
-
getDistinctCount
Return the count of distinct values for this field.- Returns:
- distinct count, null when not requested
-
getDistinctValues
Collection<Object> getDistinctValues()Return the distinct values for this field.- Returns:
-