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

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

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

/**
 * Search expressions to use in a search request.
 * @param  Type of the resource for the search
 */
public interface SearchExpression {

    /**
     * Returns a search expression.
     * @return String with unescaped sphere search expression
     */
    String expression();

    /**
     * Generates the path for the attribute to apply the search expression.
     * Example: variants.attributes.color
     * @return the path for the attribute
     */
    String attributePath();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy