public final class SparkSession extends Object
Constructor and Description |
---|
SparkSession() |
Modifier and Type | Method and Description |
---|---|
String |
getAppId()
Get the appId property: The appId property.
|
Map<String,String> |
getAppInfo()
Get the appInfo property: Dictionary of <string>.
|
String |
getArtifactId()
Get the artifactId property: The artifactId property.
|
List<SparkServiceError> |
getErrors()
Get the errors property: The errorInfo property.
|
int |
getId()
Get the id property: The id property.
|
SparkJobType |
getJobType()
Get the jobType property: The job type.
|
SparkSessionState |
getLivyInfo()
Get the livyInfo property: The livyInfo property.
|
List<String> |
getLogLines()
Get the logLines property: The log property.
|
String |
getName()
Get the name property: The name property.
|
SparkServicePlugin |
getPlugin()
Get the plugin property: The pluginInfo property.
|
SparkSessionResultType |
getResult()
Get the result property: The result property.
|
SparkScheduler |
getScheduler()
Get the scheduler property: The schedulerInfo property.
|
String |
getSparkPoolName()
Get the sparkPoolName property: The sparkPoolName property.
|
String |
getState()
Get the state property: The state property.
|
String |
getSubmitterId()
Get the submitterId property: The submitterId property.
|
String |
getSubmitterName()
Get the submitterName property: The submitterName property.
|
Map<String,String> |
getTags()
Get the tags property: Dictionary of <string>.
|
String |
getWorkspaceName()
Get the workspaceName property: The workspaceName property.
|
SparkSession |
setAppId(String appId)
Set the appId property: The appId property.
|
SparkSession |
setAppInfo(Map<String,String> appInfo)
Set the appInfo property: Dictionary of <string>.
|
SparkSession |
setArtifactId(String artifactId)
Set the artifactId property: The artifactId property.
|
SparkSession |
setErrors(List<SparkServiceError> errors)
Set the errors property: The errorInfo property.
|
SparkSession |
setId(int id)
Set the id property: The id property.
|
SparkSession |
setJobType(SparkJobType jobType)
Set the jobType property: The job type.
|
SparkSession |
setLivyInfo(SparkSessionState livyInfo)
Set the livyInfo property: The livyInfo property.
|
SparkSession |
setLogLines(List<String> logLines)
Set the logLines property: The log property.
|
SparkSession |
setName(String name)
Set the name property: The name property.
|
SparkSession |
setPlugin(SparkServicePlugin plugin)
Set the plugin property: The pluginInfo property.
|
SparkSession |
setResult(SparkSessionResultType result)
Set the result property: The result property.
|
SparkSession |
setScheduler(SparkScheduler scheduler)
Set the scheduler property: The schedulerInfo property.
|
SparkSession |
setSparkPoolName(String sparkPoolName)
Set the sparkPoolName property: The sparkPoolName property.
|
SparkSession |
setState(String state)
Set the state property: The state property.
|
SparkSession |
setSubmitterId(String submitterId)
Set the submitterId property: The submitterId property.
|
SparkSession |
setSubmitterName(String submitterName)
Set the submitterName property: The submitterName property.
|
SparkSession |
setTags(Map<String,String> tags)
Set the tags property: Dictionary of <string>.
|
SparkSession |
setWorkspaceName(String workspaceName)
Set the workspaceName property: The workspaceName property.
|
public SparkSessionState getLivyInfo()
public SparkSession setLivyInfo(SparkSessionState livyInfo)
livyInfo
- the livyInfo value to set.public String getName()
public SparkSession setName(String name)
name
- the name value to set.public String getWorkspaceName()
public SparkSession setWorkspaceName(String workspaceName)
workspaceName
- the workspaceName value to set.public String getSparkPoolName()
public SparkSession setSparkPoolName(String sparkPoolName)
sparkPoolName
- the sparkPoolName value to set.public String getSubmitterName()
public SparkSession setSubmitterName(String submitterName)
submitterName
- the submitterName value to set.public String getSubmitterId()
public SparkSession setSubmitterId(String submitterId)
submitterId
- the submitterId value to set.public String getArtifactId()
public SparkSession setArtifactId(String artifactId)
artifactId
- the artifactId value to set.public SparkJobType getJobType()
public SparkSession setJobType(SparkJobType jobType)
jobType
- the jobType value to set.public SparkSessionResultType getResult()
public SparkSession setResult(SparkSessionResultType result)
result
- the result value to set.public SparkScheduler getScheduler()
public SparkSession setScheduler(SparkScheduler scheduler)
scheduler
- the scheduler value to set.public SparkServicePlugin getPlugin()
public SparkSession setPlugin(SparkServicePlugin plugin)
plugin
- the plugin value to set.public List<SparkServiceError> getErrors()
public SparkSession setErrors(List<SparkServiceError> errors)
errors
- the errors value to set.public Map<String,String> getTags()
public SparkSession setTags(Map<String,String> tags)
tags
- the tags value to set.public int getId()
public SparkSession setId(int id)
id
- the id value to set.public String getAppId()
public SparkSession setAppId(String appId)
appId
- the appId value to set.public Map<String,String> getAppInfo()
public SparkSession setAppInfo(Map<String,String> appInfo)
appInfo
- the appInfo value to set.public String getState()
public SparkSession setState(String state)
state
- the state value to set.public List<String> getLogLines()
public SparkSession setLogLines(List<String> logLines)
logLines
- the logLines value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.