Class TsBlock.TsBlockRowIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Object[]>
    Enclosing class:
    TsBlock

    public class TsBlock.TsBlockRowIterator
    extends java.lang.Object
    implements java.util.Iterator<java.lang.Object[]>
    Mainly used for UDF framework. Note that the timestamps are at the last column.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int columnCount  
      protected int rowIndex  
    • Constructor Summary

      Constructors 
      Constructor Description
      TsBlockRowIterator​(int rowIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.lang.Object[] 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
    • Field Detail

      • rowIndex

        protected int rowIndex
      • columnCount

        protected int columnCount
    • Constructor Detail

      • TsBlockRowIterator

        public TsBlockRowIterator​(int rowIndex)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Object[]>
      • next

        public java.lang.Object[] next()
        Specified by:
        next in interface java.util.Iterator<java.lang.Object[]>
        Returns:
        A row in the TsBlock. The timestamp is at the last column.