Interface MorePartitions<I extends BasePartitionIterator<?>>

  • All Known Implementing Classes:
    ShortReadPartitionsProtection

    public interface MorePartitions<I extends BasePartitionIterator<?>>
    An interface for providing new partitions for a partitions iterator. The new contents are produced as a normal arbitrary PartitionIterator or UnfilteredPartitionIterator (as appropriate) The transforming iterator invokes this method when any current source is exhausted, then then inserts the new contents as the new source. If the new source is itself a product of any transformations, the two transforming iterators are merged so that control flow always occurs at the outermost point