Interface ExecutionPlanStoreUtil
-
- All Known Implementing Classes:
ZooKeeperExecutionPlanStoreUtil
public interface ExecutionPlanStoreUtilExecutionPlanStore utility interfaces. For example, convert a name(e.g. ZooKeeper path, key name in Kubernetes ConfigMap) toJobID, or vice versa.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringjobIDToName(org.apache.flink.api.common.JobID jobId)Get the name in external storage from job id.org.apache.flink.api.common.JobIDnameToJobID(String name)Get the job id from name.
-
-
-
Method Detail
-
jobIDToName
String jobIDToName(org.apache.flink.api.common.JobID jobId)
Get the name in external storage from job id.- Parameters:
jobId- job id- Returns:
- Key name in ConfigMap or child path name in ZooKeeper
-
nameToJobID
org.apache.flink.api.common.JobID nameToJobID(String name)
Get the job id from name.- Parameters:
name- Key name in ConfigMap or child path name in ZooKeeper- Returns:
- parsed job id.
-
-