类 SqlToyConfig

    • 构造器详细资料

      • SqlToyConfig

        public SqlToyConfig​(String dialect)
      • SqlToyConfig

        public SqlToyConfig​(String id,
                            String sql)
    • 方法详细资料

      • isHasUnion

        public boolean isHasUnion()
        返回:
        the hasUnion
      • setHasUnion

        public void setHasUnion​(boolean hasUnion)
        参数:
        hasUnion - the hasUnion to set
      • isIgnoreEmpty

        public boolean isIgnoreEmpty()
        返回:
        the ignoreEmpty
      • setIgnoreEmpty

        public void setIgnoreEmpty​(boolean ignoreEmpty)
        参数:
        ignoreEmpty - the ignoreEmpty to set
      • getId

        public String getId()
        返回:
        the id
      • setId

        public void setId​(String id)
        参数:
        id - the id to set
      • getSql

        public String getSql()
      • getSql

        public String getSql​(String dialect)
        返回:
        the sql
      • setSql

        public void setSql​(String sql)
        参数:
        sql - the sql to set
      • isHasFast

        public boolean isHasFast()
        返回:
        the hasFast
      • setHasFast

        public void setHasFast​(boolean hasFast)
        参数:
        hasFast - the hasFastPage to set
      • isUnionAllCount

        public boolean isUnionAllCount()
        返回:
        the isUnionAllCount
      • setUnionAllCount

        public void setUnionAllCount​(boolean isUnionAllCount)
        参数:
        isUnionAllCount - the isUnionAllCount to set
      • getParamsName

        public String[] getParamsName()
        返回:
        the paramsName
      • setParamsName

        public void setParamsName​(String[] paramsName)
        参数:
        paramsName - the paramsName to set
      • addFilters

        public void addFilters​(List<ParamFilterModel> paramFilters)
        参数:
        paramFilters - the filterMap to set
      • setTranslateMap

        public void setTranslateMap​(HashMap<String,​Translate> translateMap)
        参数:
        translateMap - the translateMap to set
      • getLinkModel

        public LinkModel getLinkModel()
        返回:
        the linkModel
      • setLinkModel

        public void setLinkModel​(LinkModel linkModel)
        参数:
        linkModel - the linkModel to set
      • getResultProcessor

        public List getResultProcessor()
        返回:
        the resultProcessor
      • setResultProcessor

        public void setResultProcessor​(List resultProcessor)
        参数:
        resultProcessor - the resultProcessor to set
      • isHasWith

        public boolean isHasWith()
        返回:
        the hasWith
      • setHasWith

        public void setHasWith​(boolean hasWith)
        参数:
        hasWith - the hasWith to set
      • getFastSql

        public String getFastSql​(String dialect)
        返回:
        the fastSql
      • setFastSql

        public void setFastSql​(String fastSql)
        参数:
        fastSql - the fastSql to set
      • getFastWithSql

        public String getFastWithSql​(String dialect)
        返回:
        the fastWithSql
      • setFastWithSql

        public void setFastWithSql​(String fastWithSql)
        参数:
        fastWithSql - the fastWithSql to set
      • getFastPreSql

        public String getFastPreSql​(String dialect)
        返回:
        the fastPreSql
      • setFastPreSql

        public void setFastPreSql​(String fastPreSql)
        参数:
        fastPreSql - the fastPreSql to set
      • getFastTailSql

        public String getFastTailSql​(String dialect)
        返回:
        the fastTailSql
      • setFastTailSql

        public void setFastTailSql​(String fastTailSql)
        参数:
        fastTailSql - the fastTailSql to set
      • isNamedParam

        public boolean isNamedParam()
        返回:
      • getFastWithIndex

        public int getFastWithIndex()
        返回:
        the fastWithIndex
      • setFastWithIndex

        public void setFastWithIndex​(int fastWithIndex)
        参数:
        fastWithIndex - the fastWithIndex to set
      • getCountSql

        public String getCountSql​(String dialect)
        返回:
        the countSql
      • setCountSql

        public void setCountSql​(String countSql)
        参数:
        countSql - the countSql to set
      • getSqlType

        public SqlType getSqlType()
        返回:
        the sqlType
      • setSqlType

        public void setSqlType​(SqlType sqlType)
        参数:
        sqlType - the sqlType to set
      • getDataSource

        public String getDataSource()
        返回:
        the dataSource
      • setDataSource

        public void setDataSource​(String dataSource)
        参数:
        dataSource - the dataSource to set
      • getSecureMasks

        public List<SecureMask> getSecureMasks()
        返回:
        the secureMasks
      • setSecureMasks

        public void setSecureMasks​(List<SecureMask> secureMasks)
        参数:
        secureMasks - the secureMasks to set
      • getNoSqlConfigModel

        public NoSqlConfigModel getNoSqlConfigModel()
        返回:
        the noSqlConfigModel
      • setNoSqlConfigModel

        public void setNoSqlConfigModel​(NoSqlConfigModel noSqlConfigModel)
        参数:
        noSqlConfigModel - the noSqlConfigModel to set
      • isShowSql

        public Boolean isShowSql()
        返回:
        the showSql
      • setShowSql

        public void setShowSql​(Boolean showSql)
        参数:
        showSql - the showSql to set
      • getFormatModels

        public List<FormatModel> getFormatModels()
        返回:
        the formatModels
      • setFormatModels

        public void setFormatModels​(List<FormatModel> formatModels)
        参数:
        formatModels - the formatModels to set
      • addCacheArgParam

        public void addCacheArgParam​(String name)
        参数:
        name -
      • getCacheArgNames

        public List<String> getCacheArgNames()
      • getFullParamNames

        public String[] getFullParamNames()
      • getIdOrSql

        public String getIdOrSql()
        返回:
      • setDialect

        public void setDialect​(String dialect)
      • clearDialectSql

        public void clearDialectSql()
      • getPageOptimize

        public PageOptimize getPageOptimize()
        返回:
        the pageOptimize
      • setPageOptimize

        public void setPageOptimize​(PageOptimize pageOptimize)
        参数:
        pageOptimize - the pageOptimize to set
      • getTableShardingParams

        public String[] getTableShardingParams()
      • setTableShardingParams

        public void setTableShardingParams​(String[] tableShardingParams)
      • getDbShardingParams

        public String[] getDbShardingParams()
      • setDbShardingParams

        public void setDbShardingParams​(String[] dbShardingParams)
      • isIgnoreBracket

        public boolean isIgnoreBracket()
        返回:
        the ignoreBracket
      • setIgnoreBracket

        public void setIgnoreBracket​(boolean ignoreBracket)
        参数:
        ignoreBracket - the ignoreBracket to set
      • setDecryptColumns

        public void setDecryptColumns​(IgnoreCaseSet decryptColumns)
      • isHasIncludeSql

        public boolean isHasIncludeSql()
      • setHasIncludeSql

        public void setHasIncludeSql​(boolean hasIncludeSql)