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

io.sphere.sdk.search.TermFacetedSearchExpression Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.search;

import java.util.List;

/**
 * Facets calculate statistical counts to aid in faceted navigation.
 * Example: variants.attributes.color:"green","yellow"
 * @param  Type of the resource for the facet
 *
 * @see io.sphere.sdk.search.model.TermFacetedSearchSearchModel
 */
public interface TermFacetedSearchExpression extends FacetedSearchExpression {

    TermFacetExpression facetExpression();

    List> filterExpressions();

    static  TermFacetedSearchExpression of(final TermFacetExpression facetExpression, List> filterExpressions) {
        return new TermFacetedSearchExpressionImpl<>(facetExpression, filterExpressions);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy