Class HDInsightHiveActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.HDInsightHiveActivity
HDInsight Hive activity type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the arguments property: User specified arguments to HDInsightActivity.defines()
Get the defines property: Allows user to specify defines for Hive job request.Get the getDebugInfo property: Debug info option.Get the queryTimeout property: Query timeout value (in minutes).Get the scriptLinkedService property: Script linked service reference.Get the scriptPath property: Script path.Get the storageLinkedServices property: Storage linked service references.void
validate()
Validates the instance.Get the variables property: User specified arguments under hivevar namespace.withArguments
(List<Object> arguments) Set the arguments property: User specified arguments to HDInsightActivity.withDefines
(Map<String, Object> defines) Set the defines property: Allows user to specify defines for Hive job request.withDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription
(String description) Set the description property: Activity description.withGetDebugInfo
(HDInsightActivityDebugInfoOption getDebugInfo) Set the getDebugInfo property: Debug info option.withLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.withPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.withQueryTimeout
(Integer queryTimeout) Set the queryTimeout property: Query timeout value (in minutes).withScriptLinkedService
(LinkedServiceReference scriptLinkedService) Set the scriptLinkedService property: Script linked service reference.withScriptPath
(Object scriptPath) Set the scriptPath property: Script path.withStorageLinkedServices
(List<LinkedServiceReference> storageLinkedServices) Set the storageLinkedServices property: Storage linked service references.withUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.withVariables
(List<Object> variables) Set the variables property: User specified arguments under hivevar namespace.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
HDInsightHiveActivity
public HDInsightHiveActivity()Creates an instance of HDInsightHiveActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
storageLinkedServices
Get the storageLinkedServices property: Storage linked service references.- Returns:
- the storageLinkedServices value.
-
withStorageLinkedServices
public HDInsightHiveActivity withStorageLinkedServices(List<LinkedServiceReference> storageLinkedServices) Set the storageLinkedServices property: Storage linked service references.- Parameters:
storageLinkedServices
- the storageLinkedServices value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
arguments
Get the arguments property: User specified arguments to HDInsightActivity.- Returns:
- the arguments value.
-
withArguments
Set the arguments property: User specified arguments to HDInsightActivity.- Parameters:
arguments
- the arguments value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
getDebugInfo
Get the getDebugInfo property: Debug info option.- Returns:
- the getDebugInfo value.
-
withGetDebugInfo
Set the getDebugInfo property: Debug info option.- Parameters:
getDebugInfo
- the getDebugInfo value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
scriptPath
Get the scriptPath property: Script path. Type: string (or Expression with resultType string).- Returns:
- the scriptPath value.
-
withScriptPath
Set the scriptPath property: Script path. Type: string (or Expression with resultType string).- Parameters:
scriptPath
- the scriptPath value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
scriptLinkedService
Get the scriptLinkedService property: Script linked service reference.- Returns:
- the scriptLinkedService value.
-
withScriptLinkedService
Set the scriptLinkedService property: Script linked service reference.- Parameters:
scriptLinkedService
- the scriptLinkedService value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
defines
Get the defines property: Allows user to specify defines for Hive job request.- Returns:
- the defines value.
-
withDefines
Set the defines property: Allows user to specify defines for Hive job request.- Parameters:
defines
- the defines value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
variables
Get the variables property: User specified arguments under hivevar namespace.- Returns:
- the variables value.
-
withVariables
Set the variables property: User specified arguments under hivevar namespace.- Parameters:
variables
- the variables value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
queryTimeout
Get the queryTimeout property: Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package).- Returns:
- the queryTimeout value.
-
withQueryTimeout
Set the queryTimeout property: Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package).- Parameters:
queryTimeout
- the queryTimeout value to set.- Returns:
- the HDInsightHiveActivity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-