Class DatabricksSparkPythonActivity
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Activity
-
- com.azure.analytics.synapse.artifacts.models.ExecutionActivity
-
- com.azure.analytics.synapse.artifacts.models.DatabricksSparkPythonActivity
-
public class DatabricksSparkPythonActivity extends ExecutionActivity
DatabricksSparkPython activity.
-
-
Constructor Summary
Constructors Constructor Description DatabricksSparkPythonActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
getLibraries()
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.List<Object>
getParameters()
Get the parameters property: Command line parameters that will be passed to the Python file.Object
getPythonFile()
Get the pythonFile property: The URI of the Python file to be executed.DatabricksSparkPythonActivity
setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.DatabricksSparkPythonActivity
setDescription(String description)
Set the description property: Activity description.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.DatabricksSparkPythonActivity
setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.DatabricksSparkPythonActivity
setName(String name)
Set the name property: Activity name.DatabricksSparkPythonActivity
setParameters(List<Object> parameters)
Set the parameters property: Command line parameters that will be passed to the Python file.DatabricksSparkPythonActivity
setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.DatabricksSparkPythonActivity
setPythonFile(Object pythonFile)
Set the pythonFile property: The URI of the Python file to be executed.DatabricksSparkPythonActivity
setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.ExecutionActivity
getLinkedServiceName, getPolicy
-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
-
-
-
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.
-
setLinkedServiceName
public DatabricksSparkPythonActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
setLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
setPolicy
public DatabricksSparkPythonActivity setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
setPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
setName
public DatabricksSparkPythonActivity setName(String name)
Set the name property: Activity name.- Overrides:
setName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
public DatabricksSparkPythonActivity setDescription(String description)
Set the description property: Activity description.- Overrides:
setDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
public DatabricksSparkPythonActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
public DatabricksSparkPythonActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
-