Uses of Class
org.apache.flink.streaming.api.datastream.DataStreamSource
Packages that use DataStreamSource
Package
Description
-
Uses of DataStreamSource in org.apache.flink.streaming.api.datastream
Methods in org.apache.flink.streaming.api.datastream that return DataStreamSource -
Uses of DataStreamSource in org.apache.flink.streaming.api.environment
Methods in org.apache.flink.streaming.api.environment that return DataStreamSourceModifier and TypeMethodDescription<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.addSource(SourceFunction<OUT> function) Deprecated.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.addSource(SourceFunction<OUT> function, String sourceName) Deprecated.This method relies on theSourceFunctionAPI, which is due to be removed.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.addSource(SourceFunction<OUT> function, String sourceName, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Deprecated.This method relies on theSourceFunctionAPI, which is due to be removed.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.addSource(SourceFunction<OUT> function, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Deprecated.This method relies on theSourceFunctionAPI, which is due to be removed.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.createInput(org.apache.flink.api.common.io.InputFormat<OUT, ?> inputFormat) Generic method to create an input data stream withInputFormat.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.createInput(org.apache.flink.api.common.io.InputFormat<OUT, ?> inputFormat, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Generic method to create an input data stream withInputFormat.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromCollection(Collection<OUT> data) Deprecated.This method will be removed a future release, possibly as early as version 2.0.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromCollection(Collection<OUT> data, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Deprecated.This method will be removed a future release, possibly as early as version 2.0.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromCollection(Iterator<OUT> data, Class<OUT> type) Deprecated.This method will be removed a future release, possibly as early as version 2.0.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromCollection(Iterator<OUT> data, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Deprecated.This method will be removed a future release, possibly as early as version 2.0.final <OUT> DataStreamSource<OUT>Creates a new data stream that contains the given elements.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromData(Collection<OUT> data) Creates a new data stream that contains the given elements.The type of the data stream is that of the elements in the collection.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromData(Collection<OUT> data, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Creates a new data stream that contains the given elements.final <OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromData(org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo, OUT... data) Creates a new data stream that contains the given elements.final <OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromData(OUT... data) Creates a new data stream that contains the given elements.final <OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromElements(Class<OUT> type, OUT... data) Deprecated.This method will be removed a future release, possibly as early as version 2.0.final <OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromElements(OUT... data) Deprecated.This method will be removed a future release, possibly as early as version 2.0.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromParallelCollection(org.apache.flink.util.SplittableIterator<OUT> iterator, Class<OUT> type) Creates a new data stream that contains elements in the iterator.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromParallelCollection(org.apache.flink.util.SplittableIterator<OUT> iterator, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Creates a new data stream that contains elements in the iterator.StreamExecutionEnvironment.fromSequence(long from, long to) Creates a new data stream that contains a sequence of numbers (longs) and is useful for testing and for cases that just need a stream of N events of any kind.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromSource(org.apache.flink.api.connector.source.Source<OUT, ?, ?> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> timestampsAndWatermarks, String sourceName) Adds a dataSourceto the environment to get aDataStream.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.fromSource(org.apache.flink.api.connector.source.Source<OUT, ?, ?> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> timestampsAndWatermarks, String sourceName, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInfo) Adds a dataSourceto the environment to get aDataStream.StreamExecutionEnvironment.generateSequence(long from, long to) Deprecated.UseStreamExecutionEnvironment.fromSequence(long, long)instead to create a new data stream that containsNumberSequenceSource.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat, String filePath) Deprecated.UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat, String filePath, FileProcessingMode watchType, long interval) Deprecated.UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead.<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat, String filePath, FileProcessingMode watchType, long interval, org.apache.flink.api.common.io.FilePathFilter filter) Deprecated.UseFileInputFormat.setFilesFilter(FilePathFilter)to set a filter andStreamExecutionEnvironment.readFile(FileInputFormat, String, FileProcessingMode, long)<OUT> DataStreamSource<OUT>StreamExecutionEnvironment.readFile(org.apache.flink.api.common.io.FileInputFormat<OUT> inputFormat, String filePath, FileProcessingMode watchType, long interval, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> typeInformation) Deprecated.UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead.StreamExecutionEnvironment.socketTextStream(String hostname, int port) Creates a new data stream that contains the strings received infinitely from a socket.StreamExecutionEnvironment.socketTextStream(String hostname, int port, char delimiter) Deprecated.StreamExecutionEnvironment.socketTextStream(String hostname, int port, char delimiter, long maxRetry) Deprecated.StreamExecutionEnvironment.socketTextStream(String hostname, int port, String delimiter) Creates a new data stream that contains the strings received infinitely from a socket.StreamExecutionEnvironment.socketTextStream(String hostname, int port, String delimiter, long maxRetry) Creates a new data stream that contains the strings received infinitely from a socket.
SourceFunctionAPI, which is due to be removed.