Class DatabricksSparkPythonActivity


  • public class DatabricksSparkPythonActivity
    extends ExecutionActivity
    DatabricksSparkPython activity.
    • Constructor Detail

      • DatabricksSparkPythonActivity

        public DatabricksSparkPythonActivity()
    • Method Detail

      • getPythonFile

        public Object getPythonFile()
        Get the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
        Returns:
        the pythonFile value.
      • setPythonFile

        public DatabricksSparkPythonActivity setPythonFile​(Object pythonFile)
        Set the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
        Parameters:
        pythonFile - the pythonFile value to set.
        Returns:
        the DatabricksSparkPythonActivity object itself.
      • getParameters

        public List<Object> getParameters()
        Get the parameters property: Command line parameters that will be passed to the Python file.
        Returns:
        the parameters value.
      • setParameters

        public DatabricksSparkPythonActivity setParameters​(List<Object> parameters)
        Set the parameters property: Command line parameters that will be passed to the Python file.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the DatabricksSparkPythonActivity object itself.
      • getLibraries

        public List<Map<String,​Object>> getLibraries()
        Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.
        Returns:
        the libraries value.
      • setLibraries

        public DatabricksSparkPythonActivity setLibraries​(List<Map<String,​Object>> libraries)
        Set the libraries property: A list of libraries to be installed on the cluster that will execute the job.
        Parameters:
        libraries - the libraries value to set.
        Returns:
        the DatabricksSparkPythonActivity object itself.