| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream |
| Modifier and Type | Class and Description |
|---|---|
class |
DiscretizedStream<OUT>
A
DiscretizedStream represents a data stream that has been divided
into windows (predefined chunks). |
| Modifier and Type | Method and Description |
|---|---|
protected WindowedDataStream<OUT> |
WindowedDataStream.copy() |
WindowedDataStream<OUT> |
WindowedDataStream.every(WindowingHelper policyHelper)
Defines the slide size (trigger frequency) for the windowed data stream.
|
WindowedDataStream<OUT> |
DataStream.every(WindowingHelper policyHelper)
Create a
WindowedDataStream on the full stream history, to
produce periodic aggregates. |
WindowedDataStream<OUT> |
WindowedDataStream.groupBy(int... fields)
Groups the elements of the
WindowedDataStream by the given key
positions. |
WindowedDataStream<OUT> |
WindowedDataStream.groupBy(org.apache.flink.api.java.functions.KeySelector<OUT,?> keySelector)
Groups the elements of the
WindowedDataStream using the given
KeySelector. |
WindowedDataStream<OUT> |
WindowedDataStream.groupBy(String... fields)
Groups the elements of the
WindowedDataStream by the given field
expressions. |
WindowedDataStream<OUT> |
WindowedDataStream.local()
Sets the window discretisation local, meaning that windows will be
created in parallel at environment parallelism.
|
WindowedDataStream<OUT> |
DiscretizedStream.local() |
WindowedDataStream<OUT> |
WindowedDataStream.max(int positionToMax)
Applies an aggregation that gives the maximum value of every window of
the data stream at the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.max(String field)
Applies an aggregation that that gives the maximum value of the pojo data
stream at the given field expression for every window.
|
WindowedDataStream<OUT> |
WindowedDataStream.maxBy(int positionToMaxBy)
Applies an aggregation that gives the maximum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.maxBy(int positionToMaxBy,
boolean first)
Applies an aggregation that gives the maximum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.maxBy(String positionToMaxBy)
Applies an aggregation that gives the maximum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.maxBy(String field,
boolean first)
Applies an aggregation that that gives the maximum element of the pojo
data stream by the given field expression for every window.
|
WindowedDataStream<OUT> |
WindowedDataStream.min(int positionToMin)
Applies an aggregation that that gives the minimum value of every window
of the data stream at the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.min(String field)
Applies an aggregation that that gives the minimum value of the pojo data
stream at the given field expression for every window.
|
WindowedDataStream<OUT> |
WindowedDataStream.minBy(int positionToMinBy)
Applies an aggregation that gives the minimum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.minBy(int positionToMinBy,
boolean first)
Applies an aggregation that gives the minimum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.minBy(String positionToMinBy)
Applies an aggregation that gives the minimum element of every window of
the data stream by the given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.minBy(String field,
boolean first)
Applies an aggregation that that gives the minimum element of the pojo
data stream by the given field expression for every window.
|
WindowedDataStream<OUT> |
WindowedDataStream.sum(int positionToSum)
Applies an aggregation that sums every window of the data stream at the
given position.
|
WindowedDataStream<OUT> |
WindowedDataStream.sum(String field)
Applies an aggregation that sums every window of the pojo data stream at
the given field for every window.
|
WindowedDataStream<OUT> |
DataStream.window(TriggerPolicy<OUT> trigger,
EvictionPolicy<OUT> eviction)
|
WindowedDataStream<OUT> |
DataStream.window(WindowingHelper policyHelper)
Create a
WindowedDataStream that can be used to apply
transformation like reduceWindow(org.apache.flink.api.common.functions.ReduceFunction<OUT>),
mapWindow(org.apache.flink.streaming.api.functions.WindowMapFunction<OUT, R>) or aggregations on preset
chunks(windows) of the data stream. |
| Constructor and Description |
|---|
WindowedDataStream(WindowedDataStream<OUT> windowedDataStream) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.