- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<Pair<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch,java.lang.Long>>, CloseableIterator<Pair<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch,java.lang.Long>>
public class VectorizedRowBatchIterator
extends java.lang.Object
implements CloseableIterator<Pair<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch,java.lang.Long>>
An adaptor so that the ORC RecordReader can be used as an Iterator.
Because the same VectorizedRowBatch is reused on each call to next,
it gets changed when hasNext or next is called.