@Internal public final class SourceBuilder extends Object
InputFormat based sources that are marked as BOUNDED.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SOURCE_NAME |
| 限定符和类型 | 方法和说明 |
|---|---|
static <OUT> org.apache.flink.streaming.api.datastream.DataStreamSource<OUT> |
fromFormat(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
org.apache.flink.api.common.io.InputFormat<OUT,?> inputFormat,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo)
Creates a new source that is bounded.
|
public static <OUT> org.apache.flink.streaming.api.datastream.DataStreamSource<OUT> fromFormat(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
org.apache.flink.api.common.io.InputFormat<OUT,?> inputFormat,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo)
OUT - The output type.env - The stream execution environment.inputFormat - The input source to consume.typeInfo - The type of the output.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.