类 ConfigTagsRelationMapperByMySql
- java.lang.Object
-
- com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
-
- com.alibaba.nacos.plugin.datasource.impl.mysql.ConfigTagsRelationMapperByMySql
-
- 所有已实现的接口:
ConfigTagsRelationMapper,Mapper
public class ConfigTagsRelationMapperByMySql extends AbstractMapper implements ConfigTagsRelationMapper
The mysql implementation of ConfigTagsRelationMapper.- 作者:
- hyx
-
-
构造器概要
构造器 构造器 说明 ConfigTagsRelationMapperByMySql()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringfindConfigInfo4PageCountRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize)Get the count of config info.java.lang.StringfindConfigInfo4PageFetchRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize, int startRow, int pageSize)Find config info.java.lang.StringfindConfigInfoLike4PageCountRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize)Get the count of config information by config tags relation.java.lang.StringfindConfigInfoLike4PageFetchRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize, int startRow, int pageSize)Query config info.java.lang.StringgetDataSource()Get the datasource name.java.lang.StringgetTableName()Get the name of table.-
从类继承的方法 com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
count, delete, getPrimaryKeyGeneratedKeys, insert, select, update
-
-
-
-
方法详细资料
-
findConfigInfo4PageCountRows
public java.lang.String findConfigInfo4PageCountRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize)从接口复制的说明:ConfigTagsRelationMapperGet the count of config info. The default sql: SELECT count(*) FROM config_info WHERE ...- 指定者:
findConfigInfo4PageCountRows在接口中ConfigTagsRelationMapper- 参数:
params- The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content), the value is the key's value.tagSize- the tags name size.- 返回:
- The sql of get config info.
-
findConfigInfo4PageFetchRows
public java.lang.String findConfigInfo4PageFetchRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize, int startRow, int pageSize)从接口复制的说明:ConfigTagsRelationMapperFind config info. The default sql: SELECT a.id,a.data_id,a.group_id,a.tenant_id,a.app_name,a.content FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.i ...- 指定者:
findConfigInfo4PageFetchRows在接口中ConfigTagsRelationMapper- 参数:
params- The keys and values are dataId and group.tagSize- the tags name size.startRow- The start index.pageSize- The size of page.- 返回:
- The sql of finding config info.
-
findConfigInfoLike4PageCountRows
public java.lang.String findConfigInfoLike4PageCountRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize)从接口复制的说明:ConfigTagsRelationMapperGet the count of config information by config tags relation. The default sql: SELECT count(*) FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.id- 指定者:
findConfigInfoLike4PageCountRows在接口中ConfigTagsRelationMapper- 参数:
params- the keys and values are dataId and group.tagSize- the tags name size.- 返回:
- The sql of getting the count of config information.
-
findConfigInfoLike4PageFetchRows
public java.lang.String findConfigInfoLike4PageFetchRows(java.util.Map<java.lang.String,java.lang.String> params, int tagSize, int startRow, int pageSize)从接口复制的说明:ConfigTagsRelationMapperQuery config info. The default sql: SELECT a.id,a.data_id,a.group_id,a.tenant_id,a.app_name,a.content FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.id- 指定者:
findConfigInfoLike4PageFetchRows在接口中ConfigTagsRelationMapper- 参数:
params- the keys and values are dataId and group.tagSize- the tags name size.startRow- The start index.pageSize- The size of page.- 返回:
- The sql of querying config info.
-
getTableName
public java.lang.String getTableName()
从接口复制的说明:MapperGet the name of table.- 指定者:
getTableName在接口中Mapper- 返回:
- The name of table.
-
getDataSource
public java.lang.String getDataSource()
从接口复制的说明:MapperGet the datasource name.- 指定者:
getDataSource在接口中Mapper- 返回:
- The name of datasource.
-
-