org.onetwo.common.db.builder.QueryBuilderImpl Maven / Gradle / Ivy
package org.onetwo.common.db.builder;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.onetwo.common.db.InnerBaseEntityManager;
import org.onetwo.common.db.RawSqlWrapper;
import org.onetwo.common.db.sqlext.ExtQuery;
import org.onetwo.common.db.sqlext.ExtQuery.K;
import org.onetwo.common.db.sqlext.SQLSymbolManager;
import org.onetwo.common.utils.LangUtils;
import org.onetwo.common.utils.StringUtils;
import org.onetwo.dbm.dialet.DBDialect.LockInfo;
import org.onetwo.dbm.exception.DbmException;
/*********
* 提供简易有明确api的查询构造器
*
* @author wayshall
*
*/
public class QueryBuilderImpl implements QueryBuilder {
public static class SubQueryBuilder extends QueryBuilderImpl {
public SubQueryBuilder() {
super();
}
}
/*public static QueryBuilderImpl where(){
QueryBuilderImpl q = new QueryBuilderImpl(null);
return q;
}*/
/*public static QueryBuilder from(Class> entityClass){
return QueryBuilderCreator.from(entityClass);
}*/
/*public static SubQueryBuilder sub(){
SubQueryBuilder q = new SubQueryBuilder();
return q;
}*/
protected InnerBaseEntityManager baseEntityManager;
protected String alias;
protected Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy