Class SparkSession
java.lang.Object
com.azure.analytics.synapse.spark.models.SparkSession
The SparkSession model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAppId()
Get the appId property: The appId property.Get the appInfo property: Dictionary of <string>.Get the artifactId property: The artifactId property.Get the errors property: The errorInfo property.int
getId()
Get the id property: The id property.Get the jobType property: The job type.Get the livyInfo property: The livyInfo property.Get the logLines property: The log property.getName()
Get the name property: The name property.Get the plugin property: The pluginInfo property.Get the result property: The result property.Get the scheduler property: The schedulerInfo property.Get the sparkPoolName property: The sparkPoolName property.getState()
Get the state property: The session state.Get the submitterId property: The submitterId property.Get the submitterName property: The submitterName property.getTags()
Get the tags property: Dictionary of <string>.Get the workspaceName property: The workspaceName property.Set the appId property: The appId property.setAppInfo
(Map<String, String> appInfo) Set the appInfo property: Dictionary of <string>.setArtifactId
(String artifactId) Set the artifactId property: The artifactId property.setErrors
(List<SparkServiceError> errors) Set the errors property: The errorInfo property.setId
(int id) Set the id property: The id property.setJobType
(SparkJobType jobType) Set the jobType property: The job type.setLivyInfo
(SparkSessionState livyInfo) Set the livyInfo property: The livyInfo property.setLogLines
(List<String> logLines) Set the logLines property: The log property.Set the name property: The name property.setPlugin
(SparkServicePlugin plugin) Set the plugin property: The pluginInfo property.setResult
(SparkSessionResultType result) Set the result property: The result property.setScheduler
(SparkScheduler scheduler) Set the scheduler property: The schedulerInfo property.setSparkPoolName
(String sparkPoolName) Set the sparkPoolName property: The sparkPoolName property.setState
(LivyStates state) Set the state property: The session state.setSubmitterId
(String submitterId) Set the submitterId property: The submitterId property.setSubmitterName
(String submitterName) Set the submitterName property: The submitterName property.Set the tags property: Dictionary of <string>.setWorkspaceName
(String workspaceName) Set the workspaceName property: The workspaceName property.
-
Constructor Details
-
SparkSession
public SparkSession()
-
-
Method Details
-
getLivyInfo
Get the livyInfo property: The livyInfo property.- Returns:
- the livyInfo value.
-
setLivyInfo
Set the livyInfo property: The livyInfo property.- Parameters:
livyInfo
- the livyInfo value to set.- Returns:
- the SparkSession object itself.
-
getName
Get the name property: The name property.- Returns:
- the name value.
-
setName
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the SparkSession object itself.
-
getWorkspaceName
Get the workspaceName property: The workspaceName property.- Returns:
- the workspaceName value.
-
setWorkspaceName
Set the workspaceName property: The workspaceName property.- Parameters:
workspaceName
- the workspaceName value to set.- Returns:
- the SparkSession object itself.
-
getSparkPoolName
Get the sparkPoolName property: The sparkPoolName property.- Returns:
- the sparkPoolName value.
-
setSparkPoolName
Set the sparkPoolName property: The sparkPoolName property.- Parameters:
sparkPoolName
- the sparkPoolName value to set.- Returns:
- the SparkSession object itself.
-
getSubmitterName
Get the submitterName property: The submitterName property.- Returns:
- the submitterName value.
-
setSubmitterName
Set the submitterName property: The submitterName property.- Parameters:
submitterName
- the submitterName value to set.- Returns:
- the SparkSession object itself.
-
getSubmitterId
Get the submitterId property: The submitterId property.- Returns:
- the submitterId value.
-
setSubmitterId
Set the submitterId property: The submitterId property.- Parameters:
submitterId
- the submitterId value to set.- Returns:
- the SparkSession object itself.
-
getArtifactId
Get the artifactId property: The artifactId property.- Returns:
- the artifactId value.
-
setArtifactId
Set the artifactId property: The artifactId property.- Parameters:
artifactId
- the artifactId value to set.- Returns:
- the SparkSession object itself.
-
getJobType
Get the jobType property: The job type.- Returns:
- the jobType value.
-
setJobType
Set the jobType property: The job type.- Parameters:
jobType
- the jobType value to set.- Returns:
- the SparkSession object itself.
-
getResult
Get the result property: The result property.- Returns:
- the result value.
-
setResult
Set the result property: The result property.- Parameters:
result
- the result value to set.- Returns:
- the SparkSession object itself.
-
getScheduler
Get the scheduler property: The schedulerInfo property.- Returns:
- the scheduler value.
-
setScheduler
Set the scheduler property: The schedulerInfo property.- Parameters:
scheduler
- the scheduler value to set.- Returns:
- the SparkSession object itself.
-
getPlugin
Get the plugin property: The pluginInfo property.- Returns:
- the plugin value.
-
setPlugin
Set the plugin property: The pluginInfo property.- Parameters:
plugin
- the plugin value to set.- Returns:
- the SparkSession object itself.
-
getErrors
Get the errors property: The errorInfo property.- Returns:
- the errors value.
-
setErrors
Set the errors property: The errorInfo property.- Parameters:
errors
- the errors value to set.- Returns:
- the SparkSession object itself.
-
getTags
Get the tags property: Dictionary of <string>.- Returns:
- the tags value.
-
setTags
Set the tags property: Dictionary of <string>.- Parameters:
tags
- the tags value to set.- Returns:
- the SparkSession object itself.
-
getId
public int getId()Get the id property: The id property.- Returns:
- the id value.
-
setId
Set the id property: The id property.- Parameters:
id
- the id value to set.- Returns:
- the SparkSession object itself.
-
getAppId
Get the appId property: The appId property.- Returns:
- the appId value.
-
setAppId
Set the appId property: The appId property.- Parameters:
appId
- the appId value to set.- Returns:
- the SparkSession object itself.
-
getAppInfo
Get the appInfo property: Dictionary of <string>.- Returns:
- the appInfo value.
-
setAppInfo
Set the appInfo property: Dictionary of <string>.- Parameters:
appInfo
- the appInfo value to set.- Returns:
- the SparkSession object itself.
-
getState
Get the state property: The session state.- Returns:
- the state value.
-
setState
Set the state property: The session state.- Parameters:
state
- the state value to set.- Returns:
- the SparkSession object itself.
-
getLogLines
Get the logLines property: The log property.- Returns:
- the logLines value.
-
setLogLines
Set the logLines property: The log property.- Parameters:
logLines
- the logLines value to set.- Returns:
- the SparkSession object itself.
-