| Package | Description |
|---|---|
| org.apache.flink.api.java | |
| org.apache.flink.api.java.operators | |
| org.apache.flink.api.java.operators.translation | |
| org.apache.flink.api.java.typeutils |
| Modifier and Type | Method and Description |
|---|---|
<K> DistinctOperator<T> |
DataSet.distinct(KeySelector<T,K> keyExtractor)
Returns a distinct set of a
DataSet using a KeySelector function. |
<K> UnsortedGrouping<T> |
DataSet.groupBy(KeySelector<T,K> keyExtractor)
Groups a
DataSet using a KeySelector function. |
<K extends Comparable<K>> |
DataSet.partitionByHash(KeySelector<T,K> keyExtractor)
Partitions a DataSet using the specified KeySelector.
|
<K extends Comparable<K>> |
DataSet.partitionCustom(Partitioner<K> partitioner,
KeySelector<T,K> keyExtractor)
Partitions a DataSet on the key returned by the selector, using a custom partitioner.
|
| Modifier and Type | Method and Description |
|---|---|
KeySelector<T,K> |
Keys.SelectorFunctionKeys.getKeyExtractor() |
| Modifier and Type | Method and Description |
|---|---|
<K> CoGroupOperator.CoGroupOperatorSets.CoGroupOperatorSetsPredicate.CoGroupOperatorWithoutFunction |
CoGroupOperator.CoGroupOperatorSets.CoGroupOperatorSetsPredicate.equalTo(KeySelector<I2,K> keyExtractor)
Continues a CoGroup transformation and defines a
KeySelector function for the second co-grouped DataSet.
The KeySelector function is called for each element of the second DataSet and extracts a single
key value on which the DataSet is grouped. |
<K> JoinOperator.DefaultJoin<I1,I2> |
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(KeySelector<I2,K> keySelector)
Continues a Join transformation and defines a
KeySelector function for the second join DataSet.
The KeySelector function is called for each element of the second DataSet and extracts a single
key value on which the DataSet is joined. |
<K> CoGroupOperator.CoGroupOperatorSets.CoGroupOperatorSetsPredicate |
CoGroupOperator.CoGroupOperatorSets.where(KeySelector<I1,K> keyExtractor)
Continues a CoGroup transformation and defines a
KeySelector function for the first co-grouped DataSet.
The KeySelector function is called for each element of the first DataSet and extracts a single
key value on which the DataSet is grouped. |
<K> JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate |
JoinOperator.JoinOperatorSets.where(KeySelector<I1,K> keySelector)
Continues a Join transformation and defines a
KeySelector function for the first join DataSet.
The KeySelector function is called for each element of the first DataSet and extracts a single
key value on which the DataSet is joined. |
| Constructor and Description |
|---|
Keys.SelectorFunctionKeys(KeySelector<T,K> keyExtractor,
TypeInformation<T> inputType,
TypeInformation<K> keyType) |
| Constructor and Description |
|---|
KeyExtractingMapper(KeySelector<T,K> keySelector) |
| Modifier and Type | Method and Description |
|---|---|
static <IN,OUT> TypeInformation<OUT> |
TypeExtractor.getKeySelectorTypes(KeySelector<IN,OUT> selectorInterface,
TypeInformation<IN> inType) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.