presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoPreparedStatement.java/PrestoPreparedStatement/formatParametersTo
class PrestoPreparedStatement:    private void formatParametersTo(StringBuilder builder)
            throws SQLException
    {
        List<String> values = new ArrayList<>();
        for (int index = 0; index < parameters.size(); index++) {
            if (!parameters.containsKey(index)) {
                throw new SQLException("No value specified for parameter " + (index + 1));
            }
            values.add(parameters.get(index));
        }
        Joiner.on(", ").appendTo(builder, values);
    }