RunNotebookSparkSessionOptions Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. RunNotebookSparkSessionOptions
- com.
public final class RunNotebookSparkSessionOptions
The RunNotebookSparkSessionOptions model.
Constructor | Description |
---|---|
Run |
Creates an instance of Run |
Modifier and Type | Method and Description |
---|---|
List<String> |
get Get the archives property: Archives to be used in this session. |
Map<String,String> |
get Get the configuration property: Spark configuration properties. |
Integer |
get Get the driver |
String |
get Get the driver |
Integer |
get Get the executor |
Integer |
get Get the executor |
String |
get Get the executor |
List<String> |
get Get the files property: files to be used in this session. |
Integer |
get Get the heartbeat |
List<String> |
get Get the jars property: jars to be used in this session. |
String |
get Get the kind property: The session kind. |
String |
get Get the name property: The name of this session. |
String |
get Get the proxy |
List<String> |
get Get the python |
Object |
get Get the queue property: The name of the YARN queue to which submitted. |
Map<String,String> |
get Get the tags property: Dictionary of . |
Boolean |
is Get the is |
Run |
set Set the archives property: Archives to be used in this session. |
Run |
set Set the configuration property: Spark configuration properties. |
Run |
set Set the driver |
Run |
set Set the driver |
Run |
set Set the executor |
Run |
set Set the executor |
Run |
set Set the executor |
Run |
set Set the files property: files to be used in this session. |
Run |
set Set the heartbeat |
Run |
set Set the is |
Run |
set Set the jars property: jars to be used in this session. |
Run |
set Set the kind property: The session kind. |
Run |
set Set the name property: The name of this session. |
Run |
set Set the proxy |
Run |
set Set the python |
Run |
set Set the queue property: The name of the YARN queue to which submitted. |
Run |
set Set the tags property: Dictionary of . |
Methods inherited from java.lang.Object
RunNotebookSparkSessionOptions
public RunNotebookSparkSessionOptions()
Creates an instance of RunNotebookSparkSessionOptions class.
getArchives
public List
Get the archives property: Archives to be used in this session.
Returns:
getConfiguration
public Map
Get the configuration property: Spark configuration properties.
Returns:
getDriverCores
public Integer getDriverCores()
Get the driverCores property: Number of cores to use for the driver process.
Returns:
getDriverMemory
public String getDriverMemory()
Get the driverMemory property: Amount of memory to use for the driver process.
Returns:
getExecutorCores
public Integer getExecutorCores()
Get the executorCores property: Number of cores to use for each executor.
Returns:
getExecutorCount
public Integer getExecutorCount()
Get the executorCount property: Number of executors to launch for this session.
Returns:
getExecutorMemory
public String getExecutorMemory()
Get the executorMemory property: Amount of memory to use per executor process.
Returns:
getFiles
public List
Get the files property: files to be used in this session.
Returns:
getHeartbeatTimeoutInSecond
public Integer getHeartbeatTimeoutInSecond()
Get the heartbeatTimeoutInSecond property: Timeout in second to which session be orphaned.
Returns:
getJars
public List
Get the jars property: jars to be used in this session.
Returns:
getKind
public String getKind()
Get the kind property: The session kind.
Returns:
getName
public String getName()
Get the name property: The name of this session.
Returns:
getProxyUser
public String getProxyUser()
Get the proxyUser property: User to impersonate when starting the session.
Returns:
getPythonFiles
public List
Get the pythonFiles property: Python files to be used in this session.
Returns:
getQueue
public Object getQueue()
Get the queue property: The name of the YARN queue to which submitted.
Returns:
getTags
public Map
Get the tags property: Dictionary of .
Returns:
isQueueable
public Boolean isQueueable()
Get the isQueueable property: Whether to queue session creation if Spark pool doesn't have enough capacity. Default value is true in notebook runs API.
Returns:
setArchives
public RunNotebookSparkSessionOptions setArchives(List
Set the archives property: Archives to be used in this session.
Parameters:
Returns:
setConfiguration
public RunNotebookSparkSessionOptions setConfiguration(Map
Set the configuration property: Spark configuration properties.
Parameters:
Returns:
setDriverCores
public RunNotebookSparkSessionOptions setDriverCores(Integer driverCores)
Set the driverCores property: Number of cores to use for the driver process.
Parameters:
Returns:
setDriverMemory
public RunNotebookSparkSessionOptions setDriverMemory(String driverMemory)
Set the driverMemory property: Amount of memory to use for the driver process.
Parameters:
Returns:
setExecutorCores
public RunNotebookSparkSessionOptions setExecutorCores(Integer executorCores)
Set the executorCores property: Number of cores to use for each executor.
Parameters:
Returns:
setExecutorCount
public RunNotebookSparkSessionOptions setExecutorCount(Integer executorCount)
Set the executorCount property: Number of executors to launch for this session.
Parameters:
Returns:
setExecutorMemory
public RunNotebookSparkSessionOptions setExecutorMemory(String executorMemory)
Set the executorMemory property: Amount of memory to use per executor process.
Parameters:
Returns:
setFiles
public RunNotebookSparkSessionOptions setFiles(List
Set the files property: files to be used in this session.
Parameters:
Returns:
setHeartbeatTimeoutInSecond
public RunNotebookSparkSessionOptions setHeartbeatTimeoutInSecond(Integer heartbeatTimeoutInSecond)
Set the heartbeatTimeoutInSecond property: Timeout in second to which session be orphaned.
Parameters:
Returns:
setIsQueueable
public RunNotebookSparkSessionOptions setIsQueueable(Boolean isQueueable)
Set the isQueueable property: Whether to queue session creation if Spark pool doesn't have enough capacity. Default value is true in notebook runs API.
Parameters:
Returns:
setJars
public RunNotebookSparkSessionOptions setJars(List
Set the jars property: jars to be used in this session.
Parameters:
Returns:
setKind
public RunNotebookSparkSessionOptions setKind(String kind)
Set the kind property: The session kind.
Parameters:
Returns:
setName
public RunNotebookSparkSessionOptions setName(String name)
Set the name property: The name of this session.
Parameters:
Returns:
setProxyUser
public RunNotebookSparkSessionOptions setProxyUser(String proxyUser)
Set the proxyUser property: User to impersonate when starting the session.
Parameters:
Returns:
setPythonFiles
public RunNotebookSparkSessionOptions setPythonFiles(List
Set the pythonFiles property: Python files to be used in this session.
Parameters:
Returns:
setQueue
public RunNotebookSparkSessionOptions setQueue(Object queue)
Set the queue property: The name of the YARN queue to which submitted.
Parameters:
Returns:
setTags
public RunNotebookSparkSessionOptions setTags(Map
Set the tags property: Dictionary of .
Parameters:
Returns:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: