org.onetwo.common.db.filequery.DefaultFileNamedSqlGenerator Maven / Gradle / Ivy
The newest version!
package org.onetwo.common.db.filequery;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import org.onetwo.common.db.ParsedSqlContext;
import org.onetwo.common.db.filequery.func.SqlFunctionDialet;
import org.onetwo.common.db.spi.FileNamedSqlGenerator;
import org.onetwo.common.db.spi.FileSqlParserType;
import org.onetwo.common.db.spi.NamedQueryInfo;
import org.onetwo.common.db.spi.QueryContextVariable;
import org.onetwo.common.db.spi.SqlTemplateParser;
import org.onetwo.common.db.sqlext.ExtQueryUtils;
import org.onetwo.common.utils.LangUtils;
import org.onetwo.dbm.exception.DbmException;
import org.springframework.util.Assert;
/****
* sql语句解释
* @author way
*
*/
public class DefaultFileNamedSqlGenerator implements FileNamedSqlGenerator {
// private static final Logger logger = JFishLoggerFactory.getLogger(DefaultFileNamedSqlGenerator.class);
protected NamedQueryInfo info;
protected boolean countQuery;
private SqlTemplateParser parser;
/***
*/
private ParserContext parserContext;
// private Class> resultClass;
// private String[] ascFields;
// private String[] desFields;
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy