public void apply(StringBuilder builder, String param, String... more) {
        if (!hasParameter()) {
            builder.append(originalQuery);
            return;
        }

        int len = more == null ? 0 : more.length;
        Map<String, String> map = new HashMap<>();
        int index = -1;
        for (String n : names.keySet()) {
            if (index < 0) {
                map.put(n, param);
            } else if (index < len) {
                map.put(n, more[index]); // NOSONAR
            } else {
                break;
            }
            index++;
        }

        apply(builder, map);
    }
Applies stringified parameters to the given string builder.

@param builder non-null string builder
@param param   stringified parameter
@param more    more stringified parameters if any
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java