Package org.apache.flink.python.env
Class PythonDependencyInfo
java.lang.Object
org.apache.flink.python.env.PythonDependencyInfo
PythonDependencyInfo contains the information of third-party dependencies.
-
Constructor Summary
ConstructorsConstructorDescriptionPythonDependencyInfo(Map<String, String> pythonFiles, String requirementsFilePath, String requirementsCacheDir, Map<String, String> archives, String pythonExec) PythonDependencyInfo(Map<String, String> pythonFiles, String requirementsFilePath, String requirementsCacheDir, Map<String, String> archives, String pythonExec, String executionMode, String pythonPath) -
Method Summary
Modifier and TypeMethodDescriptionstatic PythonDependencyInfocreate(org.apache.flink.configuration.ReadableConfig config, org.apache.flink.api.common.cache.DistributedCache distributedCache) Creates PythonDependencyInfo from GlobalJobParameters and DistributedCache.
-
Constructor Details
-
PythonDependencyInfo
-
PythonDependencyInfo
-
-
Method Details
-
getPythonFiles
-
getRequirementsFilePath
-
getRequirementsCacheDir
-
getPythonExec
-
getArchives
-
getExecutionMode
-
getPythonPath
-
create
public static PythonDependencyInfo create(org.apache.flink.configuration.ReadableConfig config, org.apache.flink.api.common.cache.DistributedCache distributedCache) Creates PythonDependencyInfo from GlobalJobParameters and DistributedCache.- Parameters:
config- The config.distributedCache- The DistributedCache object of current task.- Returns:
- The PythonDependencyInfo object that contains whole information of python dependency.
-