SparkBatchJob Class

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

public final class SparkBatchJob

The SparkBatchJob model.

Constructor Summary

Constructor Description
SparkBatchJob()

Creates an instance of SparkBatchJob class.

Method Summary

Modifier and Type Method and Description
String getAppId()

Get the appId property: The application id of this session.

Map<String,String> getAppInfo()

Get the appInfo property: The detailed application info.

String getArtifactId()

Get the artifactId property: The artifact identifier.

List<SparkServiceError> getErrors()

Get the errors property: The error information.

int getId()

Get the id property: The session Id.

SparkJobType getJobType()

Get the jobType property: The job type.

SparkBatchJobState getLivyInfo()

Get the livyInfo property: The livyInfo property.

List<String> getLogLines()

Get the logLines property: The log lines.

String getName()

Get the name property: The batch name.

SparkServicePlugin getPlugin()

Get the plugin property: The plugin information.

SparkBatchJobResultType getResult()

Get the result property: The Spark batch job result.

SparkScheduler getScheduler()

Get the scheduler property: The scheduler information.

String getSparkPoolName()

Get the sparkPoolName property: The Spark pool name.

LivyStates getState()

Get the state property: The batch state.

String getSubmitterId()

Get the submitterId property: The submitter identifier.

String getSubmitterName()

Get the submitterName property: The submitter name.

Map<String,String> getTags()

Get the tags property: The tags.

String getWorkspaceName()

Get the workspaceName property: The workspace name.

SparkBatchJob setAppId(String appId)

Set the appId property: The application id of this session.

SparkBatchJob setAppInfo(Map<String,String> appInfo)

Set the appInfo property: The detailed application info.

SparkBatchJob setArtifactId(String artifactId)

Set the artifactId property: The artifact identifier.

SparkBatchJob setErrors(List<SparkServiceError> errors)

Set the errors property: The error information.

SparkBatchJob setId(int id)

Set the id property: The session Id.

SparkBatchJob setJobType(SparkJobType jobType)

Set the jobType property: The job type.

SparkBatchJob setLivyInfo(SparkBatchJobState livyInfo)

Set the livyInfo property: The livyInfo property.

SparkBatchJob setLogLines(List<String> logLines)

Set the logLines property: The log lines.

SparkBatchJob setName(String name)

Set the name property: The batch name.

SparkBatchJob setPlugin(SparkServicePlugin plugin)

Set the plugin property: The plugin information.

SparkBatchJob setResult(SparkBatchJobResultType result)

Set the result property: The Spark batch job result.

SparkBatchJob setScheduler(SparkScheduler scheduler)

Set the scheduler property: The scheduler information.

SparkBatchJob setSparkPoolName(String sparkPoolName)

Set the sparkPoolName property: The Spark pool name.

SparkBatchJob setState(LivyStates state)

Set the state property: The batch state.

SparkBatchJob setSubmitterId(String submitterId)

Set the submitterId property: The submitter identifier.

SparkBatchJob setSubmitterName(String submitterName)

Set the submitterName property: The submitter name.

SparkBatchJob setTags(Map<String,String> tags)

Set the tags property: The tags.

SparkBatchJob setWorkspaceName(String workspaceName)

Set the workspaceName property: The workspace name.

Methods inherited from java.lang.Object

Constructor Details

SparkBatchJob

public SparkBatchJob()

Creates an instance of SparkBatchJob class.

Method Details

getAppId

public String getAppId()

Get the appId property: The application id of this session.

Returns:

the appId value.

getAppInfo

public Map getAppInfo()

Get the appInfo property: The detailed application info.

Returns:

the appInfo value.

getArtifactId

public String getArtifactId()

Get the artifactId property: The artifact identifier.

Returns:

the artifactId value.

getErrors

public List getErrors()

Get the errors property: The error information.

Returns:

the errors value.

getId

public int getId()

Get the id property: The session Id.

Returns:

the id value.

getJobType

public SparkJobType getJobType()

Get the jobType property: The job type.

Returns:

the jobType value.

getLivyInfo

public SparkBatchJobState getLivyInfo()

Get the livyInfo property: The livyInfo property.

Returns:

the livyInfo value.

getLogLines

public List getLogLines()

Get the logLines property: The log lines.

Returns:

the logLines value.

getName

public String getName()

Get the name property: The batch name.

Returns:

the name value.

getPlugin

public SparkServicePlugin getPlugin()

Get the plugin property: The plugin information.

Returns:

the plugin value.

getResult

public SparkBatchJobResultType getResult()

Get the result property: The Spark batch job result.

Returns:

the result value.

getScheduler

public SparkScheduler getScheduler()

Get the scheduler property: The scheduler information.

Returns:

the scheduler value.

getSparkPoolName

public String getSparkPoolName()

Get the sparkPoolName property: The Spark pool name.

Returns:

the sparkPoolName value.

getState

public LivyStates getState()

Get the state property: The batch state.

Returns:

the state value.

getSubmitterId

public String getSubmitterId()

Get the submitterId property: The submitter identifier.

Returns:

the submitterId value.

getSubmitterName

public String getSubmitterName()

Get the submitterName property: The submitter name.

Returns:

the submitterName value.

getTags

public Map getTags()

Get the tags property: The tags.

Returns:

the tags value.

getWorkspaceName

public String getWorkspaceName()

Get the workspaceName property: The workspace name.

Returns:

the workspaceName value.

setAppId

public SparkBatchJob setAppId(String appId)

Set the appId property: The application id of this session.

Parameters:

appId - the appId value to set.

Returns:

the SparkBatchJob object itself.

setAppInfo

public SparkBatchJob setAppInfo(Map appInfo)

Set the appInfo property: The detailed application info.

Parameters:

appInfo - the appInfo value to set.

Returns:

the SparkBatchJob object itself.

setArtifactId

public SparkBatchJob setArtifactId(String artifactId)

Set the artifactId property: The artifact identifier.

Parameters:

artifactId - the artifactId value to set.

Returns:

the SparkBatchJob object itself.

setErrors

public SparkBatchJob setErrors(List errors)

Set the errors property: The error information.

Parameters:

errors - the errors value to set.

Returns:

the SparkBatchJob object itself.

setId

public SparkBatchJob setId(int id)

Set the id property: The session Id.

Parameters:

id - the id value to set.

Returns:

the SparkBatchJob object itself.

setJobType

public SparkBatchJob setJobType(SparkJobType jobType)

Set the jobType property: The job type.

Parameters:

jobType - the jobType value to set.

Returns:

the SparkBatchJob object itself.

setLivyInfo

public SparkBatchJob setLivyInfo(SparkBatchJobState livyInfo)

Set the livyInfo property: The livyInfo property.

Parameters:

livyInfo - the livyInfo value to set.

Returns:

the SparkBatchJob object itself.

setLogLines

public SparkBatchJob setLogLines(List logLines)

Set the logLines property: The log lines.

Parameters:

logLines - the logLines value to set.

Returns:

the SparkBatchJob object itself.

setName

public SparkBatchJob setName(String name)

Set the name property: The batch name.

Parameters:

name - the name value to set.

Returns:

the SparkBatchJob object itself.

setPlugin

public SparkBatchJob setPlugin(SparkServicePlugin plugin)

Set the plugin property: The plugin information.

Parameters:

plugin - the plugin value to set.

Returns:

the SparkBatchJob object itself.

setResult

public SparkBatchJob setResult(SparkBatchJobResultType result)

Set the result property: The Spark batch job result.

Parameters:

result - the result value to set.

Returns:

the SparkBatchJob object itself.

setScheduler

public SparkBatchJob setScheduler(SparkScheduler scheduler)

Set the scheduler property: The scheduler information.

Parameters:

scheduler - the scheduler value to set.

Returns:

the SparkBatchJob object itself.

setSparkPoolName

public SparkBatchJob setSparkPoolName(String sparkPoolName)

Set the sparkPoolName property: The Spark pool name.

Parameters:

sparkPoolName - the sparkPoolName value to set.

Returns:

the SparkBatchJob object itself.

setState

public SparkBatchJob setState(LivyStates state)

Set the state property: The batch state.

Parameters:

state - the state value to set.

Returns:

the SparkBatchJob object itself.

setSubmitterId

public SparkBatchJob setSubmitterId(String submitterId)

Set the submitterId property: The submitter identifier.

Parameters:

submitterId - the submitterId value to set.

Returns:

the SparkBatchJob object itself.

setSubmitterName

public SparkBatchJob setSubmitterName(String submitterName)

Set the submitterName property: The submitter name.

Parameters:

submitterName - the submitterName value to set.

Returns:

the SparkBatchJob object itself.

setTags

public SparkBatchJob setTags(Map tags)

Set the tags property: The tags.

Parameters:

tags - the tags value to set.

Returns:

the SparkBatchJob object itself.

setWorkspaceName

public SparkBatchJob setWorkspaceName(String workspaceName)

Set the workspaceName property: The workspace name.

Parameters:

workspaceName - the workspaceName value to set.

Returns:

the SparkBatchJob object itself.

Applies to