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

io.sphere.sdk.reviews.search.ReviewRatingStatisticsFacetedSearchSearchModel Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.reviews.search;

import io.sphere.sdk.search.model.RangeTermFacetedSearchSearchModel;
import io.sphere.sdk.search.model.SearchModel;
import io.sphere.sdk.search.model.SearchModelImpl;

public final class ReviewRatingStatisticsFacetedSearchSearchModel extends SearchModelImpl {
    public ReviewRatingStatisticsFacetedSearchSearchModel(final SearchModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    public RangeTermFacetedSearchSearchModel averageRating() {
        return numberSearchModel("averageRating").facetedAndFiltered();
    }

    public RangeTermFacetedSearchSearchModel count() {
        return numberSearchModel("count").facetedAndFiltered();
    }

    public RangeTermFacetedSearchSearchModel highestRating() {
        return numberSearchModel("highestRating").facetedAndFiltered();
    }

    public RangeTermFacetedSearchSearchModel lowestRating() {
        return numberSearchModel("lowestRating").facetedAndFiltered();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy