Class HDInsightSparkActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.HDInsightSparkActivity
HDInsight Spark activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the arguments property: The user-specified arguments to HDInsightSparkActivity.Get the className property: The application's Java/Spark main class.Get the entryFilePath property: The relative path to the root folder of the code/package to be executed.Get the getDebugInfo property: Debug info option.Get the proxyUser property: The user to impersonate that will execute the job.Get the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.Get the sparkConfig property: Spark configuration property.Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.setArguments
(List<Object> arguments) Set the arguments property: The user-specified arguments to HDInsightSparkActivity.setClassName
(String className) Set the className property: The application's Java/Spark main class.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setEntryFilePath
(Object entryFilePath) Set the entryFilePath property: The relative path to the root folder of the code/package to be executed.setGetDebugInfo
(HDInsightActivityDebugInfoOption getDebugInfo) Set the getDebugInfo property: Debug info option.setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.setProxyUser
(Object proxyUser) Set the proxyUser property: The user to impersonate that will execute the job.setRootPath
(Object rootPath) Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.setSparkConfig
(Map<String, Object> sparkConfig) Set the sparkConfig property: Spark configuration property.setSparkJobLinkedService
(LinkedServiceReference sparkJobLinkedService) Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.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
-
HDInsightSparkActivity
public HDInsightSparkActivity()
-
-
Method Details
-
getRootPath
Get the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).- Returns:
- the rootPath value.
-
setRootPath
Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).- Parameters:
rootPath
- the rootPath value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getEntryFilePath
Get the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).- Returns:
- the entryFilePath value.
-
setEntryFilePath
Set the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).- Parameters:
entryFilePath
- the entryFilePath value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getArguments
Get the arguments property: The user-specified arguments to HDInsightSparkActivity.- Returns:
- the arguments value.
-
setArguments
Set the arguments property: The user-specified arguments to HDInsightSparkActivity.- Parameters:
arguments
- the arguments value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getGetDebugInfo
Get the getDebugInfo property: Debug info option.- Returns:
- the getDebugInfo value.
-
setGetDebugInfo
Set the getDebugInfo property: Debug info option.- Parameters:
getDebugInfo
- the getDebugInfo value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getSparkJobLinkedService
Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.- Returns:
- the sparkJobLinkedService value.
-
setSparkJobLinkedService
public HDInsightSparkActivity setSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService) Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.- Parameters:
sparkJobLinkedService
- the sparkJobLinkedService value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getClassName
Get the className property: The application's Java/Spark main class.- Returns:
- the className value.
-
setClassName
Set the className property: The application's Java/Spark main class.- Parameters:
className
- the className value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getProxyUser
Get the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).- Returns:
- the proxyUser value.
-
setProxyUser
Set the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).- Parameters:
proxyUser
- the proxyUser value to set.- Returns:
- the HDInsightSparkActivity object itself.
-
getSparkConfig
Get the sparkConfig property: Spark configuration property.- Returns:
- the sparkConfig value.
-
setSparkConfig
Set the sparkConfig property: Spark configuration property.- Parameters:
sparkConfig
- the sparkConfig value to set.- Returns:
- the HDInsightSparkActivity 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.
-