类 ConfigInfoAggrMapperByDerby
- java.lang.Object
-
- com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
-
- com.alibaba.nacos.plugin.datasource.impl.derby.ConfigInfoAggrMapperByDerby
-
- 所有已实现的接口:
ConfigInfoAggrMapper,Mapper
public class ConfigInfoAggrMapperByDerby extends AbstractMapper implements ConfigInfoAggrMapper
The derby implementation of ConfigInfoAggrMapper.- 作者:
- hyx
-
-
构造器概要
构造器 构造器 说明 ConfigInfoAggrMapperByDerby()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.java.lang.StringgetDataSource()Get the datasource name.java.lang.StringgetTableName()Get the name of table.-
从类继承的方法 com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper
count, delete, getPrimaryKeyGeneratedKeys, insert, select, update
-
-
-
-
方法详细资料
-
batchRemoveAggr
public java.lang.String batchRemoveAggr(java.util.List<java.lang.String> datumList)
从接口复制的说明:ConfigInfoAggrMapperTo 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 (...)- 指定者:
batchRemoveAggr在接口中ConfigInfoAggrMapper- 参数:
datumList- datumList- 返回:
- The sql of deleting aggregated data in bulk.
-
aggrConfigInfoCount
public java.lang.String aggrConfigInfoCount(int size, boolean isIn)从接口复制的说明:ConfigInfoAggrMapperGet count of aggregation config info. The default sql: SELECT count(*) FROM config_info_aggr WHERE data_id = ? AND group_id = ? AND tenant_id = ?- 指定者:
aggrConfigInfoCount在接口中ConfigInfoAggrMapper- 参数:
size- datum id list sizeisIn- search condition- 返回:
- The sql of getting count of aggregation config info.
-
findConfigInfoAggrIsOrdered
public java.lang.String findConfigInfoAggrIsOrdered()
从接口复制的说明:ConfigInfoAggrMapperFind 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- 指定者:
findConfigInfoAggrIsOrdered在接口中ConfigInfoAggrMapper- 返回:
- The sql of finding all data before aggregation under a dataId.
-
findConfigInfoAggrByPageFetchRows
public java.lang.String findConfigInfoAggrByPageFetchRows(int startRow, int pageSize)从接口复制的说明:ConfigInfoAggrMapperQuery 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- 指定者:
findConfigInfoAggrByPageFetchRows在接口中ConfigInfoAggrMapper- 参数:
startRow- The start index.pageSize- The size of page.- 返回:
- The sql of querying aggregation config info.
-
findAllAggrGroupByDistinct
public java.lang.String findAllAggrGroupByDistinct()
从接口复制的说明:ConfigInfoAggrMapperFind all aggregated data sets. The default sql: SELECT DISTINCT data_id, group_id, tenant_id FROM config_info_aggr- 指定者:
findAllAggrGroupByDistinct在接口中ConfigInfoAggrMapper- 返回:
- The sql of finding all aggregated data sets.
-
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.
-
-