Class ForEachActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ControlActivity
com.azure.analytics.synapse.artifacts.models.ForEachActivity
This activity is used for iterating over a collection and execute given activities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activities property: List of activities to execute .Get the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).getItems()
Get the items property: Collection to iterate.Get the isSequential property: Should the loop be executed in sequence or in parallel (max 50).setActivities
(List<Activity> activities) Set the activities property: List of activities to execute .setBatchCount
(Integer batchCount) Set the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setIsSequential
(Boolean isSequential) Set the isSequential property: Should the loop be executed in sequence or in parallel (max 50).setItems
(Expression items) Set the items property: Collection to iterate.Set the name property: Activity name.setUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
Constructor Details
-
ForEachActivity
public ForEachActivity()
-
-
Method Details
-
isSequential
Get the isSequential property: Should the loop be executed in sequence or in parallel (max 50).- Returns:
- the isSequential value.
-
setIsSequential
Set the isSequential property: Should the loop be executed in sequence or in parallel (max 50).- Parameters:
isSequential
- the isSequential value to set.- Returns:
- the ForEachActivity object itself.
-
getBatchCount
Get the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).- Returns:
- the batchCount value.
-
setBatchCount
Set the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).- Parameters:
batchCount
- the batchCount value to set.- Returns:
- the ForEachActivity object itself.
-
getItems
Get the items property: Collection to iterate.- Returns:
- the items value.
-
setItems
Set the items property: Collection to iterate.- Parameters:
items
- the items value to set.- Returns:
- the ForEachActivity object itself.
-
getActivities
Get the activities property: List of activities to execute .- Returns:
- the activities value.
-
setActivities
Set the activities property: List of activities to execute .- Parameters:
activities
- the activities value to set.- Returns:
- the ForEachActivity object itself.
-
setName
Set the name property: Activity name.- Overrides:
setName
in classControlActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
Set the description property: Activity description.- Overrides:
setDescription
in classControlActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classControlActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classControlActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-