Class SqlToStreamOperator.ResultSetIterator

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.Iterator<Record>
    Enclosing class:
    SqlToStreamOperator

    public static class SqlToStreamOperator.ResultSetIterator
    extends java.lang.Object
    implements java.util.Iterator<Record>, java.lang.AutoCloseable
    Exposes a ResultSet as an Iterator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      Record 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

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Record>
      • next

        public Record next()
        Specified by:
        next in interface java.util.Iterator<Record>
      • close

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