DatabricksNotebookActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ExecutionActivity - com.
azure. resourcemanager. datafactory. models. DatabricksNotebookActivity
- com.
- com.
- com.
public final class DatabricksNotebookActivity
extends ExecutionActivity
DatabricksNotebook activity.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabricksNotebookActivity() |
Creates an instance of Databricks |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
baseParameters()
Get the base |
|
static
Databricks |
fromJson(JsonReader jsonReader)
Reads an instance of Databricks |
| List<Map<String,Object>> |
libraries()
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job. |
| Object |
notebookPath()
Get the notebook |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
|
Databricks |
withBaseParameters(Map<String,Object> baseParameters)
Set the base |
|
Databricks |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Databricks |
withDescription(String description)
Set the description property: Activity description. |
|
Databricks |
withLibraries(List<Map<String,Object>> libraries)
Set the libraries property: A list of libraries to be installed on the cluster that will execute the job. |
|
Databricks |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Databricks |
withName(String name)
Set the name property: Activity name. |
|
Databricks |
withNotebookPath(Object notebookPath)
Set the notebook |
|
Databricks |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Databricks |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Databricks |
withState(ActivityState state)
Set the state property: Activity state. |
|
Databricks |
withUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from ExecutionActivity
Methods inherited from java.lang.Object
Constructor Details
DatabricksNotebookActivity
public DatabricksNotebookActivity()
Creates an instance of DatabricksNotebookActivity class.
Method Details
baseParameters
public Map<String,Object> baseParameters()
Get the baseParameters property: Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.
Returns:
fromJson
public static DatabricksNotebookActivity fromJson(JsonReader jsonReader)
Reads an instance of DatabricksNotebookActivity from the JsonReader.
Parameters:
Returns:
Throws:
libraries
public List<Map<String,Object>> libraries()
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.
Returns:
notebookPath
public Object notebookPath()
Get the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatabricksNotebookActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
DatabricksNotebookActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DatabricksNotebookActivity.validate()withBaseParameters
public DatabricksNotebookActivity withBaseParameters(Map<String,Object> baseParameters)
Set the baseParameters property: Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.
Parameters:
Returns:
withDependsOn
public DatabricksNotebookActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
DatabricksNotebookActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public DatabricksNotebookActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
DatabricksNotebookActivity.withDescription(String description)Parameters:
withLibraries
public DatabricksNotebookActivity withLibraries(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:
Returns:
withLinkedServiceName
public DatabricksNotebookActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Overrides:
DatabricksNotebookActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)Parameters:
withName
public DatabricksNotebookActivity withName(String name)
Set the name property: Activity name.
Overrides:
DatabricksNotebookActivity.withName(String name)Parameters:
withNotebookPath
public DatabricksNotebookActivity withNotebookPath(Object notebookPath)
Set the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).
Parameters:
Returns:
withOnInactiveMarkAs
public DatabricksNotebookActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
DatabricksNotebookActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public DatabricksNotebookActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Overrides:
DatabricksNotebookActivity.withPolicy(ActivityPolicy policy)Parameters:
withState
public DatabricksNotebookActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
DatabricksNotebookActivity.withState(ActivityState state)Parameters:
withUserProperties
public DatabricksNotebookActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
DatabricksNotebookActivity.withUserProperties(List<UserProperty> userProperties)Parameters: