All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.yooryan.advancequery.dialects.IDialectAdvanceQuery Maven / Gradle / Ivy

There is a newer version: 1.2.4
Show newest version
package com.github.yooryan.advancequery.dialects;


import com.github.yooryan.advancequery.AdvanceQuery;
import com.github.yooryan.advancequery.AdvanceQueryModel;
import com.github.yooryan.advancequery.annotation.SqlKeyword;
import com.github.yooryan.advancequery.exception.AdvanceQueryException;
import com.github.yooryan.advancequery.exception.SqlAutomaticBuildException;
import com.github.yooryan.advancequery.toolkit.StringPool;

import java.util.List;

/**
 * @author linyunrui
 */
public interface IDialectAdvanceQuery {

    /**
     * 换行符
     */
    String TAB = StringPool.TAB;
    /**
     * and
     */
    String AND = " and ";
    /**
     * ?
     */
    String QUESTIO_NMARK = StringPool.QUESTION_MARK;

    /**
     /**
     * 构建高级查询sql
     * @param advanceQueries 查询条件对象
     * @param originalSql 原始sql
     * @return 高级查询sql
     * @throws SqlAutomaticBuildException 构建查询sql失败异常
     */
    AdvanceQueryModel buildAdvanceQuerySql(List advanceQueries, String originalSql) throws SqlAutomaticBuildException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy