Class NotebookSessionProperties
java.lang.Object
com.azure.analytics.synapse.artifacts.models.NotebookSessionProperties
Session properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the driverCores property: Number of cores to use for the driver.Get the driverMemory property: Amount of memory to use for the driver process.int
Get the executorCores property: Number of cores to use for each executor.Get the executorMemory property: Amount of memory to use per executor process.int
Get the numExecutors property: Number of executors to launch for this session.setDriverCores
(int driverCores) Set the driverCores property: Number of cores to use for the driver.setDriverMemory
(String driverMemory) Set the driverMemory property: Amount of memory to use for the driver process.setExecutorCores
(int executorCores) Set the executorCores property: Number of cores to use for each executor.setExecutorMemory
(String executorMemory) Set the executorMemory property: Amount of memory to use per executor process.setNumExecutors
(int numExecutors) Set the numExecutors property: Number of executors to launch for this session.
-
Constructor Details
-
NotebookSessionProperties
public NotebookSessionProperties()
-
-
Method Details
-
getDriverMemory
Get the driverMemory property: Amount of memory to use for the driver process.- Returns:
- the driverMemory value.
-
setDriverMemory
Set the driverMemory property: Amount of memory to use for the driver process.- Parameters:
driverMemory
- the driverMemory value to set.- Returns:
- the NotebookSessionProperties object itself.
-
getDriverCores
public int getDriverCores()Get the driverCores property: Number of cores to use for the driver.- Returns:
- the driverCores value.
-
setDriverCores
Set the driverCores property: Number of cores to use for the driver.- Parameters:
driverCores
- the driverCores value to set.- Returns:
- the NotebookSessionProperties object itself.
-
getExecutorMemory
Get the executorMemory property: Amount of memory to use per executor process.- Returns:
- the executorMemory value.
-
setExecutorMemory
Set the executorMemory property: Amount of memory to use per executor process.- Parameters:
executorMemory
- the executorMemory value to set.- Returns:
- the NotebookSessionProperties object itself.
-
getExecutorCores
public int getExecutorCores()Get the executorCores property: Number of cores to use for each executor.- Returns:
- the executorCores value.
-
setExecutorCores
Set the executorCores property: Number of cores to use for each executor.- Parameters:
executorCores
- the executorCores value to set.- Returns:
- the NotebookSessionProperties object itself.
-
getNumExecutors
public int getNumExecutors()Get the numExecutors property: Number of executors to launch for this session.- Returns:
- the numExecutors value.
-
setNumExecutors
Set the numExecutors property: Number of executors to launch for this session.- Parameters:
numExecutors
- the numExecutors value to set.- Returns:
- the NotebookSessionProperties object itself.
-