@Public public enum FlinkVersion extends Enum<FlinkVersion>
It used for API versioning, during SQL/Table API upgrades, and for migration tests.
Enum Constant and Description |
---|
v1_10 |
v1_11 |
v1_12 |
v1_13 |
v1_14 |
v1_15 |
v1_16 |
v1_17 |
v1_18 |
v1_19 |
v1_20 |
v1_3 |
v1_4 |
v1_5 |
v1_6 |
v1_7 |
v1_8 |
v1_9 |
Modifier and Type | Method and Description |
---|---|
static Optional<FlinkVersion> |
byCode(String code) |
static FlinkVersion |
current()
Returns the version for the current branch.
|
boolean |
isNewerVersionThan(FlinkVersion otherVersion) |
static Set<FlinkVersion> |
rangeOf(FlinkVersion start,
FlinkVersion end)
Returns all versions within the defined range, inclusive both start and end.
|
String |
toString() |
static FlinkVersion |
valueOf(int majorVersion,
int minorVersion) |
static FlinkVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlinkVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlinkVersion v1_3
public static final FlinkVersion v1_4
public static final FlinkVersion v1_5
public static final FlinkVersion v1_6
public static final FlinkVersion v1_7
public static final FlinkVersion v1_8
public static final FlinkVersion v1_9
public static final FlinkVersion v1_10
public static final FlinkVersion v1_11
public static final FlinkVersion v1_12
public static final FlinkVersion v1_13
public static final FlinkVersion v1_14
public static final FlinkVersion v1_15
public static final FlinkVersion v1_16
public static final FlinkVersion v1_17
public static final FlinkVersion v1_18
public static final FlinkVersion v1_19
public static final FlinkVersion v1_20
public static FlinkVersion[] values()
for (FlinkVersion c : FlinkVersion.values()) System.out.println(c);
public static FlinkVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<FlinkVersion>
public boolean isNewerVersionThan(FlinkVersion otherVersion)
public static Set<FlinkVersion> rangeOf(FlinkVersion start, FlinkVersion end)
public static Optional<FlinkVersion> byCode(String code)
public static FlinkVersion valueOf(int majorVersion, int minorVersion)
public static FlinkVersion current()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.