public class AlterTableSettings extends RequestSettings<AlterTableSettings>
| Constructor and Description |
|---|
AlterTableSettings() |
| Modifier and Type | Method and Description |
|---|---|
AlterTableSettings |
addChangefeed(Changefeed changefeed) |
AlterTableSettings |
addColumn(String name,
Type type) |
AlterTableSettings |
dropChangefeed(String changefeed) |
AlterTableSettings |
dropColumn(String name) |
void |
forEachAddChangefeed(Consumer<Changefeed> fn) |
void |
forEachAddColumn(BiConsumer<String,Type> fn) |
void |
forEachDropChangefeed(Consumer<String> fn) |
void |
forEachDropColumn(Consumer<String> fn) |
PartitioningSettings |
getPartitioningSettings() |
TtlSettings |
getTtlSettings() |
void |
setPartitioningSettings(PartitioningSettings partitioningSettings) |
void |
setTtlSettings(TtlSettings ttlSettings) |
getCancelAfter, getOperationTimeout, getReportCostInfo, getTimeout, getTimeoutDuration, getTraceId, setCancelAfter, setOperationTimeout, setReportCostInfo, setTimeout, setTimeout, setTraceId, toOperationSettingspublic AlterTableSettings addColumn(String name, Type type)
public AlterTableSettings dropColumn(String name)
public AlterTableSettings addChangefeed(Changefeed changefeed)
public AlterTableSettings dropChangefeed(String changefeed)
public void forEachAddColumn(BiConsumer<String,Type> fn)
public void forEachAddChangefeed(Consumer<Changefeed> fn)
@Nullable public TtlSettings getTtlSettings()
@Nullable public PartitioningSettings getPartitioningSettings()
public void setTtlSettings(@Nullable TtlSettings ttlSettings)
public void setPartitioningSettings(@Nullable PartitioningSettings partitioningSettings)
Copyright © 2023. All rights reserved.