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

io.sphere.client.facets.expressions.FacetExpression Maven / Gradle / Ivy

package io.sphere.client.facets.expressions;

import io.sphere.client.QueryParam;

import java.util.List;

/** Specifies an attribute to aggregate facet counts on when fetching products, such as 'variants.attributes.color'.
 *
 *  Note that by applying a terms, values or ranges facet, the result set itself is not restricted.
 *  To implement a typical faceting behavior, use multi-select facets. */
public interface FacetExpression {
    /** Sphere HTTP API query parameter that this facet expression will be turned into. Useful mostly for debugging purposes. */
    List createQueryParams();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy