@Internal public final class SourceBuilder extends Object
InputFormat based sources that are marked as BOUNDED.| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_NAME |
| Modifier and Type | Method and Description |
|---|---|
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 final String SOURCE_NAME
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.