SparkJobDefinition Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.SparkJobDefinition

public final class SparkJobDefinition

Spark job definition.

Constructor Summary

Constructor Description
SparkJobDefinition()

Creates an instance of SparkJobDefinition class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Spark job definition.

String getDescription()

Get the description property: The description of the Spark job definition.

SparkJobDefinitionFolder getFolder()

Get the folder property: The folder that this Spark job definition is in.

SparkJobProperties getJobProperties()

Get the jobProperties property: The properties of the Spark job.

String getLanguage()

Get the language property: The language of the Spark application.

String getRequiredSparkVersion()

Get the requiredSparkVersion property: The required Spark version of the application.

BigDataPoolReference getTargetBigDataPool()

Get the targetBigDataPool property: Big data pool reference.

SparkConfigurationReference getTargetSparkConfiguration()

Get the targetSparkConfiguration property: The spark configuration of the spark job.

SparkJobDefinition setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Spark job definition.

SparkJobDefinition setDescription(String description)

Set the description property: The description of the Spark job definition.

SparkJobDefinition setFolder(SparkJobDefinitionFolder folder)

Set the folder property: The folder that this Spark job definition is in.

SparkJobDefinition setJobProperties(SparkJobProperties jobProperties)

Set the jobProperties property: The properties of the Spark job.

SparkJobDefinition setLanguage(String language)

Set the language property: The language of the Spark application.

SparkJobDefinition setRequiredSparkVersion(String requiredSparkVersion)

Set the requiredSparkVersion property: The required Spark version of the application.

SparkJobDefinition setTargetBigDataPool(BigDataPoolReference targetBigDataPool)

Set the targetBigDataPool property: Big data pool reference.

SparkJobDefinition setTargetSparkConfiguration(SparkConfigurationReference targetSparkConfiguration)

Set the targetSparkConfiguration property: The spark configuration of the spark job.

Methods inherited from java.lang.Object

Constructor Details

SparkJobDefinition

public SparkJobDefinition()

Creates an instance of SparkJobDefinition class.

Method Details

getAdditionalProperties

public Map getAdditionalProperties()

Get the additionalProperties property: Spark job definition.

Returns:

the additionalProperties value.

getDescription

public String getDescription()

Get the description property: The description of the Spark job definition.

Returns:

the description value.

getFolder

public SparkJobDefinitionFolder getFolder()

Get the folder property: The folder that this Spark job definition is in. If not specified, this Spark job definition will appear at the root level.

Returns:

the folder value.

getJobProperties

public SparkJobProperties getJobProperties()

Get the jobProperties property: The properties of the Spark job.

Returns:

the jobProperties value.

getLanguage

public String getLanguage()

Get the language property: The language of the Spark application.

Returns:

the language value.

getRequiredSparkVersion

public String getRequiredSparkVersion()

Get the requiredSparkVersion property: The required Spark version of the application.

Returns:

the requiredSparkVersion value.

getTargetBigDataPool

public BigDataPoolReference getTargetBigDataPool()

Get the targetBigDataPool property: Big data pool reference.

Returns:

the targetBigDataPool value.

getTargetSparkConfiguration

public SparkConfigurationReference getTargetSparkConfiguration()

Get the targetSparkConfiguration property: The spark configuration of the spark job.

Returns:

the targetSparkConfiguration value.

setAdditionalProperties

public SparkJobDefinition setAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Spark job definition.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the SparkJobDefinition object itself.

setDescription

public SparkJobDefinition setDescription(String description)

Set the description property: The description of the Spark job definition.

Parameters:

description - the description value to set.

Returns:

the SparkJobDefinition object itself.

setFolder

public SparkJobDefinition setFolder(SparkJobDefinitionFolder folder)

Set the folder property: The folder that this Spark job definition is in. If not specified, this Spark job definition will appear at the root level.

Parameters:

folder - the folder value to set.

Returns:

the SparkJobDefinition object itself.

setJobProperties

public SparkJobDefinition setJobProperties(SparkJobProperties jobProperties)

Set the jobProperties property: The properties of the Spark job.

Parameters:

jobProperties - the jobProperties value to set.

Returns:

the SparkJobDefinition object itself.

setLanguage

public SparkJobDefinition setLanguage(String language)

Set the language property: The language of the Spark application.

Parameters:

language - the language value to set.

Returns:

the SparkJobDefinition object itself.

setRequiredSparkVersion

public SparkJobDefinition setRequiredSparkVersion(String requiredSparkVersion)

Set the requiredSparkVersion property: The required Spark version of the application.

Parameters:

requiredSparkVersion - the requiredSparkVersion value to set.

Returns:

the SparkJobDefinition object itself.

setTargetBigDataPool

public SparkJobDefinition setTargetBigDataPool(BigDataPoolReference targetBigDataPool)

Set the targetBigDataPool property: Big data pool reference.

Parameters:

targetBigDataPool - the targetBigDataPool value to set.

Returns:

the SparkJobDefinition object itself.

setTargetSparkConfiguration

public SparkJobDefinition setTargetSparkConfiguration(SparkConfigurationReference targetSparkConfiguration)

Set the targetSparkConfiguration property: The spark configuration of the spark job.

Parameters:

targetSparkConfiguration - the targetSparkConfiguration value to set.

Returns:

the SparkJobDefinition object itself.

Applies to