private List<DBAggregationQueryConfigurationEntry> extractMatchingConfigEntries(String dbName) {
            List<DBAggregationQueryConfigurationEntry> result = new ArrayList<>();
            this.entries.forEach(entry -> {
                if (entry.getKey().matcher(dbName).find()) {
                    result.add(entry.getValue());
                }
            });
            return result;
        }
RDBMS configuration mapping class to be used to lookup matching configuration entry with a data source.
modules/siddhi-core/src/main/java/io/siddhi/core/aggregation/persistedaggregation/config/DBAggregationQueryUtil.java