| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.datastream.temporal | |
| org.apache.flink.streaming.api.environment |
| Modifier and Type | Class and Description |
|---|---|
class |
DataStreamSink<IN>
Represents the end of a DataStream.
|
class |
DataStreamSource<OUT>
The DataStreamSource represents the starting point of a DataStream.
|
class |
GroupedDataStream<OUT>
A GroupedDataStream represents a
DataStream which has been
partitioned by the given KeySelector. |
class |
IterativeDataStream<IN>
The iterative data stream represents the start of an iteration in a
DataStream. |
class |
SingleOutputStreamOperator<OUT,O extends SingleOutputStreamOperator<OUT,O>>
The SingleOutputStreamOperator represents a user defined transformation
applied on a
DataStream with one predefined output type. |
class |
SplitDataStream<OUT>
The SplitDataStream represents an operator that has been split using an
OutputSelector. |
| Modifier and Type | Field and Description |
|---|---|
protected DataStream<OUT> |
WindowedDataStream.dataStream |
protected DataStream<IN1> |
ConnectedDataStream.dataStream1 |
protected DataStream<IN2> |
ConnectedDataStream.dataStream2 |
| Modifier and Type | Field and Description |
|---|---|
protected List<DataStream<OUT>> |
DataStream.unionizedStreams |
| Modifier and Type | Method and Description |
|---|---|
DataStream<OUT> |
DataStream.broadcast()
Sets the partitioning of the
DataStream so that the output tuples
are broadcasted to every parallel instance of the next component. |
DataStream<IN> |
IterativeDataStream.closeWith(DataStream<IN> iterationTail)
Closes the iteration.
|
DataStream<IN> |
IterativeDataStream.closeWith(DataStream<IN> iterationTail,
boolean keepPartitioning)
Closes the iteration.
|
DataStream<OUT> |
DataStream.copy()
Creates a copy of the
DataStream |
DataStream<OUT> |
WindowedDataStream.flatten()
Flattens the results of the window computations and streams out the
window elements.
|
DataStream<OUT> |
DiscretizedStream.flatten() |
DataStream<OUT> |
DataStream.forward()
Sets the partitioning of the
DataStream so that the output tuples
are forwarded to the local subtask of the next component (whenever
possible). |
DataStream<StreamWindow<OUT>> |
WindowedDataStream.getDiscretizedStream()
Returns the
DataStream of StreamWindows which represent
the discretised stream. |
DataStream<StreamWindow<OUT>> |
DiscretizedStream.getDiscretizedStream() |
DataStream<IN1> |
ConnectedDataStream.getFirst()
Returns the first
DataStream. |
DataStream<IN2> |
ConnectedDataStream.getSecond()
Returns the second
DataStream. |
DataStream<OUT> |
DataStream.global()
Sets the partitioning of the
DataStream so that the output values
all go to the first instance of the next processing operator. |
DataStream<OUT> |
SingleOutputStreamOperator.name(String name)
Sets the name of the current data stream.
|
DataStream<OUT> |
DataStream.partitionByHash(int... fields)
Sets the partitioning of the
DataStream so that the output is
partitioned hashing on the given fields. |
DataStream<OUT> |
DataStream.partitionByHash(org.apache.flink.api.java.functions.KeySelector<OUT,?> keySelector)
Sets the partitioning of the
DataStream so that the output is
partitioned using the given KeySelector. |
DataStream<OUT> |
DataStream.partitionByHash(String... fields)
Sets the partitioning of the
DataStream so that the output is
partitioned hashing on the given fields. |
DataStream<OUT> |
DataStream.rebalance()
Sets the partitioning of the
DataStream so that the output tuples
are distributed evenly to instances of the next component in a Round-robin
fashion. |
DataStream<OUT> |
SplitDataStream.select(String... outputNames)
Sets the output names for which the next operator will receive values.
|
protected DataStream<OUT> |
GroupedDataStream.setConnectionType(StreamPartitioner<OUT> partitioner) |
protected DataStream<OUT> |
DataStream.setConnectionType(StreamPartitioner<OUT> partitioner)
Internal function for setting the partitioner for the DataStream
|
DataStream<OUT> |
DataStream.shuffle()
Sets the partitioning of the
DataStream so that the output tuples
are shuffled uniformly randomly to the next component. |
DataStream<OUT> |
DataStream.union(DataStream<OUT>... streams)
Creates a new
DataStream by merging DataStream outputs of
the same type with each other. |
| Modifier and Type | Method and Description |
|---|---|
DataStream<IN> |
IterativeDataStream.closeWith(DataStream<IN> iterationTail)
Closes the iteration.
|
DataStream<IN> |
IterativeDataStream.closeWith(DataStream<IN> iterationTail,
boolean keepPartitioning)
Closes the iteration.
|
<R> ConnectedDataStream<OUT,R> |
DataStream.connect(DataStream<R> dataStream)
Creates a new
ConnectedDataStream by connecting
DataStream outputs of (possible) different types with each other. |
protected <X> void |
DataStream.connectGraph(DataStream<X> inputStream,
Integer outputID,
int typeNumber)
Internal function for assembling the underlying
JobGraph of the job. |
<IN2> StreamCrossOperator<OUT,IN2> |
DataStream.cross(DataStream<IN2> dataStreamToCross)
Initiates a temporal Cross transformation.
A Cross transformation combines the elements of two DataStreams
into one DataStream over a specified time window. |
<IN2> StreamJoinOperator<OUT,IN2> |
DataStream.join(DataStream<IN2> dataStreamToJoin)
Initiates a temporal Join transformation.
|
DataStream<OUT> |
DataStream.union(DataStream<OUT>... streams)
Creates a new
DataStream by merging DataStream outputs of
the same type with each other. |
| Constructor and Description |
|---|
ConnectedDataStream(DataStream<IN1> input1,
DataStream<IN2> input2) |
ConnectedDataStream(DataStream<IN1> input1,
DataStream<IN2> input2) |
DataStream(DataStream<OUT> dataStream)
Create a new DataStream by creating a copy of another DataStream
|
DataStreamSink(DataStream<IN> dataStream) |
GroupedDataStream(DataStream<OUT> dataStream,
org.apache.flink.api.java.functions.KeySelector<OUT,?> keySelector)
Creates a new
GroupedDataStream, group inclusion is determined using
a KeySelector on the elements of the DataStream. |
IterativeDataStream(DataStream<IN> dataStream,
long maxWaitTime) |
SingleOutputStreamOperator(DataStream<OUT> dataStream) |
SplitDataStream(DataStream<OUT> dataStream) |
StreamProjection(DataStream<IN> dataStream,
int[] fieldIndexes) |
WindowedDataStream(DataStream<OUT> dataStream,
TriggerPolicy<OUT> trigger,
EvictionPolicy<OUT> evicter) |
WindowedDataStream(DataStream<OUT> dataStream,
WindowingHelper<OUT> policyHelper) |
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamCrossOperator.CrossWindow<I1,I2> |
static class |
StreamJoinOperator.JoinedStream<I1,I2> |
| Modifier and Type | Field and Description |
|---|---|
DataStream<I1> |
TemporalOperator.input1 |
DataStream<I2> |
TemporalOperator.input2 |
| Constructor and Description |
|---|
CrossWindow(StreamCrossOperator<I1,I2> op,
DataStream<org.apache.flink.api.java.tuple.Tuple2<I1,I2>> ds) |
StreamCrossOperator(DataStream<I1> input1,
DataStream<I2> input2) |
StreamCrossOperator(DataStream<I1> input1,
DataStream<I2> input2) |
StreamJoinOperator(DataStream<I1> input1,
DataStream<I2> input2) |
StreamJoinOperator(DataStream<I1> input1,
DataStream<I2> input2) |
TemporalOperator(DataStream<I1> input1,
DataStream<I2> input2) |
TemporalOperator(DataStream<I1> input1,
DataStream<I2> input2) |
| Modifier and Type | Method and Description |
|---|---|
DataStream<String> |
StreamExecutionEnvironment.readFileStream(String filePath,
long intervalMillis,
FileMonitoringFunction.WatchType watchType)
Creates a data stream that contains the contents of file created while system watches the given path.
|
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.