public void apply(StringBuilder builder, Collection<String> params) {
        if (params == null || params.isEmpty()) {
            apply(builder, Collections.emptyMap());
            return;
        }

        Map<String, String> map = null;
        Iterator<String> it = params.iterator();
        if (it.hasNext()) {
            map = new HashMap<>();
            for (String n : names.keySet()) {
                String v = it.next();
                if (v != null) {
                    map.put(n, v);
                }
                if (!it.hasNext()) {
                    break;
                }
            }
        }
        apply(builder, map);
    }
Applies stringified parameters to the given string builder.

@param builder non-null string builder
@param params  stringified parameters
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java