T
- Type of the elements in the DataStream created from the this source.@Public public class DataStreamSource<T> extends SingleOutputStreamOperator<T>
nonParallel
environment, transformation
Constructor and Description |
---|
DataStreamSource(SingleOutputStreamOperator<T> operator) |
DataStreamSource(StreamExecutionEnvironment environment,
TypeInformation<T> outTypeInfo,
StreamSource<T,?> operator,
boolean isParallel,
String sourceName) |
Modifier and Type | Method and Description |
---|---|
DataStreamSource<T> |
setParallelism(int parallelism)
Sets the parallelism for this operator.
|
disableChaining, forceNonParallel, getName, getSideOutput, name, returns, returns, returns, returns, setBufferTimeout, setMaxParallelism, setUidHash, slotSharingGroup, split, startNewChain, uid
addSink, assignTimestamps, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, broadcast, broadcast, clean, coGroup, connect, connect, countWindowAll, countWindowAll, filter, flatMap, forward, getExecutionConfig, getExecutionEnvironment, getId, getMinResources, getParallelism, getPreferredResources, getTransformation, getType, global, iterate, iterate, join, keyBy, keyBy, keyBy, map, partitionCustom, partitionCustom, partitionCustom, print, printToErr, process, process, project, rebalance, rescale, setConnectionType, shuffle, timeWindowAll, timeWindowAll, 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(SingleOutputStreamOperator<T> operator)
public DataStreamSource<T> setParallelism(int parallelism)
SingleOutputStreamOperator
setParallelism
in class SingleOutputStreamOperator<T>
parallelism
- The parallelism for this operator.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.