类 ConfigInfoMapperByDerby
java.lang.Object
com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
com.alibaba.nacos.plugin.datasource.impl.derby.AbstractMapperByDerby
com.alibaba.nacos.plugin.datasource.impl.derby.ConfigInfoMapperByDerby
- 所有已实现的接口:
ConfigInfoMapper,Mapper
The derby implementation of ConfigInfoMapper.
- 作者:
- hyx
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Query all configuration information by page.findAllConfigInfoFetchRows(MapperContext context) Query all configuration information by page.findAllConfigInfoFragment(MapperContext context) Query all config info.findAllConfigKey(MapperContext context) Query all configuration information by page.findChangeConfig(MapperContext context) Query change config.findChangeConfigFetchRows(MapperContext context) According to the time period and configuration conditions to query the eligible configuration.find config info.Query configuration information based on group.Get the config information.Query configuration information based on group.Query config info.Get the datasource name.getGroupIdList(MapperContext context) Get group id list by page.getTenantIdList(MapperContext context) Get tenant id list by page.list group key md5 by page.从类继承的方法 com.alibaba.nacos.plugin.datasource.impl.derby.AbstractMapperByDerby
getFunction从类继承的方法 com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
count, delete, getPrimaryKeyGeneratedKeys, insert, select, update从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.nacos.plugin.datasource.mapper.ConfigInfoMapper
configInfoLikeTenantCount, findAllConfigInfo4Export, findAllDataIdAndGroup, findChangeConfigCountRows, findConfigInfo4PageCountRows, findConfigInfoBaseLikeCountRows, findConfigInfoByAppCountRows, findConfigInfoLike4PageCountRows, findConfigInfosByIds, findConfigMaxId, getTableName, removeConfigInfoByIdsAtomic, updateConfigInfoAtomicCas从接口继承的方法 com.alibaba.nacos.plugin.datasource.mapper.Mapper
count, delete, getFunction, getPrimaryKeyGeneratedKeys, insert, select, update
-
构造器详细资料
-
ConfigInfoMapperByDerby
public ConfigInfoMapperByDerby()
-
-
方法详细资料
-
findConfigInfoByAppFetchRows
从接口复制的说明:ConfigInfoMapperQuery configuration information based on group.
The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content FROM config_info WHERE tenant_id LIKE ? AND app_name=? LIMIT startRow, pageSize- 指定者:
findConfigInfoByAppFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of querying configration information based on group.
-
getTenantIdList
从接口复制的说明:ConfigInfoMapperGet tenant id list by page. The default sql: SELECT tenant_id FROM config_info WHERE tenant_id != '' GROUP BY tenant_id LIMIT startRow, pageSize- 指定者:
getTenantIdList在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of getting tenant id list by page.
-
getGroupIdList
从接口复制的说明:ConfigInfoMapperGet group id list by page. The default sql: SELECT group_id FROM config_info WHERE tenant_id ='{defaultNamespaceId}' GROUP BY group_id LIMIT startRow, pageSize- 指定者:
getGroupIdList在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of getting group id list by page.
-
findAllConfigKey
从接口复制的说明:ConfigInfoMapperQuery all configuration information by page. The default sql: SELECT data_id,group_id,app_name FROM ( SELECT id FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT startRow, pageSize ) g, config_info t WHERE g.id = t.id- 指定者:
findAllConfigKey在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of querying all configuration information.
-
findAllConfigInfoBaseFetchRows
从接口复制的说明:ConfigInfoMapperQuery all configuration information by page. The default sql: SELECT t.id,data_id,group_id,content,md5 FROM ( SELECT id FROM config_info ORDER BY id LIMIT ?,?) g, config_info t WHERE g.id = t.id- 指定者:
findAllConfigInfoBaseFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of querying all configuration information by page.
-
findAllConfigInfoFragment
从接口复制的说明:ConfigInfoMapperQuery all config info. The default sql: "SELECT id,data_id,group_id,tenant_id,app_name,"+ (needContent ? "content," : "") + "md5,gmt_modified,type,encrypted_data_key FROM config_info WHERE id > ? ORDER BY id ASC LIMIT startRow,pageSize"- 指定者:
findAllConfigInfoFragment在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of querying all config info.
-
findChangeConfigFetchRows
从接口复制的说明:ConfigInfoMapperAccording to the time period and configuration conditions to query the eligible configuration. The default sql: SELECT id,data_id,group_id,tenant_id,app_name,type,md5,gmt_modified FROM config_info WHERE ...- 指定者:
findChangeConfigFetchRows在接口中ConfigInfoMapper- 参数:
context- The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content, startTime, endTime), the value is the key's value.- 返回:
- The sql of getting config information according to the time period.
-
listGroupKeyMd5ByPageFetchRows
从接口复制的说明:ConfigInfoMapperlist group key md5 by page. The default sql: SELECT t.id,data_id,group_id,tenant_id,app_name,md5,type,gmt_modified,encrypted_data_key FROM ( SELECT id FROM config_info ORDER BY id LIMIT ?,? ) g, config_info t WHERE g.id = t.id- 指定者:
listGroupKeyMd5ByPageFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of listing group key md5 by page.
-
findConfigInfoBaseLikeFetchRows
从接口复制的说明:ConfigInfoMapperGet the config information. The default sql: SELECT id,data_id,group_id,tenant_id,content FROM config_info WHERE ...- 指定者:
findConfigInfoBaseLikeFetchRows在接口中ConfigInfoMapper- 参数:
context- The map of params, the key is the parameter name(dataId, groupId, tenant_id, content), the value is the key's value.- 返回:
- The sql of getting the config information.
-
findConfigInfo4PageFetchRows
从接口复制的说明:ConfigInfoMapperfind config info. The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content,type,encrypted_data_key FROM config_info ...- 指定者:
findConfigInfo4PageFetchRows在接口中ConfigInfoMapper- 参数:
context- The mpa of dataId, groupId and appName.- 返回:
- The sql of finding config info.
-
findConfigInfoBaseByGroupFetchRows
从接口复制的说明:ConfigInfoMapperQuery configuration information based on group. The default sql: SELECT id,data_id,group_id,content FROM config_info WHERE group_id=? AND tenant_id=? LIMIT startRow, pageSize- 指定者:
findConfigInfoBaseByGroupFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- Query configuration information based on group.
-
findConfigInfoLike4PageFetchRows
从接口复制的说明:ConfigInfoMapperQuery config info.
The default sql:
SELECT id,data_id,group_id,tenant_id,app_name,content,encrypted_data_key FROM config_info ...- 指定者:
findConfigInfoLike4PageFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- The sql of querying config info
-
findAllConfigInfoFetchRows
从接口复制的说明:ConfigInfoMapperQuery all configuration information by page.
The default sql:
SELECT t.id,data_id,group_id,tenant_id,app_name,content,md5 " + " FROM ( SELECT id FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT ?,? )" + " g, config_info t WHERE g.id = t.id- 指定者:
findAllConfigInfoFetchRows在接口中ConfigInfoMapper- 参数:
context- The context of startRow, pageSize- 返回:
- Query all configuration information by page.
-
getDataSource
从接口复制的说明:MapperGet the datasource name.- 指定者:
getDataSource在接口中Mapper- 返回:
- The name of datasource.
-
findChangeConfig
从接口复制的说明:ConfigInfoMapperQuery change config.
The default sql: SELECT id, data_id, group_id, tenant_id, app_name, md5, gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND id > ? ORDER BY id LIMIT pageSize- 指定者:
findChangeConfig在接口中ConfigInfoMapper- 参数:
context- sql paramMap- 返回:
- The sql of querying change config.
-