类 HistoryConfigInfoMapperByMySql
java.lang.Object
com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
com.alibaba.nacos.plugin.datasource.impl.mysql.AbstractMapperByMysql
com.alibaba.nacos.plugin.datasource.impl.mysql.HistoryConfigInfoMapperByMySql
- 所有已实现的接口:
HistoryConfigInfoMapper,Mapper
public class HistoryConfigInfoMapperByMySql
extends AbstractMapperByMysql
implements HistoryConfigInfoMapper
The mysql implementation of HistoryConfigInfoMapper.
- 作者:
- hyx
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get the datasource name.page search List configuration history.removeConfigHistory(MapperContext context) Delete data before startTime.从类继承的方法 com.alibaba.nacos.plugin.datasource.impl.mysql.AbstractMapperByMysql
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.HistoryConfigInfoMapper
detailPreviousConfigHistory, findConfigHistoryCountByTime, findConfigHistoryFetchRows, findDeletedConfig, getNextHistoryInfo, getTableName从接口继承的方法 com.alibaba.nacos.plugin.datasource.mapper.Mapper
count, delete, getFunction, getPrimaryKeyGeneratedKeys, insert, select, update
-
构造器详细资料
-
HistoryConfigInfoMapperByMySql
public HistoryConfigInfoMapperByMySql()
-
-
方法详细资料
-
removeConfigHistory
从接口复制的说明:HistoryConfigInfoMapperDelete data before startTime. The default sql: DELETE FROM his_config_info WHERE gmt_modified < ? LIMIT ?- 指定者:
removeConfigHistory在接口中HistoryConfigInfoMapper- 参数:
context- sql paramMap- 返回:
- The sql of deleting data before startTime.
-
pageFindConfigHistoryFetchRows
从接口复制的说明:HistoryConfigInfoMapperpage search List configuration history. SELECT nid,data_id,group_id,tenant_id,app_name,src_ip,src_user,op_type,gmt_create,gmt_modified FROM his_config_info WHERE data_id = ? AND group_id = ? AND tenant_id = ? ORDER BY nid DESC limit ?,?- 指定者:
pageFindConfigHistoryFetchRows在接口中HistoryConfigInfoMapper- 参数:
context- pageNo- 返回:
-
getDataSource
从接口复制的说明:MapperGet the datasource name.- 指定者:
getDataSource在接口中Mapper- 返回:
- The name of datasource.
-