| Package | Description |
|---|---|
| org.apache.flink.api.java.operators |
| Modifier and Type | Method and Description |
|---|---|
SortedGrouping<T> |
UnsortedGrouping.sortGroup(int field,
org.apache.flink.api.common.operators.Order order)
Sorts
Tuple elements within a group on the specified field in the specified Order.Note: Only groups of Tuple elements and Pojos can be sorted. Groups can be sorted by multiple fields by chaining UnsortedGrouping.sortGroup(int, Order) calls. |
SortedGrouping<T> |
SortedGrouping.sortGroup(int field,
org.apache.flink.api.common.operators.Order order)
Sorts
Tuple elements within a group on the specified field in the specified Order.Note: Only groups of Tuple or Pojo elements can be sorted. Groups can be sorted by multiple fields by chaining sortGroup(int, Order) calls. |
<K> SortedGrouping<T> |
UnsortedGrouping.sortGroup(org.apache.flink.api.java.functions.KeySelector<T,K> keySelector,
org.apache.flink.api.common.operators.Order order)
Sorts elements within a group on a key extracted by the specified
KeySelector
in the specified Order.Chaining UnsortedGrouping.sortGroup(KeySelector, Order) calls is not supported. |
SortedGrouping<T> |
UnsortedGrouping.sortGroup(String field,
org.apache.flink.api.common.operators.Order order)
Sorts Pojos within a group on the specified field in the specified
Order.Note: Only groups of Tuple elements and Pojos can be sorted. Groups can be sorted by multiple fields by chaining UnsortedGrouping.sortGroup(String, Order) calls. |
SortedGrouping<T> |
SortedGrouping.sortGroup(String field,
org.apache.flink.api.common.operators.Order order)
Sorts
Tuple or POJO elements within a group on the specified field in the specified Order.Note: Only groups of Tuple or Pojo elements can be sorted. Groups can be sorted by multiple fields by chaining sortGroup(String, Order) calls. |
SortedGrouping<T> |
SortedGrouping.withPartitioner(org.apache.flink.api.common.functions.Partitioner<?> partitioner)
Uses a custom partitioner for the grouping.
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.