public enum KubernetesJobGraphStoreUtil extends Enum<KubernetesJobGraphStoreUtil> implements org.apache.flink.runtime.jobmanager.JobGraphStoreUtil
JobGraphStoreUtil implementation for Kubernetes.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
jobIDToName(org.apache.flink.api.common.JobID jobID)
Convert a
JobID to config map key. |
org.apache.flink.api.common.JobID |
nameToJobID(String key)
Convert a key in ConfigMap to
JobID. |
static KubernetesJobGraphStoreUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesJobGraphStoreUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesJobGraphStoreUtil INSTANCE
public static KubernetesJobGraphStoreUtil[] values()
for (KubernetesJobGraphStoreUtil c : KubernetesJobGraphStoreUtil.values()) System.out.println(c);
public static KubernetesJobGraphStoreUtil 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 org.apache.flink.api.common.JobID nameToJobID(String key)
JobID. The key is stored with prefix Constants.JOB_GRAPH_STORE_KEY_PREFIX.nameToJobID in interface org.apache.flink.runtime.jobmanager.JobGraphStoreUtilkey - job graph key in ConfigMap.JobID.public String jobIDToName(org.apache.flink.api.common.JobID jobID)
JobID to config map key. We will add prefix Constants.JOB_GRAPH_STORE_KEY_PREFIX.jobIDToName in interface org.apache.flink.runtime.jobmanager.JobGraphStoreUtiljobID - job idCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.