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

com.github.alittlehuang.data.query.support.QueryImpl Maven / Gradle / Ivy

package com.github.alittlehuang.data.query.support;

import com.github.alittlehuang.data.query.page.Page;
import com.github.alittlehuang.data.query.specification.Expression;
import com.github.alittlehuang.data.query.specification.Query;
import com.github.alittlehuang.data.query.support.model.CriteriaModel;
import com.github.alittlehuang.data.query.support.model.WhereClauseModel;

/**
 * @author ALittleHuang
 */
public class QueryImpl extends AbstractQuery, Query> implements Query {

    public QueryImpl(AbstractQueryStored> stored) {
        super(stored);
    }

    protected QueryImpl(Expression expression,
                        WhereClauseModel root,
                        CriteriaModel criteria,
                        AbstractQueryStored> stored) {
        super(expression, root, criteria, stored);
    }

    @Override
    protected QueryImpl createSubItem(Expression expression) {
        return new QueryImpl<>(expression, getWhereClause(), getCriteria(), stored);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy