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

io.sphere.sdk.queries.QueryModelQueryPredicate Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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