T
- Type of the elements in the DataStream created from the this source.@Public public class DataStreamSource<T> extends SingleOutputStreamOperator<T>
DataStream.Collector<T>
nonParallel
environment, transformation
Constructor and Description |
---|
DataStreamSource(SingleOutputStreamOperator<T> operator)
Constructor for "deep" sources that manually set up (one or more) custom configured complex
operators.
|
DataStreamSource(StreamExecutionEnvironment environment,
Source<T,?,?> source,
WatermarkStrategy<T> watermarkStrategy,
TypeInformation<T> outTypeInfo,
String sourceName)
Constructor for new Sources (FLIP-27).
|
DataStreamSource(StreamExecutionEnvironment environment,
TypeInformation<T> outTypeInfo,
StreamSource<T,?> operator,
boolean isParallel,
String sourceName) |
DataStreamSource(StreamExecutionEnvironment environment,
TypeInformation<T> outTypeInfo,
StreamSource<T,?> operator,
boolean isParallel,
String sourceName,
Boundedness boundedness)
The constructor used to create legacy sources.
|
Modifier and Type | Method and Description |
---|---|
DataStreamSource<T> |
setParallelism(int parallelism)
Sets the parallelism for this operator.
|
cache, disableChaining, forceNonParallel, getName, getSideOutput, name, returns, returns, returns, setBufferTimeout, setDescription, setMaxParallelism, setUidHash, slotSharingGroup, slotSharingGroup, startNewChain, uid
addSink, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, broadcast, broadcast, clean, coGroup, collectAsync, collectAsync, connect, connect, countWindowAll, countWindowAll, doTransform, executeAndCollect, executeAndCollect, executeAndCollect, executeAndCollect, filter, flatMap, flatMap, forward, fullWindowPartition, getExecutionConfig, getExecutionEnvironment, getId, getMinResources, getParallelism, getPreferredResources, getTransformation, getType, global, iterate, iterate, join, keyBy, keyBy, keyBy, keyBy, map, map, partitionCustom, partitionCustom, partitionCustom, print, print, printToErr, printToErr, process, process, project, rebalance, rescale, setConnectionType, shuffle, sinkTo, sinkTo, sinkTo, sinkTo, timeWindowAll, timeWindowAll, transform, transform, union, windowAll, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsText, writeToSocket, writeUsingOutputFormat
public DataStreamSource(StreamExecutionEnvironment environment, TypeInformation<T> outTypeInfo, StreamSource<T,?> operator, boolean isParallel, String sourceName)
public DataStreamSource(StreamExecutionEnvironment environment, TypeInformation<T> outTypeInfo, StreamSource<T,?> operator, boolean isParallel, String sourceName, Boundedness boundedness)
public DataStreamSource(SingleOutputStreamOperator<T> operator)
public DataStreamSource(StreamExecutionEnvironment environment, Source<T,?,?> source, WatermarkStrategy<T> watermarkStrategy, TypeInformation<T> outTypeInfo, String sourceName)
public DataStreamSource<T> setParallelism(int parallelism)
SingleOutputStreamOperator
setParallelism
in class SingleOutputStreamOperator<T>
parallelism
- The parallelism for this operator.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.