Interface TransformableRowIterator

All Superinterfaces:
AutoCloseable, Closeable, RowIterator, TimeAndDimsIterator
All Known Implementing Classes:
ForwardingRowIterator

public interface TransformableRowIterator extends RowIterator
TransformableRowIterator tightens RowIterator.getPointer() contract, that allows to transform iterated rows without allocations on each iterations, and reuse the mechanics of the underlying iterator. See IndexMerger.toMergedIndexRowIterator(org.apache.druid.segment.TransformableRowIterator, int, java.util.List<org.apache.druid.segment.DimensionMergerV9>) for an example.