接口 ConfigInfoAggrMapper
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.lang.StringaggrConfigInfoCount(int size, boolean isIn)Get count of aggregation config info.java.lang.StringbatchRemoveAggr(java.util.List<java.lang.String> datumList)To delete aggregated data in bulk, you need to specify a list of datum.java.lang.StringfindAllAggrGroupByDistinct()Find all aggregated data sets.java.lang.StringfindConfigInfoAggrByPageFetchRows(int startRow, int pageSize)Query aggregation config info.java.lang.StringfindConfigInfoAggrIsOrdered()Find all data before aggregation under a dataId.-
从接口继承的方法 com.alibaba.nacos.plugin.datasource.mapper.Mapper
count, delete, getDataSource, getPrimaryKeyGeneratedKeys, getTableName, insert, select, update
-
-
-
-
方法详细资料
-
batchRemoveAggr
java.lang.String batchRemoveAggr(java.util.List<java.lang.String> datumList)
To delete aggregated data in bulk, you need to specify a list of datum. The default sql: DELETE FROM config_info_aggr WHERE data_id=? AND group_id=? AND tenant_id=? AND datum_id IN (...)- 参数:
datumList- datumList- 返回:
- The sql of deleting aggregated data in bulk.
-
aggrConfigInfoCount
java.lang.String aggrConfigInfoCount(int size, boolean isIn)Get count of aggregation config info. The default sql: SELECT count(*) FROM config_info_aggr WHERE data_id = ? AND group_id = ? AND tenant_id = ?- 参数:
size- datum id list sizeisIn- search condition- 返回:
- The sql of getting count of aggregation config info.
-
findConfigInfoAggrIsOrdered
java.lang.String findConfigInfoAggrIsOrdered()
Find all data before aggregation under a dataId. It is guaranteed not to return NULL. The default sql: SELECT data_id,group_id,tenant_id,datum_id,app_name,content FROM config_info_aggr WHERE data_id=? AND group_id=? AND tenant_id=? ORDER BY datum_id- 返回:
- The sql of finding all data before aggregation under a dataId.
-
findConfigInfoAggrByPageFetchRows
java.lang.String findConfigInfoAggrByPageFetchRows(int startRow, int pageSize)Query aggregation config info. The default sql: SELECT data_id,group_id,tenant_id,datum_id,app_name,content FROM config_info_aggr WHERE data_id=? AND group_id=? AND tenant_id=? ORDER BY datum_id LIMIT startRow,pageSize- 参数:
startRow- The start index.pageSize- The size of page.- 返回:
- The sql of querying aggregation config info.
-
findAllAggrGroupByDistinct
java.lang.String findAllAggrGroupByDistinct()
Find all aggregated data sets. The default sql: SELECT DISTINCT data_id, group_id, tenant_id FROM config_info_aggr- 返回:
- The sql of finding all aggregated data sets.
-
-