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

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

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.search;

public interface TermModel {

    /**
     * Eventually generates an expression to filter elements by certain values.
     * @return the model to specify the values to filter by
     */
    FilterSearchModel filtered();

    /**
     * Eventually generates an expression to obtain the facets of the attribute for certain values.
     * @return the model to specify the values from which to obtain the facets
     */
    FacetSearchModel faceted();

    /**
     * Gets an untyped search model (expecting simple Strings) while keeping the same search model path as this.
     * This untyped search model allows you to build filters and facets, both range and term models.
     * @return the untyped search model for this instance
     */
    UntypedSearchModel untyped();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy