Interface ExecutionPlanStoreUtil
- All Known Implementing Classes:
ZooKeeperExecutionPlanStoreUtil
public interface ExecutionPlanStoreUtil
ExecutionPlanStore utility interfaces. For example, convert a name(e.g. ZooKeeper path, key name
in Kubernetes ConfigMap) to
JobID, or vice versa.-
Method Summary
Modifier and TypeMethodDescriptionjobIDToName(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 Details
-
jobIDToName
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
Get the job id from name.- Parameters:
name- Key name in ConfigMap or child path name in ZooKeeper- Returns:
- parsed job id.
-