Class SynapseNotebookActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.SynapseNotebookActivity
Execute Synapse notebook activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConf()
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.Get the notebook property: Synapse notebook reference.Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.Get the parameters property: Notebook parameters.Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setDriverSize
(Object driverSize) Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.setExecutorSize
(Object executorSize) Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.setNotebook
(SynapseNotebookReference notebook) Set the notebook property: Synapse notebook reference.setNumExecutors
(Integer numExecutors) Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.setParameters
(Map<String, NotebookParameter> parameters) Set the parameters property: Notebook parameters.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.setSparkPool
(BigDataPoolParametrizationReference sparkPool) Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.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
-
SynapseNotebookActivity
public SynapseNotebookActivity()
-
-
Method Details
-
getNotebook
Get the notebook property: Synapse notebook reference.- Returns:
- the notebook value.
-
setNotebook
Set the notebook property: Synapse notebook reference.- Parameters:
notebook
- the notebook value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getSparkPool
Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Returns:
- the sparkPool value.
-
setSparkPool
Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Parameters:
sparkPool
- the sparkPool value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getParameters
Get the parameters property: Notebook parameters.- Returns:
- the parameters value.
-
setParameters
Set the parameters property: Notebook parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getExecutorSize
Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the executorSize value.
-
setExecutorSize
Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
executorSize
- the executorSize value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getConf
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Returns:
- the conf value.
-
setConf
Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Parameters:
conf
- the conf value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getDriverSize
Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the driverSize value.
-
setDriverSize
Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
driverSize
- the driverSize value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
getNumExecutors
Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Returns:
- the numExecutors value.
-
setNumExecutors
Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Parameters:
numExecutors
- the numExecutors value to set.- Returns:
- the SynapseNotebookActivity 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.
-