public interface AlterTableStart extends AlterTableWithOptions, AlterTableAddColumn, AlterTableDropColumn, AlterTableRenameColumn
Modifier and Type | Method and Description |
---|---|
BuildableQuery |
alterColumn(CqlIdentifier columnName,
DataType dataType)
Completes ALTER TABLE specifying the the type of a column should be changed.
|
default BuildableQuery |
alterColumn(String columnName,
DataType dataType)
Shortcut for
alterColumn(CqlIdentifier.fromCql(columnName,dataType) . |
BuildableQuery |
dropCompactStorage()
Completes ALTER TABLE specifying that compact storage should be removed from the table.
|
withBloomFilterFpChance, withCaching, withCDC, withComment, withCompaction, withCompression, withCompression, withDcLocalReadRepairChance, withDefaultTimeToLiveSeconds, withDeflateCompression, withDeflateCompression, withGcGraceSeconds, withLZ4Compression, withLZ4Compression, withMaxIndexInterval, withMemtableFlushPeriodInMs, withMinIndexInterval, withNoCompression, withReadRepairChance, withSnappyCompression, withSnappyCompression, withSpeculativeRetry
getOptions, withOption
addColumn, addColumn, addStaticColumn, addStaticColumn
dropColumn, dropColumn, dropColumns, dropColumns
renameColumn, renameColumn
@NonNull BuildableQuery dropCompactStorage()
@NonNull BuildableQuery alterColumn(@NonNull CqlIdentifier columnName, @NonNull DataType dataType)
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default BuildableQuery alterColumn(@NonNull String columnName, @NonNull DataType dataType)
alterColumn(CqlIdentifier.fromCql(columnName,dataType)
.Copyright © 2017–2019. All rights reserved.