Class CollectResultFetcher<T>
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.collect.CollectResultFetcher<T>
-
public class CollectResultFetcher<T> extends Object
A fetcher which fetches query results from sink and provides exactly-once semantics.
-
-
Constructor Summary
Constructors Constructor Description CollectResultFetcher(AbstractCollectResultBuffer<T> buffer, String operatorUid, String accumulatorName, long resultFetchTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Tnext()voidsetJobClient(org.apache.flink.core.execution.JobClient jobClient)
-
-
-
Constructor Detail
-
CollectResultFetcher
public CollectResultFetcher(AbstractCollectResultBuffer<T> buffer, String operatorUid, String accumulatorName, long resultFetchTimeout)
-
-
Method Detail
-
setJobClient
public void setJobClient(org.apache.flink.core.execution.JobClient jobClient)
-
next
public T next() throws IOException
- Throws:
IOException
-
close
public void close()
-
-