接口 Mapper
- 所有已知子接口:
ConfigInfoBetaMapper,ConfigInfoGrayMapper,ConfigInfoMapper,ConfigInfoTagMapper,ConfigMigrateMapper,ConfigTagsRelationMapper,GroupCapacityMapper,HistoryConfigInfoMapper,TenantCapacityMapper,TenantInfoMapper
- 所有已知实现类:
AbstractMapper,AbstractMapperByDerby,AbstractMapperByMysql,ConfigInfoBetaMapperByDerby,ConfigInfoBetaMapperByMySql,ConfigInfoGrayMapperByDerby,ConfigInfoGrayMapperByMySql,ConfigInfoMapperByDerby,ConfigInfoMapperByMySql,ConfigInfoTagMapperByDerby,ConfigInfoTagMapperByMySql,ConfigInfoTagsRelationMapperByDerby,ConfigMigrateMapperByDerby,ConfigMigrateMapperByMysql,ConfigTagsRelationMapperByMySql,GroupCapacityMapperByDerby,GroupCapacityMapperByMysql,HistoryConfigInfoMapperByDerby,HistoryConfigInfoMapperByMySql,TenantCapacityMapperByDerby,TenantCapacityMapperByMySql,TenantInfoMapperByDerby,TenantInfoMapperByMySql
public interface Mapper
The parent class of the all mappers.
- 作者:
- hyx
-
方法概要
修饰符和类型方法说明The count method contains where params.The delete method contains.Get the datasource name.getFunction(String functionName) Get function by functionName.String[]Get config_info table primary keys name.Get the name of table.The insert method contains columns.The select method contains columns and where params.The update method contains columns and where params.
-
方法详细资料
-
select
The select method contains columns and where params.- 参数:
columns- The columnswhere- The where params- 返回:
- The sql of select
-
insert
The insert method contains columns.- 参数:
columns- The columns- 返回:
- The sql of insert
-
update
The update method contains columns and where params.- 参数:
columns- The columnswhere- The where params- 返回:
- The sql of update
-
delete
The delete method contains.- 参数:
params- The params- 返回:
- The sql of delete
-
count
The count method contains where params.- 参数:
where- The where params- 返回:
- The sql of count
-
getTableName
String getTableName()Get the name of table.- 返回:
- The name of table.
-
getDataSource
String getDataSource()Get the datasource name.- 返回:
- The name of datasource.
-
getPrimaryKeyGeneratedKeys
String[] getPrimaryKeyGeneratedKeys()Get config_info table primary keys name. The old default value: Statement.RETURN_GENERATED_KEYS The new default value: new String[]{"id"}- 返回:
- an array of column names indicating the columns
-
getFunction
Get function by functionName.- 参数:
functionName- functionName- 返回:
- function
-