Package com.morpheusdata.core.util.image
Class StreamingQcow2Writer.DataClusterIterable
java.lang.Object
com.morpheusdata.core.util.image.StreamingQcow2Writer.DataClusterIterable
- Enclosing class:
- StreamingQcow2Writer
public static class StreamingQcow2Writer.DataClusterIterable
extends Object
implements Iterable<Long>
An iterable that converts byte ranges into cluster indices.
This allows iteration over all clusters that contain actual data,
handling overlapping ranges and ensuring clusters are returned in sorted order.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a DataClusterIterable from the given byte ranges. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DataClusterIterable
Constructs a DataClusterIterable from the given byte ranges.- Parameters:
ranges- the byte ranges containing actual data
-
-
Method Details