T
- Type of the elements in the DataStream created from the this source.@Public public class DataStreamSource<T> extends SingleOutputStreamOperator<T>
environment, transformation
Constructor and Description |
---|
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, getName, name, returns, returns, returns, returns, setBufferTimeout, setConnectionType, slotSharingGroup, startNewChain, uid
addSink, assignTimestamps, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, broadcast, clean, coGroup, connect, countWindowAll, countWindowAll, filter, flatMap, forward, getExecutionConfig, getExecutionEnvironment, getId, getParallelism, getTransformation, getType, global, iterate, iterate, join, keyBy, keyBy, keyBy, map, partitionCustom, partitionCustom, partitionCustom, print, printToErr, project, rebalance, rescale, shuffle, split, 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<T> setParallelism(int parallelism)
SingleOutputStreamOperator
setParallelism
in class SingleOutputStreamOperator<T>
parallelism
- The parallelism for this operator.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.