class KeyspaceHelper {

    public static Set<String> getDatacenters(Metadata metadata)
    {
        Set<String> datacenters = new HashSet<>();
        for (Host host : metadata.getAllHosts())
        {
            datacenters.add(host.getDatacenter());
        }
        return datacenters;
    }

    private  KeyspaceHelper();

}