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