类 ConfigInfoMapperByDerby

所有已实现的接口:
ConfigInfoMapper, Mapper

public class ConfigInfoMapperByDerby extends AbstractMapperByDerby implements ConfigInfoMapper
The derby implementation of ConfigInfoMapper.
作者:
hyx
  • 构造器详细资料

    • ConfigInfoMapperByDerby

      public ConfigInfoMapperByDerby()
  • 方法详细资料

    • findConfigInfoByAppFetchRows

      public MapperResult findConfigInfoByAppFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query configuration information based on group.
      The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content FROM config_info WHERE tenant_id LIKE ? AND app_name=? LIMIT startRow, pageSize
      指定者:
      findConfigInfoByAppFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of querying configration information based on group.
    • getTenantIdList

      public MapperResult getTenantIdList(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Get tenant id list by page. The default sql: SELECT tenant_id FROM config_info WHERE tenant_id != '' GROUP BY tenant_id LIMIT startRow, pageSize
      指定者:
      getTenantIdList 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of getting tenant id list by page.
    • getGroupIdList

      public MapperResult getGroupIdList(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Get group id list by page. The default sql: SELECT group_id FROM config_info WHERE tenant_id ='{defaultNamespaceId}' GROUP BY group_id LIMIT startRow, pageSize
      指定者:
      getGroupIdList 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of getting group id list by page.
    • findAllConfigKey

      public MapperResult findAllConfigKey(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query all configuration information by page. The default sql: SELECT data_id,group_id,app_name FROM ( SELECT id FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT startRow, pageSize ) g, config_info t WHERE g.id = t.id
      指定者:
      findAllConfigKey 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of querying all configuration information.
    • findAllConfigInfoBaseFetchRows

      public MapperResult findAllConfigInfoBaseFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query all configuration information by page. The default sql: SELECT t.id,data_id,group_id,content,md5 FROM ( SELECT id FROM config_info ORDER BY id LIMIT ?,?) g, config_info t WHERE g.id = t.id
      指定者:
      findAllConfigInfoBaseFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of querying all configuration information by page.
    • findAllConfigInfoFragment

      public MapperResult findAllConfigInfoFragment(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query all config info. The default sql: "SELECT id,data_id,group_id,tenant_id,app_name,"+ (needContent ? "content," : "") + "md5,gmt_modified,type,encrypted_data_key FROM config_info WHERE id > ? ORDER BY id ASC LIMIT startRow,pageSize"
      指定者:
      findAllConfigInfoFragment 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of querying all config info.
    • findChangeConfigFetchRows

      public MapperResult findChangeConfigFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      According to the time period and configuration conditions to query the eligible configuration. The default sql: SELECT id,data_id,group_id,tenant_id,app_name,type,md5,gmt_modified FROM config_info WHERE ...
      指定者:
      findChangeConfigFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content, startTime, endTime), the value is the key's value.
      返回:
      The sql of getting config information according to the time period.
    • listGroupKeyMd5ByPageFetchRows

      public MapperResult listGroupKeyMd5ByPageFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      list group key md5 by page. The default sql: SELECT t.id,data_id,group_id,tenant_id,app_name,md5,type,gmt_modified,encrypted_data_key FROM ( SELECT id FROM config_info ORDER BY id LIMIT ?,? ) g, config_info t WHERE g.id = t.id
      指定者:
      listGroupKeyMd5ByPageFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of listing group key md5 by page.
    • findConfigInfoBaseLikeFetchRows

      public MapperResult findConfigInfoBaseLikeFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Get the config information. The default sql: SELECT id,data_id,group_id,tenant_id,content FROM config_info WHERE ...
      指定者:
      findConfigInfoBaseLikeFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The map of params, the key is the parameter name(dataId, groupId, tenant_id, content), the value is the key's value.
      返回:
      The sql of getting the config information.
    • findConfigInfo4PageFetchRows

      public MapperResult findConfigInfo4PageFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      find config info. The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content,type,encrypted_data_key FROM config_info ...
      指定者:
      findConfigInfo4PageFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The mpa of dataId, groupId and appName.
      返回:
      The sql of finding config info.
    • findConfigInfoBaseByGroupFetchRows

      public MapperResult findConfigInfoBaseByGroupFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query configuration information based on group. The default sql: SELECT id,data_id,group_id,content FROM config_info WHERE group_id=? AND tenant_id=? LIMIT startRow, pageSize
      指定者:
      findConfigInfoBaseByGroupFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      Query configuration information based on group.
    • findConfigInfoLike4PageFetchRows

      public MapperResult findConfigInfoLike4PageFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query config info.
      The default sql:
      SELECT id,data_id,group_id,tenant_id,app_name,content,encrypted_data_key FROM config_info ...
      指定者:
      findConfigInfoLike4PageFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      The sql of querying config info
    • findAllConfigInfoFetchRows

      public MapperResult findAllConfigInfoFetchRows(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query all configuration information by page.
      The default sql:
      SELECT t.id,data_id,group_id,tenant_id,app_name,content,md5 " + " FROM ( SELECT id FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT ?,? )" + " g, config_info t WHERE g.id = t.id
      指定者:
      findAllConfigInfoFetchRows 在接口中 ConfigInfoMapper
      参数:
      context - The context of startRow, pageSize
      返回:
      Query all configuration information by page.
    • getDataSource

      public String getDataSource()
      从接口复制的说明: Mapper
      Get the datasource name.
      指定者:
      getDataSource 在接口中 Mapper
      返回:
      The name of datasource.
    • findChangeConfig

      public MapperResult findChangeConfig(MapperContext context)
      从接口复制的说明: ConfigInfoMapper
      Query change config.
      The default sql: SELECT id, data_id, group_id, tenant_id, app_name, md5, gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND id > ? ORDER BY id LIMIT pageSize
      指定者:
      findChangeConfig 在接口中 ConfigInfoMapper
      参数:
      context - sql paramMap
      返回:
      The sql of querying change config.