io.sphere.sdk.search.MetaModelSortDsl Maven / Gradle / Ivy
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