public class CreateSparkSessionBatchSQLRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateSparkSessionBatchSQLRequest() |
CreateSparkSessionBatchSQLRequest(CreateSparkSessionBatchSQLRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
KVPair[] |
getArguments()
Get The session configurations.
|
String |
getDataEngineName()
Get The name of the engine for executing the Spark job.
|
String |
getDriverSize()
Get The driver size.
|
String |
getExecuteSQL()
Get The SQL statement to execute.
|
Long |
getExecutorMaxNumbers()
Get The maximum executor count, which defaults to 1.
|
Long |
getExecutorNumbers()
Get The executor count, which defaults to 1.
|
String |
getExecutorSize()
Get The executor size.
|
Long |
getIsInherit()
Get Whether to inherit the resource configurations from the cluster.
|
String |
getSessionId()
Get The unique ID of a session.
|
String |
getSessionName()
Get The name of the session to create.
|
Long |
getTimeoutInSecond()
Get The session timeout period in seconds.
|
void |
setArguments(KVPair[] Arguments)
Set The session configurations.
|
void |
setDataEngineName(String DataEngineName)
Set The name of the engine for executing the Spark job.
|
void |
setDriverSize(String DriverSize)
Set The driver size.
|
void |
setExecuteSQL(String ExecuteSQL)
Set The SQL statement to execute.
|
void |
setExecutorMaxNumbers(Long ExecutorMaxNumbers)
Set The maximum executor count, which defaults to 1.
|
void |
setExecutorNumbers(Long ExecutorNumbers)
Set The executor count, which defaults to 1.
|
void |
setExecutorSize(String ExecutorSize)
Set The executor size.
|
void |
setIsInherit(Long IsInherit)
Set Whether to inherit the resource configurations from the cluster.
|
void |
setSessionId(String SessionId)
Set The unique ID of a session.
|
void |
setSessionName(String SessionName)
Set The name of the session to create.
|
void |
setTimeoutInSecond(Long TimeoutInSecond)
Set The session timeout period in seconds.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateSparkSessionBatchSQLRequest()
public CreateSparkSessionBatchSQLRequest(CreateSparkSessionBatchSQLRequest source)
public String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- The name of the engine for executing the Spark job.public String getExecuteSQL()
public void setExecuteSQL(String ExecuteSQL)
ExecuteSQL
- The SQL statement to execute.public String getDriverSize()
public void setDriverSize(String DriverSize)
DriverSize
- The driver size. Valid values: `small` (default, 1 CU), `medium` (2 CUs), `large` (4 CUs), and `xlarge` (8 CUs).public String getExecutorSize()
public void setExecutorSize(String ExecutorSize)
ExecutorSize
- The executor size. Valid values: `small` (default, 1 CU), `medium` (2 CUs), `large` (4 CUs), and `xlarge` (8 CUs).public Long getExecutorNumbers()
public void setExecutorNumbers(Long ExecutorNumbers)
ExecutorNumbers
- The executor count, which defaults to 1.public Long getExecutorMaxNumbers()
public void setExecutorMaxNumbers(Long ExecutorMaxNumbers)
ExecutorMaxNumbers
- The maximum executor count, which defaults to 1. This parameter applies if the "Dynamic" mode is selected. If the "Dynamic" mode is not selected, the value of this parameter is the same as that of `ExecutorNumbers`.public Long getTimeoutInSecond()
public void setTimeoutInSecond(Long TimeoutInSecond)
TimeoutInSecond
- The session timeout period in seconds. Default value: 3600public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The unique ID of a session. If this parameter is specified, the task will be run using the specified session.public String getSessionName()
public void setSessionName(String SessionName)
SessionName
- The name of the session to create.public KVPair[] getArguments()
public void setArguments(KVPair[] Arguments)
Arguments
- The session configurations. Valid values: `1.dlc.eni` for user-defined ENI gateway information;
`2.dlc.role.arn` for user-defined roleArn configurations;
and `3.dlc.sql.set.config` for user-defined cluster configurations.public Long getIsInherit()
public void setIsInherit(Long IsInherit)
IsInherit
- Whether to inherit the resource configurations from the cluster. Valid values: `0` for no (default) and `1` for yes.Copyright © 2024. All rights reserved.