@Internal public class KeyByKeySelector extends Object implements org.apache.flink.api.java.functions.KeySelector<org.apache.flink.types.Row,org.apache.flink.types.Row>
KeyByKeySelector
is responsible for extracting the first field of the input row as key.
The input row is generated by python DataStream map function in the format of
(key_selector.get_key(value), value) tuple2.Constructor and Description |
---|
KeyByKeySelector() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.types.Row |
getKey(org.apache.flink.types.Row value) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.