private CompactedObjectBuilder splitObject(CompactedObjectBuilder builder,
        List<CompactedObjectBuilder> compactedObjectBuilders) {
        CompactedObjectBuilder splitBuilder = builder.splitCurrentStream();
        splitBuilder.setType(CompactionType.SPLIT);
        if (builder.totalBlockSize() != 0) {
            compactedObjectBuilders.add(builder);
        }
        compactedObjectBuilders.add(splitBuilder);
        builder = new CompactedObjectBuilder();
        return builder;
    }
Filter out objects that have at least one stream data block which can be compacted with other objects.

@param streamDataBlocksMap stream data blocks map, key: object id, value: stream data blocks
@return filtered stream data blocks map
s3stream/src/main/java/com/automq/stream/s3/compact/CompactionAnalyzer.java