public static <T> boolean getFilterCondString(T paramCntr, boolean required,
            boolean transBlank,
            StringBuilder sBuffer,
            ProcessResult result) {
        if (!getFilterCondSet(paramCntr, required, false, sBuffer, result)) {
            return result.isSuccess();
        }
        Set<String> filterCondSet = (Set<String>) result.getRetData();
        if (filterCondSet.isEmpty()) {
            if (transBlank) {
                sBuffer.append(TServerConstants.BLANK_FILTER_ITEM_STR);
            }
        } else {
            sBuffer.append(TokenConstants.ARRAY_SEP);
            for (String filterCond : filterCondSet) {
                sBuffer.append(filterCond).append(TokenConstants.ARRAY_SEP);
            }
        }
        result.setSuccResult(sBuffer.toString());
        sBuffer.delete(0, sBuffer.length());
        return result.isSuccess();
    }
check the filter conditions and get them in a String

@param paramCntr   parameter container object
@param required    denote whether it translate blank condition
@param transBlank  whether to translate condition item
@param sBuffer     string buffer
@param result      process result of parameter value
@return process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/utils/WebParameterUtils.java