Class DatabricksSparkPythonActivity


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

      • DatabricksSparkPythonActivity

        public DatabricksSparkPythonActivity()
    • Method Detail

      • pythonFile

        public Object pythonFile()
        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.
      • withPythonFile

        public DatabricksSparkPythonActivity withPythonFile​(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.
      • parameters

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

        public DatabricksSparkPythonActivity withParameters​(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.
      • libraries

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

        public DatabricksSparkPythonActivity withLibraries​(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.