io.sphere.sdk.queries.ResourceQuery Maven / Gradle / Ivy
package io.sphere.sdk.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import javax.annotation.Nullable;
import java.util.List;
/**
* Queries for entities with getters and copy functions for where, sort, limit and offset
* @param Interface of the resource, i.e., Category interface
*/
public interface ResourceQuery extends Query, ExpansionPathContainer {
/**
*
* @return the predicate used to perform the query
*/
List> predicates();
/**
* @return the used sort expressions for this query
*/
List> sort();
@Nullable
Boolean fetchTotal();
@Nullable
Long limit();
@Nullable
Long offset();
String endpoint();
@Override
List> expansionPaths();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy