Class VectorizedRowBatchIterator

  • All Implemented Interfaces:, java.lang.AutoCloseable, java.util.Iterator<Pair<,​java.lang.Long>>, CloseableIterator<Pair<,​java.lang.Long>>

    public class VectorizedRowBatchIterator
    extends java.lang.Object
    implements CloseableIterator<Pair<,​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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      Pair<,​java.lang.Long> next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Pair<,​java.lang.Long>>
      • next

        public Pair<,​java.lang.Long> next()
        Specified by:
        next in interface java.util.Iterator<Pair<,​java.lang.Long>>