Class DataLakeAnalyticsUsqlActivity


public final class DataLakeAnalyticsUsqlActivity extends ExecutionActivity
Data Lake Analytics U-SQL activity.
  • Constructor Details

    • DataLakeAnalyticsUsqlActivity

      public DataLakeAnalyticsUsqlActivity()
      Creates an instance of DataLakeAnalyticsUsqlActivity class.
  • Method Details

    • withLinkedServiceName

      public DataLakeAnalyticsUsqlActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
      Set the linkedServiceName property: Linked service reference.
      Overrides:
      withLinkedServiceName in class ExecutionActivity
      Parameters:
      linkedServiceName - the linkedServiceName value to set.
      Returns:
      the ExecutionActivity object itself.
    • withPolicy

      public DataLakeAnalyticsUsqlActivity withPolicy(ActivityPolicy policy)
      Set the policy property: Activity policy.
      Overrides:
      withPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • withName

      public DataLakeAnalyticsUsqlActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ExecutionActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public DataLakeAnalyticsUsqlActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ExecutionActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public DataLakeAnalyticsUsqlActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ExecutionActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public DataLakeAnalyticsUsqlActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ExecutionActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • scriptPath

      public Object scriptPath()
      Get the scriptPath property: Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).
      Returns:
      the scriptPath value.
    • withScriptPath

      public DataLakeAnalyticsUsqlActivity withScriptPath(Object scriptPath)
      Set the scriptPath property: Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).
      Parameters:
      scriptPath - the scriptPath value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • scriptLinkedService

      public LinkedServiceReference scriptLinkedService()
      Get the scriptLinkedService property: Script linked service reference.
      Returns:
      the scriptLinkedService value.
    • withScriptLinkedService

      public DataLakeAnalyticsUsqlActivity withScriptLinkedService(LinkedServiceReference scriptLinkedService)
      Set the scriptLinkedService property: Script linked service reference.
      Parameters:
      scriptLinkedService - the scriptLinkedService value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • degreeOfParallelism

      public Object degreeOfParallelism()
      Get the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.
      Returns:
      the degreeOfParallelism value.
    • withDegreeOfParallelism

      public DataLakeAnalyticsUsqlActivity withDegreeOfParallelism(Object degreeOfParallelism)
      Set the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.
      Parameters:
      degreeOfParallelism - the degreeOfParallelism value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • priority

      public Object priority()
      Get the priority property: Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.
      Returns:
      the priority value.
    • withPriority

      public DataLakeAnalyticsUsqlActivity withPriority(Object priority)
      Set the priority property: Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.
      Parameters:
      priority - the priority value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • parameters

      public Map<String,Object> parameters()
      Get the parameters property: Parameters for U-SQL job request.
      Returns:
      the parameters value.
    • withParameters

      public DataLakeAnalyticsUsqlActivity withParameters(Map<String,Object> parameters)
      Set the parameters property: Parameters for U-SQL job request.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • runtimeVersion

      public Object runtimeVersion()
      Get the runtimeVersion property: Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).
      Returns:
      the runtimeVersion value.
    • withRuntimeVersion

      public DataLakeAnalyticsUsqlActivity withRuntimeVersion(Object runtimeVersion)
      Set the runtimeVersion property: Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).
      Parameters:
      runtimeVersion - the runtimeVersion value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • compilationMode

      public Object compilationMode()
      Get the compilationMode property: Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).
      Returns:
      the compilationMode value.
    • withCompilationMode

      public DataLakeAnalyticsUsqlActivity withCompilationMode(Object compilationMode)
      Set the compilationMode property: Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).
      Parameters:
      compilationMode - the compilationMode value to set.
      Returns:
      the DataLakeAnalyticsUsqlActivity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ExecutionActivity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.