- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
public class VectorizedRowBatchIterator
extends java.lang.Object
implements java.util.Iterator<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>, java.io.Closeable
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.