public enum ZooKeeperJobGraphStoreUtil extends Enum<ZooKeeperJobGraphStoreUtil> implements JobGraphStoreUtil
JobGraphStoreUtil implementation for ZooKeeper.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
jobIDToName(org.apache.flink.api.common.JobID jobId)
Get the name in external storage from job id.
|
org.apache.flink.api.common.JobID |
nameToJobID(String name)
Get the job id from name.
|
static ZooKeeperJobGraphStoreUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperJobGraphStoreUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperJobGraphStoreUtil INSTANCE
public static ZooKeeperJobGraphStoreUtil[] values()
for (ZooKeeperJobGraphStoreUtil c : ZooKeeperJobGraphStoreUtil.values()) System.out.println(c);
public static ZooKeeperJobGraphStoreUtil 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 jobIDToName(org.apache.flink.api.common.JobID jobId)
JobGraphStoreUtiljobIDToName in interface JobGraphStoreUtiljobId - job idpublic org.apache.flink.api.common.JobID nameToJobID(String name)
JobGraphStoreUtilnameToJobID in interface JobGraphStoreUtilname - Key name in ConfigMap or child path name in ZooKeeperCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.