All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.reviews.queries.ReviewRatingStatisticsQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
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