类 ConfigInfoBetaMapperByMySql
- java.lang.Object
-
- com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
-
- com.alibaba.nacos.plugin.datasource.impl.mysql.ConfigInfoBetaMapperByMySql
-
- 所有已实现的接口:
ConfigInfoBetaMapper,Mapper
public class ConfigInfoBetaMapperByMySql extends AbstractMapper implements ConfigInfoBetaMapper
The mysql implementation of ConfigInfoBetaMapper.- 作者:
- hyx
-
-
构造器概要
构造器 构造器 说明 ConfigInfoBetaMapperByMySql()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringfindAllConfigInfoBetaForDumpAllFetchRows(int startRow, int pageSize)Query all beta config info for dump task.java.lang.StringgetDataSource()Get the datasource name.java.lang.StringgetTableName()Get the name of table.java.lang.StringupdateConfigInfo4BetaCas()Update beta configuration information.-
从类继承的方法 com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
count, delete, getPrimaryKeyGeneratedKeys, insert, select, update
-
-
-
-
方法详细资料
-
updateConfigInfo4BetaCas
public java.lang.String updateConfigInfo4BetaCas()
从接口复制的说明:ConfigInfoBetaMapperUpdate beta configuration information. UPDATE config_info_beta SET content=?, md5=?, beta_ips=?, src_ip=?,src_user=?,gmt_modified=?,app_name=? WHERE data_id=? AND group_id=? AND tenant_id=? AND (md5=? or md5 is null or md5='')- 指定者:
updateConfigInfo4BetaCas在接口中ConfigInfoBetaMapper- 返回:
- The sql of updating beta configuration information.
-
findAllConfigInfoBetaForDumpAllFetchRows
public java.lang.String findAllConfigInfoBetaForDumpAllFetchRows(int startRow, int pageSize)从接口复制的说明:ConfigInfoBetaMapperQuery all beta config info for dump task. The default sql: SELECT t.id,data_id,group_id,tenant_id,app_name,content,md5,gmt_modified,beta_ips,encrypted_data_key FROM ( SELECT id FROM config_info_beta ORDER BY id LIMIT startRow,pageSize ) g, config_info_beta t WHERE g.id = t.id- 指定者:
findAllConfigInfoBetaForDumpAllFetchRows在接口中ConfigInfoBetaMapper- 参数:
startRow- The start index.pageSize- The size of page.- 返回:
- The sql of querying all beta config info for dump task.
-
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.
-
-