public static class UpsertSessionImpl.Builder extends Object implements TableTunnel.UpsertSession.Builder
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpsertSessionImpl |
build() |
ConfigurationImpl |
getConfig() |
String |
getPartitionSpec() |
String |
getProjectName() |
String |
getSchemaName() |
long |
getSlotNum() |
String |
getTableName() |
String |
getUpsertId() |
UpsertSessionImpl.Builder |
setConfig(ConfigurationImpl config) |
UpsertSessionImpl.Builder |
setPartitionSpec(PartitionSpec spec) |
UpsertSessionImpl.Builder |
setPartitionSpec(String spec) |
UpsertSessionImpl.Builder |
setProjectName(String projectName) |
UpsertSessionImpl.Builder |
setSchemaName(String schemaName) |
UpsertSessionImpl.Builder |
setSlotNum(long slotNum) |
UpsertSessionImpl.Builder |
setTableName(String tableName) |
UpsertSessionImpl.Builder |
setUpsertId(String upsertId) |
public String getUpsertId()
getUpsertId
in interface TableTunnel.UpsertSession.Builder
public UpsertSessionImpl.Builder setUpsertId(String upsertId)
setUpsertId
in interface TableTunnel.UpsertSession.Builder
public String getProjectName()
public UpsertSessionImpl.Builder setProjectName(String projectName)
public String getSchemaName()
getSchemaName
in interface TableTunnel.UpsertSession.Builder
public UpsertSessionImpl.Builder setSchemaName(String schemaName)
setSchemaName
in interface TableTunnel.UpsertSession.Builder
public String getTableName()
public UpsertSessionImpl.Builder setTableName(String tableName)
public String getPartitionSpec()
getPartitionSpec
in interface TableTunnel.UpsertSession.Builder
public UpsertSessionImpl.Builder setPartitionSpec(PartitionSpec spec)
setPartitionSpec
in interface TableTunnel.UpsertSession.Builder
public UpsertSessionImpl.Builder setPartitionSpec(String spec)
setPartitionSpec
in interface TableTunnel.UpsertSession.Builder
public long getSlotNum()
getSlotNum
in interface TableTunnel.UpsertSession.Builder
public UpsertSessionImpl.Builder setSlotNum(long slotNum)
setSlotNum
in interface TableTunnel.UpsertSession.Builder
public ConfigurationImpl getConfig()
public UpsertSessionImpl.Builder setConfig(ConfigurationImpl config)
public UpsertSessionImpl build() throws TunnelException, IOException
build
in interface TableTunnel.UpsertSession.Builder
TunnelException
IOException
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.