io.sphere.sdk.reviews.queries.ReviewRatingStatisticsQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.reviews.queries;
import io.sphere.sdk.queries.*;
final class ReviewRatingStatisticsQueryModelImpl extends QueryModelImpl implements ReviewRatingStatisticsQueryModel {
public ReviewRatingStatisticsQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public IntegerQuerySortingModel count() {
return integerModel("count");
}
@Override
public IntegerQuerySortingModel highestRating() {
return integerModel("highestRating");
}
@Override
public IntegerQuerySortingModel lowestRating() {
return integerModel("lowestRating");
}
@Override
public DoubleQuerySortingModel averageRating() {
return doubleModel("averageRating");
}
@Override
public QueryPredicate isPresent() {
return isPresentPredicate();
}
@Override
public QueryPredicate isNotPresent() {
return isNotPresentPredicate();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy