Toggle navigation
Home
org.apache.flink.streaming.api.functions.async.collector.AsyncCollector to org.apache.flink.streaming.api.functions.async.ResultFuture
No. of Instances - 5
No. of Commits - 1
No. of Projects - {'flink'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
collector.collect(Collections.singletonList(input * 2))
to
resultFuture.complete(Collections.singletonList(input * 2))
collector.collect(Collections.singletonList(input.f0 + input.f0))
to
resultFuture.complete(Collections.singletonList(input.f0 + input.f0))
collector.collect(new Exception("wahahahaha..."))
to
resultFuture.completeExceptionally(new Exception("wahahahaha..."))
collector.collect(Collections.singletonList("key-" + (input % 10)))
to
resultFuture.complete(Collections.singletonList("key-" + (input % 10)))
collector.collect(new ArrayList<String>(0))
to
resultFuture.complete(new ArrayList<String>(0))
collector.collect(Collections.singletonList(input))
to
resultFuture.complete(Collections.singletonList(input))
collector.collect(Collections.singletonList(input))
to
resultFuture.complete(Collections.singletonList(input))
Rename Variable
collector
to
resultFuture
collector
to
resultFuture
collector
to
resultFuture
collector
to
resultFuture
collector
to
resultFuture
Cascading Type Change (Similar)
AsyncCollector<Integer>
to
ResultFuture<Integer>
AsyncCollector<Integer>
to
ResultFuture<Integer>