public void apply(StringBuilder builder, Map<String, String> params) {
        if (!hasParameter()) {
            builder.append(originalQuery);
            return;
        }

        if (params == null) {
            params = Collections.emptyMap();
        }

        for (QueryPart p : parts) {
            builder.append(p.part);
            builder.append(params.getOrDefault(p.paramName, ClickHouseValues.NULL_EXPR));
        }

        appendLastPartIfExists(builder);
    }
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