Class StatementResultIterator
- java.lang.Object
-
- org.apache.flink.table.jdbc.utils.StatementResultIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<org.apache.flink.table.data.RowData>,CloseableResultIterator<org.apache.flink.table.data.RowData>
public class StatementResultIterator extends Object implements CloseableResultIterator<org.apache.flink.table.data.RowData>
Closeable result iterator for statement result.
-
-
Constructor Summary
Constructors Constructor Description StatementResultIterator(org.apache.flink.table.client.gateway.StatementResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()org.apache.flink.table.data.RowDatanext()-
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() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
hasNext
public boolean hasNext()
-
-