io.sphere.sdk.queries.EntityQuery Maven / Gradle / Ivy
package io.sphere.sdk.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.expansion.ReferenceExpansionSupport;
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 entity, i.e., Category interface
*/
public interface EntityQuery extends Query, ReferenceExpansionSupport {
/**
*
* @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 - 2024 Weber Informatics LLC | Privacy Policy