public static String apply(String sql, Map<String, String> params) {
        StringBuilder builder = new StringBuilder();
        apply(builder, sql, params);
        return builder.toString();
    }
Substitute named parameters in given SQL.

@param sql    SQL containing named parameters
@param params mapping between parameter name and correspoding SQL
              expression(NOT raw value)
@return substituted SQL, or the given sql if one of {@code sql} and
        {@code params} is null or empty
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java