public class SparkCalcSpec extends Object
| Constructor and Description |
|---|
SparkCalcSpec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getDriverCores()
driver核数
|
String |
getDriverMemory()
driver内存
|
Integer |
getExecutorCores()
executor核数
|
String |
getExecutorMemory()
executor内存
|
Integer |
getNumExecutors()
executor个数
|
int |
hashCode() |
void |
setDriverCores(Integer driverCores) |
void |
setDriverMemory(String driverMemory) |
void |
setExecutorCores(Integer executorCores) |
void |
setExecutorMemory(String executorMemory) |
void |
setNumExecutors(Integer numExecutors) |
String |
toString() |
SparkCalcSpec |
withDriverCores(Integer driverCores) |
SparkCalcSpec |
withDriverMemory(String driverMemory) |
SparkCalcSpec |
withExecutorCores(Integer executorCores) |
SparkCalcSpec |
withExecutorMemory(String executorMemory) |
SparkCalcSpec |
withNumExecutors(Integer numExecutors) |
public SparkCalcSpec withDriverMemory(String driverMemory)
public String getDriverMemory()
public void setDriverMemory(String driverMemory)
public SparkCalcSpec withDriverCores(Integer driverCores)
public Integer getDriverCores()
public void setDriverCores(Integer driverCores)
public SparkCalcSpec withExecutorMemory(String executorMemory)
public String getExecutorMemory()
public void setExecutorMemory(String executorMemory)
public SparkCalcSpec withExecutorCores(Integer executorCores)
public Integer getExecutorCores()
public void setExecutorCores(Integer executorCores)
public SparkCalcSpec withNumExecutors(Integer numExecutors)
public Integer getNumExecutors()
public void setNumExecutors(Integer numExecutors)
Copyright © 2022. All rights reserved.