| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream |
| Modifier and Type | Method and Description |
|---|---|
KeyedStream<T,org.apache.flink.api.java.tuple.Tuple> |
DataStream.keyBy(int... fields)
Partitions the operator state of a
DataStream by the given key positions. |
<K> KeyedStream<T,K> |
DataStream.keyBy(org.apache.flink.api.java.functions.KeySelector<T,K> key)
It creates a new
KeyedStream that uses the provided key for partitioning
its operator states. |
KeyedStream<T,org.apache.flink.api.java.tuple.Tuple> |
DataStream.keyBy(String... fields)
Partitions the operator state of a
DataStreamusing field expressions. |
| Constructor and Description |
|---|
WindowedStream(KeyedStream<T,K> input,
WindowAssigner<? super T,W> windowAssigner) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.