| Package | Description |
|---|---|
| org.apache.flink.streaming.api.environment | |
| org.apache.flink.streaming.api.functions.source | |
| org.apache.flink.streaming.api.operators |
| Modifier and Type | Method and Description |
|---|---|
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.addSource(SourceFunction<OUT> function)
Adds a Data Source to the streaming topology.
|
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.addSource(SourceFunction<OUT> function,
String sourceName)
Ads a data source with a custom type information thus opening a
DataStream. |
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.addSource(SourceFunction<OUT> function,
String sourceName,
TypeInformation<OUT> typeInfo)
Ads a data source with a custom type information thus opening a
DataStream. |
<OUT> DataStreamSource<OUT> |
StreamExecutionEnvironment.addSource(SourceFunction<OUT> function,
TypeInformation<OUT> typeInfo)
Ads a data source with a custom type information thus opening a
DataStream. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventTimeSourceFunction<T>
A marker interface that must be implemented by
SourceFunctions that emit elements with
timestamps. |
interface |
ParallelSourceFunction<OUT>
A stream data source that is executed in parallel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectorSource<OUT> |
class |
FileMonitoringFunction |
class |
FileSourceFunction<OUT> |
class |
FromElementsFunction<T>
A stream source function that returns a sequence of elements.
|
class |
FromIteratorFunction<T> |
class |
FromSplittableIteratorFunction<T> |
class |
MessageAcknowledingSourceBase<Type,Id>
Abstract base class for data sources that receive elements from a message queue and
acknowledge them back by IDs.
|
class |
RichEventTimeSourceFunction<OUT>
Base class for implementing a parallel event-time data source that has access to context information
(via
AbstractRichFunction.getRuntimeContext()) and additional life-cycle methods
(AbstractRichFunction.open(org.apache.flink.configuration.Configuration) and AbstractRichFunction.close(). |
class |
RichParallelSourceFunction<OUT>
Base class for implementing a parallel data source.
|
class |
RichSourceFunction<OUT>
Base class for implementing a parallel data source that has access to context information
(via
AbstractRichFunction.getRuntimeContext()) and additional life-cycle methods
(AbstractRichFunction.open(org.apache.flink.configuration.Configuration) and AbstractRichFunction.close(). |
class |
SocketTextStreamFunction
A source function that reads strings from a socket.
|
class |
StatefulSequenceSource
A stateful streaming source that emits each number from a given interval exactly once,
possibly in parallel.
|
| Constructor and Description |
|---|
StreamSource(SourceFunction<T> sourceFunction) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.