@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> DataStreamSource<OUT> |
fromFormat(StreamExecutionEnvironment env,
InputFormat<OUT,?> inputFormat,
TypeInformation<OUT> typeInfo)
Creates a new source that is bounded.
|
public static final String SOURCE_NAME
public static <OUT> DataStreamSource<OUT> fromFormat(StreamExecutionEnvironment env, InputFormat<OUT,?> inputFormat, 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.