Class Printer.RowDataIterator

java.lang.Object
org.apache.flink.table.gateway.service.application.Printer.RowDataIterator
All Implemented Interfaces:
AutoCloseable, Iterator<org.apache.flink.table.data.RowData>, org.apache.flink.util.CloseableIterator<org.apache.flink.table.data.RowData>
Enclosing class:
Printer

@VisibleForTesting public static class Printer.RowDataIterator extends Object implements org.apache.flink.util.CloseableIterator<org.apache.flink.table.data.RowData>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.util.CloseableIterator

    org.apache.flink.util.CloseableIterator.IteratorAdapter<E extends Object>
  • Field Summary

    Fields inherited from interface org.apache.flink.util.CloseableIterator

    EMPTY_INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    org.apache.flink.table.data.RowData
     

    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
  • Constructor Details

    • RowDataIterator

      public RowDataIterator(ResultFetcher fetcher)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<org.apache.flink.table.data.RowData>
    • next

      public org.apache.flink.table.data.RowData next()
      Specified by:
      next in interface Iterator<org.apache.flink.table.data.RowData>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable