presto-cassandra/src/main/java/io/prestosql/plugin/cassandra/util/HostAddressFactory.java/HostAddressFactory/toHostAddress
class HostAddressFactory:    public HostAddress toHostAddress(String hostAddressName)
    {
        HostAddress address = hostMap.get(hostAddressName);
        if (address == null) {
            address = HostAddress.fromString(hostAddressName);
            hostMap.put(hostAddressName, address);
        }
        return address;
    }