public class ModifyStreamingJobShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
account
The name of the database account.
|
String |
consistency
The delivery guarantee setting.
|
String |
DBInstanceId
The instance ID.
|
String |
destColumnsShrink
The destination fields.
|
String |
destDatabase
The name of the destination database.
|
String |
destSchema
example:
dest-schema
|
String |
destTable
The name of the destination table.
|
Long |
errorLimitCount
example:
5
|
String |
fallbackOffset
example:
earliest / latest
|
String |
groupName
example:
group_name
|
String |
jobConfig
The YAML configuration file of the job.
|
String |
jobDescription
The description of the job.
|
Long |
jobId
The job ID.
|
String |
matchColumnsShrink |
String |
password
The password of the database account.
|
String |
regionId
example:
cn-beijing
|
String |
srcColumnsShrink
The source fields.
|
Boolean |
tryRun
Specifies whether to test the real-time job.
|
String |
updateColumnsShrink |
String |
writeMode
The write mode.
|
| 构造器和说明 |
|---|
ModifyStreamingJobShrinkRequest() |
@NameInMap(value="Account") public String account
The name of the database account.
example:test-account
@NameInMap(value="Consistency") public String consistency
The delivery guarantee setting.
Valid values:
ATLEAST / EXACTLY
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
This parameter is required.
example:ModifyStreamingJob
@NameInMap(value="DestColumns") public String destColumnsShrink
The destination fields.
@NameInMap(value="DestDatabase") public String destDatabase
The name of the destination database.
example:dest-db
@NameInMap(value="DestSchema") public String destSchema
dest-schema
@NameInMap(value="DestTable") public String destTable
The name of the destination table.
example:dest-table
@NameInMap(value="ErrorLimitCount") public Long errorLimitCount
5
@NameInMap(value="FallbackOffset") public String fallbackOffset
earliest / latest
@NameInMap(value="GroupName") public String groupName
group_name
@NameInMap(value="JobConfig") public String jobConfig
The YAML configuration file of the job. This parameter must be specified when Mode is set to professional.
example:DATABASE: adbpgss_test USER: adbpgss_test PASSWORD: adbpgssTest HOST: gp-xxx-master.gpdb.rds-aliyun-pre.rds.aliyuncs.com PORT: 5432 KAFKA: INPUT: SOURCE: BROKERS: broker1:9092,broker2:9092,broker3:9092 TOPIC: testtopic FALLBACK_OFFSET: earliest KEY: COLUMNS: - NAME: customer_id TYPE: int FORMAT: delimited DELIMITED_OPTION: DELIMITER: \"|\" VALUE: COLUMNS: - TYPE: integer NAME: l_orderkey - TYPE: integer NAME: l_partkey - TYPE: integer NAME: l_suppkey - TYPE: integer NAME: l_linenumber - TYPE: decimal NAME: l_quantity - TYPE: decimal NAME: l_extendedprice - TYPE: decimal NAME: l_discount - TYPE: decimal NAME: l_tax - TYPE: char NAME: l_returnflag - TYPE: char NAME: l_linestatus - TYPE: date NAME: l_shipdate - TYPE: date NAME: l_commitdate - TYPE: date NAME: l_receiptdate - TYPE: text NAME: l_shipinstruct - TYPE: text NAME: l_shipmode - TYPE: text NAME: l_comment FORMAT: delimited DELIMITED_OPTION: DELIMITER: \"|\" ERROR_LIMIT: 10 OUTPUT: SCHEMA: adbpgss_test TABLE: write_with_insert_plaintext MODE: MERGE MATCH_COLUMNS: - l_orderkey - l_partkey - l_suppkey UPDATE_COLUMNS: - l_linenumber - l_quantity - l_extendedprice - l_discount - l_tax - l_returnflag - l_linestatus - l_shipdate - l_commitdate - l_receiptdate - l_shipinstruct - l_shipmode - l_comment MAPPING: - EXPRESSION: l_orderkey NAME: l_orderkey - EXPRESSION: l_partkey NAME: l_partkey - EXPRESSION: l_suppkey NAME: l_suppkey - EXPRESSION: l_linenumber NAME: l_linenumber - EXPRESSION: l_quantity NAME: l_quantity - EXPRESSION: l_extendedprice NAME: l_extendedprice - EXPRESSION: l_discount NAME: l_discount - EXPRESSION: l_tax NAME: l_tax - EXPRESSION: l_returnflag NAME: l_returnflag - EXPRESSION: l_linestatus NAME: l_linestatus - EXPRESSION: l_shipdate NAME: l_shipdate - EXPRESSION: l_commitdate NAME: l_commitdate - EXPRESSION: l_receiptdate NAME: l_receiptdate - EXPRESSION: l_shipinstruct NAME: l_shipinstruct - EXPRESSION: l_shipmode NAME: l_shipmode - EXPRESSION: l_comment NAME: l_comment COMMIT: MAX_ROW: 1000 MINIMAL_INTERVAL: 1000 CONSISTENCY: ATLEAST POLL: BATCHSIZE: 1000 TIMEOUT: 1000 PROPERTIES: group.id: testgroup
@NameInMap(value="JobDescription") public String jobDescription
The description of the job.
example:test-job
@NameInMap(value="JobId") public Long jobId
The job ID.
This parameter is required.
example:1
@NameInMap(value="MatchColumns") public String matchColumnsShrink
@NameInMap(value="Password") public String password
The password of the database account.
example:pwd123
@NameInMap(value="RegionId") public String regionId
cn-beijing
@NameInMap(value="SrcColumns") public String srcColumnsShrink
The source fields.
@NameInMap(value="TryRun") public Boolean tryRun
Specifies whether to test the real-time job. Valid values:
Default value: false.
example:true
@NameInMap(value="UpdateColumns") public String updateColumnsShrink
@NameInMap(value="WriteMode") public String writeMode
The write mode.
Valid values:
INSERT/UPDATE/MERGE
public static ModifyStreamingJobShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyStreamingJobShrinkRequest setAccount(String account)
public String getAccount()
public ModifyStreamingJobShrinkRequest setConsistency(String consistency)
public String getConsistency()
public ModifyStreamingJobShrinkRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public ModifyStreamingJobShrinkRequest setDestColumnsShrink(String destColumnsShrink)
public String getDestColumnsShrink()
public ModifyStreamingJobShrinkRequest setDestDatabase(String destDatabase)
public String getDestDatabase()
public ModifyStreamingJobShrinkRequest setDestSchema(String destSchema)
public String getDestSchema()
public ModifyStreamingJobShrinkRequest setDestTable(String destTable)
public String getDestTable()
public ModifyStreamingJobShrinkRequest setErrorLimitCount(Long errorLimitCount)
public Long getErrorLimitCount()
public ModifyStreamingJobShrinkRequest setFallbackOffset(String fallbackOffset)
public String getFallbackOffset()
public ModifyStreamingJobShrinkRequest setGroupName(String groupName)
public String getGroupName()
public ModifyStreamingJobShrinkRequest setJobConfig(String jobConfig)
public String getJobConfig()
public ModifyStreamingJobShrinkRequest setJobDescription(String jobDescription)
public String getJobDescription()
public ModifyStreamingJobShrinkRequest setJobId(Long jobId)
public Long getJobId()
public ModifyStreamingJobShrinkRequest setMatchColumnsShrink(String matchColumnsShrink)
public String getMatchColumnsShrink()
public ModifyStreamingJobShrinkRequest setPassword(String password)
public String getPassword()
public ModifyStreamingJobShrinkRequest setRegionId(String regionId)
public String getRegionId()
public ModifyStreamingJobShrinkRequest setSrcColumnsShrink(String srcColumnsShrink)
public String getSrcColumnsShrink()
public ModifyStreamingJobShrinkRequest setTryRun(Boolean tryRun)
public Boolean getTryRun()
public ModifyStreamingJobShrinkRequest setUpdateColumnsShrink(String updateColumnsShrink)
public String getUpdateColumnsShrink()
public ModifyStreamingJobShrinkRequest setWriteMode(String writeMode)
public String getWriteMode()
Copyright © 2024. All rights reserved.