org.onetwo.common.db.filequery.DefaultFileQueryWrapper Maven / Gradle / Ivy
The newest version!
package org.onetwo.common.db.filequery;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
import org.onetwo.common.db.AbstractQueryWrapper;
import org.onetwo.common.db.ParsedSqlContext;
import org.onetwo.common.db.dquery.NamedQueryInvokeContext;
import org.onetwo.common.db.filequery.ParsedSqlUtils.ParsedSqlWrapper;
import org.onetwo.common.db.filequery.ParsedSqlUtils.ParsedSqlWrapper.SqlParamterMeta;
import org.onetwo.common.db.filequery.func.SqlFunctionDialet;
import org.onetwo.common.db.spi.CreateQueryCmd;
import org.onetwo.common.db.spi.FileNamedSqlGenerator;
import org.onetwo.common.db.spi.NamedQueryInfo;
import org.onetwo.common.db.spi.QueryProvideManager;
import org.onetwo.common.db.spi.QueryWrapper;
import org.onetwo.common.db.spi.SqlParamterPostfixFunctionRegistry;
import org.onetwo.common.db.spi.SqlTemplateParser;
import org.onetwo.common.db.sqlext.ExtQueryUtils;
import org.onetwo.common.spring.SpringUtils;
import org.onetwo.common.utils.ArrayUtils;
import org.onetwo.common.utils.Assert;
import org.onetwo.common.utils.LangUtils;
import org.onetwo.dbm.utils.DbmUtils;
import org.springframework.beans.BeanWrapper;
import org.springframework.jdbc.core.RowMapper;
import com.google.common.collect.Maps;
/***
* 基于文件命名查询的QueryWrapper
* 对基于文件创建和orm相关QueryWrapper的过程的包装
* @author wayshall
*
*/
public class DefaultFileQueryWrapper extends AbstractQueryWrapper /* implements QueryOrderByable */ {
final protected NamedQueryInvokeContext invokeContext;
protected QueryProvideManager queryProvideManager;
protected QueryWrapper dataQuery;
protected boolean countQuery;
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy