Skip to content

Commit a6eed0d

Browse files
committed
[FLINK-3992][core] Do not implement deprecated Key interface
1 parent 7989f48 commit a6eed0d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

flink-core/src/main/java/org/apache/flink/types/DoubleValue.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
public class DoubleValue
3333
implements Comparable<DoubleValue>,
3434
ResettableValue<DoubleValue>,
35-
CopyableValue<DoubleValue>,
36-
Key<DoubleValue> {
35+
CopyableValue<DoubleValue> {
3736
private static final long serialVersionUID = 1L;
3837

3938
private double value;

flink-core/src/main/java/org/apache/flink/types/FloatValue.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@
3030
*/
3131
@Public
3232
public class FloatValue
33-
implements Comparable<FloatValue>,
34-
ResettableValue<FloatValue>,
35-
CopyableValue<FloatValue>,
36-
Key<FloatValue> {
33+
implements Comparable<FloatValue>, ResettableValue<FloatValue>, CopyableValue<FloatValue> {
3734
private static final long serialVersionUID = 1L;
3835

3936
private float value;

flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* normalized key length.
3535
*/
3636
@Public
37-
public interface NormalizableKey<T> extends Comparable<T>, Key<T> {
37+
public interface NormalizableKey<T> extends Comparable<T> {
3838

3939
/**
4040
* Gets the maximal length of normalized keys that the data type would produce to determine the

0 commit comments

Comments
 (0)