@Internal public final class ClientAndIterator<E> extends Object implements AutoCloseable
Iterator to receive results from a streaming application and a JobClient to interact with the program.| Modifier and Type | Field and Description |
|---|---|
org.apache.flink.core.execution.JobClient |
client |
org.apache.flink.util.CloseableIterator<E> |
iterator |
| Constructor and Description |
|---|
ClientAndIterator(org.apache.flink.core.execution.JobClient client,
org.apache.flink.util.CloseableIterator<E> iterator) |
public final org.apache.flink.core.execution.JobClient client
public final org.apache.flink.util.CloseableIterator<E> iterator
public ClientAndIterator(org.apache.flink.core.execution.JobClient client,
org.apache.flink.util.CloseableIterator<E> iterator)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.