Class SortedMerge<T>

java.lang.Object
org.apache.iceberg.io.CloseableGroup
org.apache.iceberg.util.SortedMerge<T>
Type Parameters:
T - the type of objects produced by this Iterable
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<T>, CloseableIterable<T>

public class SortedMerge<T> extends CloseableGroup implements CloseableIterable<T>
An Iterable that merges the items from other Iterables in order.

This assumes that the Iterables passed in produce items in sorted order.