Class ClientAndIterator<E>
java.lang.Object
org.apache.flink.streaming.api.operators.collect.ClientAndIterator<E>
- All Implemented Interfaces:
AutoCloseable
A pair of an
Iterator to receive results from a streaming application and a JobClient to interact with the program.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientAndIterator(org.apache.flink.core.execution.JobClient client, org.apache.flink.util.CloseableIterator<E> iterator) -
Method Summary
-
Field Details
-
client
public final org.apache.flink.core.execution.JobClient client -
iterator
-
-
Constructor Details
-
ClientAndIterator
public ClientAndIterator(org.apache.flink.core.execution.JobClient client, org.apache.flink.util.CloseableIterator<E> iterator)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-