Package com.jengine.orm.model.query

Examples of com.jengine.orm.model.query.ClusterQuery


    public ClusterQuery filter(List<Filter> filter) throws DBException {
        return newQuery().filter(filter);
    }

    public Long count() throws DBException {
        return (Long) new ClusterQuery(this).target(new Count()).one();
    }
View Full Code Here


    public Long count() throws DBException {
        return (Long) new ClusterQuery(this).target(new Count()).one();
    }

    public Long count(String field) throws DBException {
        return (Long) new ClusterQuery(this).target(new Count(field)).one();
    }
View Full Code Here

    public Long count(String field) throws DBException {
        return (Long) new ClusterQuery(this).target(new Count(field)).one();
    }

    public <T> T max(String field) throws DBException {
        return new ClusterQuery(this).target(new Max(field)).one();
    }
View Full Code Here

    public <T> T max(String field) throws DBException {
        return new ClusterQuery(this).target(new Max(field)).one();
    }

    public <T> T min(String field) throws DBException {
        return new ClusterQuery(this).target(new Min(field)).one();
    }
View Full Code Here

    public <T> T min(String field) throws DBException {
        return new ClusterQuery(this).target(new Min(field)).one();
    }

    public <T> T avg(String field) throws DBException {
        return new ClusterQuery(this).target(new Avg(field)).one();
    }
View Full Code Here

    public <T> T avg(String field) throws DBException {
        return new ClusterQuery(this).target(new Avg(field)).one();
    }

    public<T> T sum(String field) throws DBException {
        return new ClusterQuery(this).target(new Sum(field)).one();
    }
View Full Code Here

//        return (ResultType) new ClusterQuery(this).target(new Calc("_calc_", null, expr, fields)).one();
//    }
//

    protected ClusterQuery newQuery() throws DBException {
        return new ClusterQuery(this).targets(getTargets()).filter(filters).sfilter(stringFilters).group(group);
    }
View Full Code Here

        return new ClusterQuery(this).targets(getTargets()).filter(filters).sfilter(stringFilters).group(group);
    }

    protected ClusterQuery newQuery(List fields) throws DBException {
        List targets = fields.size() > 0 ? fields : getTargets();
        return new ClusterQuery(this).targets(targets).filter(filters).sfilter(stringFilters).group(group);
    }
View Full Code Here

TOP

Related Classes of com.jengine.orm.model.query.ClusterQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.