OUT - The type of the records produced by this source.@Public public abstract class RichParallelSourceFunction<OUT> extends org.apache.flink.api.common.functions.AbstractRichFunction implements ParallelSourceFunction<OUT>
The data source has access to context information (such as the number of parallel instances of
the source, and which parallel instance the current instance is) via AbstractRichFunction.getRuntimeContext(). It also provides additional life-cycle methods (AbstractRichFunction.open(org.apache.flink.configuration.Configuration) and AbstractRichFunction.close().
SourceFunction.SourceContext<T>| 构造器和说明 |
|---|
RichParallelSourceFunction() |
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, runCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.