public static FilterStrategy parseFilterStrategy(TransformResponse transformResponse) {
        TransformType transformType = TransformType.forType(transformResponse.getTransformType());
        TransformDefinition transformDefinition = StreamParseUtils.parseTransformDefinition(
                transformResponse.getTransformDefinition(), transformType);
        switch (transformType) {
            case FILTER:
                FilterDefinition filterDefinition = (FilterDefinition) transformDefinition;
                switch (filterDefinition.getFilterStrategy()) {
                    case REMOVE:
                        return FilterStrategy.REMOVE;
                    case RETAIN:
                        return FilterStrategy.RETAIN;
                    default:
                        return FilterStrategy.RETAIN;
                }
            case DE_DUPLICATION:
            case SPLITTER:
            case JOINER:
            case LOOKUP_JOINER:
            case TEMPORAL_JOINER:
            case INTERVAL_JOINER:
            case STRING_REPLACER:
            case ENCRYPT:
                return null;
            default:
                throw new UnsupportedOperationException(
                        String.format("Unsupported transformType=%s", transformType));
        }
    }
Parse filter strategy from TransformResponse and convert to the filter strategy of sort protocol

@param transformResponse The transform response that may contain filter operation
@return The filter strategy, see {@link FilterStrategy}
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/FilterFunctionUtils.java