presto-client/src/main/java/io/prestosql/client/StatementClientV1.java/StatementClientV1/urlEncode
class StatementClientV1:    private static String urlEncode(String value)
    {
        try {
            return URLEncoder.encode(value, "UTF-8");
        }
        catch (UnsupportedEncodingException e) {
            throw new AssertionError(e);
        }
    }