public class AlterTableSettings extends RequestSettings<AlterTableSettings>
| Constructor and Description |
|---|
AlterTableSettings() |
getCancelAfter, getOperationTimeout, getReportCostInfo, getTimeout, getTimeoutDuration, getTraceId, getTraceIdOrGenerateNew, setCancelAfter, setOperationTimeout, setReportCostInfo, setTimeout, setTimeout, setTraceId, toOperationSettings@Deprecated public AlterTableSettings addColumn(String name, Type type)
public AlterTableSettings addNonnullColumn(String name, Type type)
public AlterTableSettings addNonnullColumn(String name, Type type, String family)
public AlterTableSettings addNullableColumn(String name, Type type)
public AlterTableSettings addNullableColumn(String name, Type type, String family)
public AlterTableSettings dropColumn(String name)
public AlterTableSettings addChangefeed(Changefeed changefeed)
public AlterTableSettings dropChangefeed(String changefeed)
public AlterTableSettings addGlobalIndex(String name, List<String> columns)
public AlterTableSettings addGlobalIndex(String name, List<String> columns, List<String> dataColumns)
public AlterTableSettings addGlobalAsyncIndex(String name, List<String> columns)
public AlterTableSettings addGlobalAsyncIndex(String name, List<String> columns, List<String> dataColumns)
public AlterTableSettings dropIndex(String index)
public AlterTableSettings setTtlSettings(@Nullable TtlSettings ttlSettings)
public AlterTableSettings setPartitioningSettings(@Nullable PartitioningSettings partitioningSettings)
public Collection<TableColumn> getAddColumns()
public Collection<Changefeed> getAddChangefeeds()
public Collection<TableIndex> getAddIndexes()
public Collection<String> getDropColumns()
public Collection<String> getDropChangefeeds()
public Collection<String> getDropIndexes()
@Nullable public TtlSettings getTtlSettings()
@Nullable public PartitioningSettings getPartitioningSettings()
@Deprecated public void forEachAddColumn(BiConsumer<String,Type> fn)
@Deprecated public void forEachDropColumn(Consumer<String> fn)
@Deprecated public void forEachAddChangefeed(Consumer<Changefeed> fn)
@Deprecated public void forEachDropChangefeed(Consumer<String> fn)
Copyright © 2024. All rights reserved.