class ShardingSphereJDBCScalingDataSourceConfiguration implements ScalingDataSourceConfiguration {

    @Override
    public DatabaseType getDatabaseType() {
        if (null == databaseType) {
            databaseType = DatabaseTypes.getDatabaseTypeByURL(ConfigurationYamlConverter.loadDataSourceConfigurations(dataSource).values().iterator().next().getProps().get("jdbcUrl").toString());
        }
        return databaseType;
    }

    public  ShardingSphereJDBCScalingDataSourceConfiguration(final String dataSource, final String rule);

}