类 ConfigInfoMapperByDerby

    • 字段详细资料

      • DATA_ID

        private static final java.lang.String DATA_ID
        另请参阅:
        常量字段值
      • GROUP

        private static final java.lang.String GROUP
        另请参阅:
        常量字段值
      • APP_NAME

        private static final java.lang.String APP_NAME
        另请参阅:
        常量字段值
      • CONTENT

        private static final java.lang.String CONTENT
        另请参阅:
        常量字段值
      • TENANT

        private static final java.lang.String TENANT
        另请参阅:
        常量字段值
    • 构造器详细资料

      • ConfigInfoMapperByDerby

        public ConfigInfoMapperByDerby()
    • 方法详细资料

      • findConfigMaxId

        public java.lang.String findConfigMaxId()
        从接口复制的说明: ConfigInfoMapper
        Get the maxId. The default sql: SELECT max(id) FROM config_info
        指定者:
        findConfigMaxId 在接口中 ConfigInfoMapper
        返回:
        the sql of getting the maxId.
      • findAllDataIdAndGroup

        public java.lang.String findAllDataIdAndGroup()
        从接口复制的说明: ConfigInfoMapper
        Find all dataId and group. The default sql: SELECT DISTINCT data_id, group_id FROM config_info
        指定者:
        findAllDataIdAndGroup 在接口中 ConfigInfoMapper
        返回:
        The sql of finding all dataId and group.
      • findConfigInfoByAppCountRows

        public java.lang.String findConfigInfoByAppCountRows()
        从接口复制的说明: ConfigInfoMapper
        Query the count of config_info by tenantId and appName. The default sql: SELECT count(*) FROM config_info WHERE tenant_id LIKE ? AND app_name=?
        指定者:
        findConfigInfoByAppCountRows 在接口中 ConfigInfoMapper
        返回:
        The sql of querying the count of config_info.
      • findConfigInfoByAppFetchRows

        public java.lang.String findConfigInfoByAppFetchRows​(int startRow,
                                                             int pageSize)
        从接口复制的说明: 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=?
        指定者:
        findConfigInfoByAppFetchRows 在接口中 ConfigInfoMapper
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying configration information based on group.
      • configInfoLikeTenantCount

        public java.lang.String configInfoLikeTenantCount()
        从接口复制的说明: ConfigInfoMapper
        Returns the number of configuration items. The default sql: SELECT count(*) FROM config_info WHERE tenant_id LIKE ?
        指定者:
        configInfoLikeTenantCount 在接口中 ConfigInfoMapper
        返回:
        The sql of querying the number of configuration items.
      • getTenantIdList

        public java.lang.String getTenantIdList​(int startRow,
                                                int pageSize)
        从接口复制的说明: 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
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of getting tenant id list by page.
      • getGroupIdList

        public java.lang.String getGroupIdList​(int startRow,
                                               int pageSize)
        从接口复制的说明: ConfigInfoMapper
        Get group id list by page. The default sql: SELECT group_id FROM config_info WHERE tenant_id ='' GROUP BY group_id LIMIT startRow, pageSize
        指定者:
        getGroupIdList 在接口中 ConfigInfoMapper
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of getting group id list by page.
      • findAllConfigKey

        public java.lang.String findAllConfigKey​(int startRow,
                                                 int pageSize)
        从接口复制的说明: 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
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying all configuration information.
      • findAllConfigInfoBaseFetchRows

        public java.lang.String findAllConfigInfoBaseFetchRows​(int startRow,
                                                               int pageSize)
        从接口复制的说明: 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
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying all configuration information by page.
      • findAllConfigInfoFragment

        public java.lang.String findAllConfigInfoFragment​(int startRow,
                                                          int pageSize)
        从接口复制的说明: ConfigInfoMapper
        Query all config info. The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content,md5,gmt_modified,type,encrypted_data_key FROM config_info WHERE id > ? ORDER BY id ASC LIMIT startRow,pageSize
        指定者:
        findAllConfigInfoFragment 在接口中 ConfigInfoMapper
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying all config info.
      • findChangeConfig

        public java.lang.String findChangeConfig()
        从接口复制的说明: ConfigInfoMapper
        Query change config. The default sql: SELECT data_id, group_id, tenant_id, app_name, content, gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND gmt_modified <= ?
        指定者:
        findChangeConfig 在接口中 ConfigInfoMapper
        返回:
        The sql of querying change config.
      • findChangeConfigCountRows

        public java.lang.String findChangeConfigCountRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                          java.sql.Timestamp startTime,
                                                          java.sql.Timestamp endTime)
        从接口复制的说明: ConfigInfoMapper
        Get the count of config information. The default sql: SELECT count(*) FROM config_info WHERE ...
        指定者:
        findChangeConfigCountRows 在接口中 ConfigInfoMapper
        参数:
        params - The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content), the value is the key's value.
        startTime - start time
        endTime - end time
        返回:
        The sql of getting the count of config information.
      • findChangeConfigFetchRows

        public java.lang.String findChangeConfigFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                          java.sql.Timestamp startTime,
                                                          java.sql.Timestamp endTime,
                                                          int startRow,
                                                          int pageSize,
                                                          long lastMaxId)
        从接口复制的说明: 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,content,type,md5,gmt_modified FROM config_info WHERE ...
        指定者:
        findChangeConfigFetchRows 在接口中 ConfigInfoMapper
        参数:
        params - The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content), the value is the key's value.
        startTime - start time
        endTime - end time
        startRow - The start index.
        pageSize - The size of page.
        lastMaxId - The max id.
        返回:
        The sql of getting config information according to the time period.
      • listGroupKeyMd5ByPageFetchRows

        public java.lang.String listGroupKeyMd5ByPageFetchRows​(int startRow,
                                                               int pageSize)
        从接口复制的说明: 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
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of listing group key md5 by page.
      • findAllConfigInfo4Export

        public java.lang.String findAllConfigInfo4Export​(java.util.List<java.lang.Long> ids,
                                                         java.util.Map<java.lang.String,​java.lang.String> params)
        从接口复制的说明: ConfigInfoMapper
        query all configuration information according to group, appName, tenant (for export). The default sql: SELECT id,data_id,group_id,tenant_id,app_name,content,type,md5,gmt_create,gmt_modified, src_user,src_ip,c_desc,c_use,effect,c_schema,encrypted_data_key FROM config_info WHERE ...
        指定者:
        findAllConfigInfo4Export 在接口中 ConfigInfoMapper
        参数:
        ids - ids
        params - The map of params, the key is the parameter name(dataId, group, appName), the value is the key's value.
        返回:
        Collection of ConfigInfo objects
      • findConfigInfoBaseLikeCountRows

        public java.lang.String findConfigInfoBaseLikeCountRows​(java.util.Map<java.lang.String,​java.lang.String> params)
        从接口复制的说明: ConfigInfoMapper
        Get the count of config information. The default sql: SELECT count(*) FROM config_info WHERE ...
        指定者:
        findConfigInfoBaseLikeCountRows 在接口中 ConfigInfoMapper
        参数:
        params - The map of params, the key is the parameter name(dataId, groupId, tenant_id, content), the value is the arbitrary object.
        返回:
        The sql of getting the count of config information.
      • findConfigInfoBaseLikeFetchRows

        public java.lang.String findConfigInfoBaseLikeFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                                int startRow,
                                                                int pageSize)
        从接口复制的说明: ConfigInfoMapper
        Get the config information. The default sql: SELECT id,data_id,group_id,tenant_id,content FROM config_info WHERE ...
        指定者:
        findConfigInfoBaseLikeFetchRows 在接口中 ConfigInfoMapper
        参数:
        params - The map of params, the key is the parameter name(dataId, groupId, tenant_id, content), the value is the key's value.
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of getting the config information.
      • findConfigInfo4PageCountRows

        public java.lang.String findConfigInfo4PageCountRows​(java.util.Map<java.lang.String,​java.lang.String> params)
        从接口复制的说明: ConfigInfoMapper
        find the count of config info. The default sql: SELECT count(*) FROM config_info ...
        指定者:
        findConfigInfo4PageCountRows 在接口中 ConfigInfoMapper
        参数:
        params - The mpa of dataId, groupId and appName.
        返回:
        The count of config info.
      • findConfigInfo4PageFetchRows

        public java.lang.String findConfigInfo4PageFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                             int startRow,
                                                             int pageSize)
        从接口复制的说明: 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
        参数:
        params - The mpa of dataId, groupId and appName.
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of finding config info.
      • findConfigInfoBaseByGroupFetchRows

        public java.lang.String findConfigInfoBaseByGroupFetchRows​(int startRow,
                                                                   int pageSize)
        从接口复制的说明: 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=?
        指定者:
        findConfigInfoBaseByGroupFetchRows 在接口中 ConfigInfoMapper
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        Query configuration information based on group.
      • findConfigInfoLike4PageCountRows

        public java.lang.String findConfigInfoLike4PageCountRows​(java.util.Map<java.lang.String,​java.lang.String> params)
        从接口复制的说明: ConfigInfoMapper
        Query config info count. The default sql: SELECT count(*) FROM config_info ...
        指定者:
        findConfigInfoLike4PageCountRows 在接口中 ConfigInfoMapper
        参数:
        params - The map of dataId, group, appName, content
        返回:
        The sql of querying config info count
      • findConfigInfoLike4PageFetchRows

        public java.lang.String findConfigInfoLike4PageFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                                 int startRow,
                                                                 int pageSize)
        从接口复制的说明: 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
        参数:
        params - The map of dataId, group, appName, content
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying config info
      • findAllConfigInfoFetchRows

        public java.lang.String findAllConfigInfoFetchRows​(int startRow,
                                                           int pageSize)
        从接口复制的说明: 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
        参数:
        startRow - The start index.
        pageSize - The size of page.
        返回:
        Query all configuration information by page.
      • findConfigInfosByIds

        public java.lang.String findConfigInfosByIds​(int idSize)
        从接口复制的说明: ConfigInfoMapper
        find ConfigInfo by ids. The default sql: SELECT ID,data_id,group_id,tenant_id,app_name,content,md5 FROM config_info WHERE id IN (...)
        指定者:
        findConfigInfosByIds 在接口中 ConfigInfoMapper
        参数:
        idSize - the size of ids.
        返回:
        find ConfigInfo by ids.
      • removeConfigInfoByIdsAtomic

        public java.lang.String removeConfigInfoByIdsAtomic​(int size)
        从接口复制的说明: ConfigInfoMapper
        Remove configuration; database atomic operation, minimum SQL action, no business encapsulation.
        指定者:
        removeConfigInfoByIdsAtomic 在接口中 ConfigInfoMapper
        参数:
        size - The size of ids.
        返回:
        The sql of removing configuration.
      • updateConfigInfoAtomicCas

        public java.lang.String updateConfigInfoAtomicCas()
        从接口复制的说明: ConfigInfoMapper
        Update configuration; database atomic operation, minimum SQL action, no business encapsulation. The default sql: UPDATE config_info SET content=?, md5 = ?, src_ip=?,src_user=?,gmt_modified=?, app_name=?,c_desc=?,c_use=?, effect=?,type=?,c_schema=? WHERE data_id=? AND group_id=? AND tenant_id=? AND (md5=? OR md5 IS NULL OR md5='')
        指定者:
        updateConfigInfoAtomicCas 在接口中 ConfigInfoMapper
        返回:
        The sql of updating configuration cas.
      • getTableName

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

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