Class ListenableCollector<T>
- java.lang.Object
-
- org.apache.flink.api.common.functions.AbstractRichFunction
-
- org.apache.flink.table.runtime.collector.TableFunctionCollector<T>
-
- org.apache.flink.table.runtime.collector.ListenableCollector<T>
-
- All Implemented Interfaces:
Serializable
,Function
,RichFunction
,Collector<T>
@Internal public abstract class ListenableCollector<T> extends TableFunctionCollector<T>
A listenable collector for lookup join that can be called when an original record was collected.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ListenableCollector.CollectListener<T>
An interface can listen on collecting original record.
-
Constructor Summary
Constructors Constructor Description ListenableCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<ListenableCollector.CollectListener<T>>
getCollectListener()
void
setCollectListener(ListenableCollector.CollectListener<T> collectListener)
-
Methods inherited from class org.apache.flink.table.runtime.collector.TableFunctionCollector
close, getInput, isCollected, outputResult, reset, setCollector, setInput
-
Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
-
-
-
-
Method Detail
-
setCollectListener
public void setCollectListener(@Nullable ListenableCollector.CollectListener<T> collectListener)
-
getCollectListener
protected Optional<ListenableCollector.CollectListener<T>> getCollectListener()
-
-