SparkBatchJob Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SparkBatchJob
- com.
public final class SparkBatchJob
The SparkBatchJob model.
Constructor Summary
Constructor | Description |
---|---|
SparkBatchJob() |
Creates an instance of Spark |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getAppId()
Get the app |
Map<String,String> |
getAppInfo()
Get the app |
String |
getArtifactId()
Get the artifact |
List<Spark |
getErrors()
Get the errors property: The error information. |
int |
getId()
Get the id property: The session Id. |
Spark |
getJobType()
Get the job |
Spark |
getLivyInfo()
Get the livy |
List<String> |
getLogLines()
Get the log |
String |
getName()
Get the name property: The batch name. |
Spark |
getPlugin()
Get the plugin property: The plugin information. |
Spark |
getResult()
Get the result property: The Spark batch job result. |
Spark |
getScheduler()
Get the scheduler property: The scheduler information. |
String |
getSparkPoolName()
Get the spark |
Livy |
getState()
Get the state property: The batch state. |
String |
getSubmitterId()
Get the submitter |
String |
getSubmitterName()
Get the submitter |
Map<String,String> |
getTags()
Get the tags property: The tags. |
String |
getWorkspaceName()
Get the workspace |
Spark |
setAppId(String appId)
Set the app |
Spark |
setAppInfo(Map<String,String> appInfo)
Set the app |
Spark |
setArtifactId(String artifactId)
Set the artifact |
Spark |
setErrors(List<SparkServiceError> errors)
Set the errors property: The error information. |
Spark |
setId(int id)
Set the id property: The session Id. |
Spark |
setJobType(SparkJobType jobType)
Set the job |
Spark |
setLivyInfo(SparkBatchJobState livyInfo)
Set the livy |
Spark |
setLogLines(List<String> logLines)
Set the log |
Spark |
setName(String name)
Set the name property: The batch name. |
Spark |
setPlugin(SparkServicePlugin plugin)
Set the plugin property: The plugin information. |
Spark |
setResult(SparkBatchJobResultType result)
Set the result property: The Spark batch job result. |
Spark |
setScheduler(SparkScheduler scheduler)
Set the scheduler property: The scheduler information. |
Spark |
setSparkPoolName(String sparkPoolName)
Set the spark |
Spark |
setState(LivyStates state)
Set the state property: The batch state. |
Spark |
setSubmitterId(String submitterId)
Set the submitter |
Spark |
setSubmitterName(String submitterName)
Set the submitter |
Spark |
setTags(Map<String,String> tags)
Set the tags property: The tags. |
Spark |
setWorkspaceName(String workspaceName)
Set the workspace |
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:
getAppInfo
public Map
Get the appInfo property: The detailed application info.
Returns:
getArtifactId
public String getArtifactId()
Get the artifactId property: The artifact identifier.
Returns:
getErrors
public List
Get the errors property: The error information.
Returns:
getId
public int getId()
Get the id property: The session Id.
Returns:
getJobType
public SparkJobType getJobType()
Get the jobType property: The job type.
Returns:
getLivyInfo
public SparkBatchJobState getLivyInfo()
Get the livyInfo property: The livyInfo property.
Returns:
getLogLines
public List
Get the logLines property: The log lines.
Returns:
getName
public String getName()
Get the name property: The batch name.
Returns:
getPlugin
public SparkServicePlugin getPlugin()
Get the plugin property: The plugin information.
Returns:
getResult
public SparkBatchJobResultType getResult()
Get the result property: The Spark batch job result.
Returns:
getScheduler
public SparkScheduler getScheduler()
Get the scheduler property: The scheduler information.
Returns:
getSparkPoolName
public String getSparkPoolName()
Get the sparkPoolName property: The Spark pool name.
Returns:
getState
public LivyStates getState()
Get the state property: The batch state.
Returns:
getSubmitterId
public String getSubmitterId()
Get the submitterId property: The submitter identifier.
Returns:
getSubmitterName
public String getSubmitterName()
Get the submitterName property: The submitter name.
Returns:
getTags
public Map
Get the tags property: The tags.
Returns:
getWorkspaceName
public String getWorkspaceName()
Get the workspaceName property: The workspace name.
Returns:
setAppId
public SparkBatchJob setAppId(String appId)
Set the appId property: The application id of this session.
Parameters:
Returns:
setAppInfo
public SparkBatchJob setAppInfo(Map
Set the appInfo property: The detailed application info.
Parameters:
Returns:
setArtifactId
public SparkBatchJob setArtifactId(String artifactId)
Set the artifactId property: The artifact identifier.
Parameters:
Returns:
setErrors
public SparkBatchJob setErrors(List
Set the errors property: The error information.
Parameters:
Returns:
setId
public SparkBatchJob setId(int id)
Set the id property: The session Id.
Parameters:
Returns:
setJobType
public SparkBatchJob setJobType(SparkJobType jobType)
Set the jobType property: The job type.
Parameters:
Returns:
setLivyInfo
public SparkBatchJob setLivyInfo(SparkBatchJobState livyInfo)
Set the livyInfo property: The livyInfo property.
Parameters:
Returns:
setLogLines
public SparkBatchJob setLogLines(List
Set the logLines property: The log lines.
Parameters:
Returns:
setName
public SparkBatchJob setName(String name)
Set the name property: The batch name.
Parameters:
Returns:
setPlugin
public SparkBatchJob setPlugin(SparkServicePlugin plugin)
Set the plugin property: The plugin information.
Parameters:
Returns:
setResult
public SparkBatchJob setResult(SparkBatchJobResultType result)
Set the result property: The Spark batch job result.
Parameters:
Returns:
setScheduler
public SparkBatchJob setScheduler(SparkScheduler scheduler)
Set the scheduler property: The scheduler information.
Parameters:
Returns:
setSparkPoolName
public SparkBatchJob setSparkPoolName(String sparkPoolName)
Set the sparkPoolName property: The Spark pool name.
Parameters:
Returns:
setState
public SparkBatchJob setState(LivyStates state)
Set the state property: The batch state.
Parameters:
Returns:
setSubmitterId
public SparkBatchJob setSubmitterId(String submitterId)
Set the submitterId property: The submitter identifier.
Parameters:
Returns:
setSubmitterName
public SparkBatchJob setSubmitterName(String submitterName)
Set the submitterName property: The submitter name.
Parameters:
Returns:
setTags
public SparkBatchJob setTags(Map
Set the tags property: The tags.
Parameters:
Returns:
setWorkspaceName
public SparkBatchJob setWorkspaceName(String workspaceName)
Set the workspaceName property: The workspace name.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for