类 SqlToyConfig
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.SqlToyConfig
-
- 所有已实现的接口:
Serializable,Cloneable
public class SqlToyConfig extends Object implements Serializable, Cloneable
- 版本:
- v1.0,Date:2014年12月9日
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 SqlToyConfig(String dialect)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()
-
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
-
addFilter
public void addFilter(ParamFilterModel paramFilter)
-
getFilters
public List<ParamFilterModel> getFilters()
-
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
-
setFastSql
public void setFastSql(String fastSql)
- 参数:
fastSql- the fastSql to set
-
setFastWithSql
public void setFastWithSql(String fastWithSql)
- 参数:
fastWithSql- the fastWithSql to set
-
setFastPreSql
public void setFastPreSql(String fastPreSql)
- 参数:
fastPreSql- the fastPreSql to set
-
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
-
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
-
clone
public SqlToyConfig clone()
-
addCacheArgParam
public void addCacheArgParam(String name)
- 参数:
name-
-
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
-
getDataSourceSharding
public ShardingStrategyConfig getDataSourceSharding()
-
setDataSourceSharding
public void setDataSourceSharding(ShardingStrategyConfig dataSourceSharding)
-
getTableShardings
public List<ShardingStrategyConfig> getTableShardings()
-
setTableShardings
public void setTableShardings(List<ShardingStrategyConfig> tableShardings)
-
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
-
getDecryptColumns
public IgnoreCaseSet getDecryptColumns()
-
setDecryptColumns
public void setDecryptColumns(IgnoreCaseSet decryptColumns)
-
isHasIncludeSql
public boolean isHasIncludeSql()
-
setHasIncludeSql
public void setHasIncludeSql(boolean hasIncludeSql)
-
-