io.sphere.sdk.queries.QueryModelQueryPredicate Maven / Gradle / Ivy
package io.sphere.sdk.queries;
public abstract class QueryModelQueryPredicate extends QueryPredicateBase {
private final QueryModel queryModel;
protected QueryModelQueryPredicate(QueryModel queryModel) {
this.queryModel = queryModel;
}
@Override
public final String toSphereQuery() {
return buildQuery(queryModel, render());
}
protected abstract String render();
protected QueryModel getQueryModel() {
return queryModel;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy