public Optional<StreamOffsetRange> find(long streamId) {
        try {
            return Optional.ofNullable(RANGE_MAP_CACHE.get(objectId, () -> {
                Map<Long, StreamOffsetRange> rangeMap = new HashMap<>();
                List<StreamOffsetRange> rangeList = decode(ranges);
                for (StreamOffsetRange range : rangeList) {
                    rangeMap.put(range.streamId(), range);
                }
                return rangeMap;
            }).get(streamId));
        } catch (ExecutionException e) {
            throw new RuntimeException(e);
        }
    }
The order id of the object. Sort by this field to get the order of the objects which contains logically increasing streams.
<p>
When compact a batch of objects to a compacted object, this compacted object's order id will be assigned the value <code>first object's order
id in this batch</code>
metadata/src/main/java/org/apache/kafka/metadata/stream/S3StreamSetObject.java