public class CollectResultIterator<T> extends Object implements org.apache.flink.util.CloseableIterator<T>
NOTE: After using this iterator, the close method MUST be called in order to release job related resources.
| 构造器和说明 |
|---|
CollectResultIterator(CompletableFuture<org.apache.flink.runtime.jobgraph.OperatorID> operatorIdFuture,
org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer,
String accumulatorName) |
CollectResultIterator(CompletableFuture<org.apache.flink.runtime.jobgraph.OperatorID> operatorIdFuture,
org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer,
String accumulatorName,
int retryMillis) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
setJobClient(org.apache.flink.core.execution.JobClient jobClient) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapterForIterator, adapterForIterator, empty, flatten, fromList, ofElement, ofElementsforEachRemaining, removepublic CollectResultIterator(CompletableFuture<org.apache.flink.runtime.jobgraph.OperatorID> operatorIdFuture, org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, String accumulatorName)
@VisibleForTesting public CollectResultIterator(CompletableFuture<org.apache.flink.runtime.jobgraph.OperatorID> operatorIdFuture, org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, String accumulatorName, int retryMillis)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.