接口 ConfigMigrateMapper
- 所有超级接口:
Mapper
The interface Config migrate mapper.
- 作者:
- Sunrisea
-
方法概要
修饰符和类型方法说明default MapperResultFind config id need migrate mapper result.default MapperResultFind config gray id need update migrate from empty mapper result.default MapperResultFind config id need migrate mapper result.default MapperResultfindConfigNeedUpdateMigrate(MapperContext context) Find config id need update migrate from empty mapper result.default MapperResultgetConfigConflictCount(MapperContext context) Gets namespace conflict count.default MapperResultgetConfigGrayConflictCount(MapperContext context) Gets config gray conflict count.default StringGet table name ,the migrate_config actually not exist, just for implements mapper method.default MapperResultMigrate config by ids mapper result.default MapperResultmigrateConfigInsertByIds(MapperContext context) Migrate config by ids mapper result.从接口继承的方法 com.alibaba.nacos.plugin.datasource.mapper.Mapper
count, delete, getDataSource, getFunction, getPrimaryKeyGeneratedKeys, insert, select, update
-
方法详细资料
-
getConfigConflictCount
Gets namespace conflict count.- 参数:
context- the context- 返回:
- the namespace conflict count
-
findConfigIdNeedInsertMigrate
Find config id need migrate mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
findConfigNeedUpdateMigrate
Find config id need update migrate from empty mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
findConfigGrayNeedUpdateMigrate
Find config gray id need update migrate from empty mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
migrateConfigInsertByIds
Migrate config by ids mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
getConfigGrayConflictCount
Gets config gray conflict count.- 参数:
context- the context- 返回:
- the config gray conflict count
-
findConfigGrayIdNeedInsertMigrate
Find config id need migrate mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
migrateConfigGrayInsertByIds
Migrate config by ids mapper result.- 参数:
context- the context- 返回:
- the mapper result
-
getTableName
Get table name ,the migrate_config actually not exist, just for implements mapper method.- 指定者:
getTableName在接口中Mapper- 返回:
- the mapper result
-