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

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

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

import java.util.function.Function;

public interface MetaModelSortDsl extends SortDsl {

    /**
     * Creates a new object with the properties of the old object but replaces all sort expressions with a single sort expression to it by using meta models.
     * @param m function to use the meta model for sort to create a sort expression
     * @return new object
     */
    C withSort(final Function> m);

    /**
     * Creates a new object with the properties of the old object but adds a new sort expression to it by using meta models.
     * @param m function to use the meta model for sort to create a sort expression
     * @return new object
     */
    C plusSort(final Function> m);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy