org.neogroup.warp.data.query.Query Maven / Gradle / Ivy
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