cn.enilu.flash.core.db.GenericSQLBuilder Maven / Gradle / Ivy
package cn.enilu.flash.core.db;
import cn.enilu.flash.core.lang.Strings;
import com.google.common.base.Joiner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class GenericSQLBuilder implements ISQLBuilder {
protected String table;
protected String tag;
protected List columns = new ArrayList();
protected List joins = new ArrayList();
protected List conditions = new ArrayList();
protected List groupBys = new ArrayList();
protected List havings = new ArrayList();
protected List orderBys = new ArrayList();
protected boolean lockForUpdate;
protected Integer offset;
protected Integer rowCount;
protected List