Class DatabricksSparkJarActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.DatabricksSparkJarActivity
DatabricksSparkJar activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the libraries property: A list of libraries to be installed on the cluster that will execute the job.Get the mainClassName property: The full name of the class containing the main method to be executed.Get the parameters property: Parameters that will be passed to the main method.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.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.setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.setMainClassName
(Object mainClassName) Set the mainClassName property: The full name of the class containing the main method to be executed.Set the name property: Activity name.setParameters
(List<Object> parameters) Set the parameters property: Parameters that will be passed to the main method.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.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
-
Constructor Details
-
DatabricksSparkJarActivity
public DatabricksSparkJarActivity()
-
-
Method Details
-
getMainClassName
Get the mainClassName property: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).- Returns:
- the mainClassName value.
-
setMainClassName
Set the mainClassName property: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).- Parameters:
mainClassName
- the mainClassName value to set.- Returns:
- the DatabricksSparkJarActivity object itself.
-
getParameters
Get the parameters property: Parameters that will be passed to the main method.- Returns:
- the parameters value.
-
setParameters
Set the parameters property: Parameters that will be passed to the main method.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DatabricksSparkJarActivity object itself.
-
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
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 DatabricksSparkJarActivity object itself.
-
setLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
setLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
setPolicy
Set the policy property: Activity policy.- Overrides:
setPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
setName
Set the name property: Activity name.- Overrides:
setName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
Set the description property: Activity description.- Overrides:
setDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
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
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-