Package org.apache.iceberg.orc
Class VectorizedRowBatchIterator
- java.lang.Object
- 
- org.apache.iceberg.orc.VectorizedRowBatchIterator
 
- 
- 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.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Pair<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch,java.lang.Long>next()
 
- 
- 
- 
Method Detail- 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Throws:
- java.io.IOException
 
 - 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- java.util.Iterator<Pair<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch,java.lang.Long>>
 
 
- 
 
-