public interface ReviewRatingStatistics
Modifier and Type | Method and Description |
---|---|
Double |
getAverageRating() |
Integer |
getCount() |
Integer |
getHighestRating() |
Integer |
getLowestRating() |
Map<Integer,Integer> |
getRatingsDistribution()
A mapping from a concrete rating to the count of this rating.
|
Double getAverageRating()
Integer getCount()
Integer getHighestRating()
Integer getLowestRating()
Map<Integer,Integer> getRatingsDistribution()
Map.getOrDefault(Object, Object)
with 0 as second parameter.