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

org.neogroup.warp.data.query.Query Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version

package org.neogroup.warp.data.query;

import org.neogroup.warp.data.query.builders.DefaultQueryBuilder;
import org.neogroup.warp.data.query.builders.QueryBuilder;

public abstract class Query {

    private final static QueryBuilder defaultQueryBuilder = new DefaultQueryBuilder();

    public static SelectQuery selectFrom (String tableName) {
        SelectQuery query = new SelectQuery();
        query.setTableName(tableName);
        return query;
    }

    @Override
    public String toString() {
        return defaultQueryBuilder.buildQuery(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy