public interface AlterDseTableAddColumn
Modifier and Type | Method and Description |
---|---|
AlterDseTableAddColumnEnd |
addColumn(CqlIdentifier columnName,
DataType dataType)
Adds a column definition in the ALTER TABLE statement.
|
default AlterDseTableAddColumnEnd |
addColumn(String columnName,
DataType dataType)
Shortcut for
addColumn(CqlIdentifier.asCql(columnName), dataType) . |
AlterDseTableAddColumnEnd |
addStaticColumn(CqlIdentifier columnName,
DataType dataType)
Adds a static column definition in the ALTER TABLE statement.
|
default AlterDseTableAddColumnEnd |
addStaticColumn(String columnName,
DataType dataType)
|
@NonNull AlterDseTableAddColumnEnd addColumn(@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 AlterDseTableAddColumnEnd addColumn(@NonNull String columnName, @NonNull DataType dataType)
addColumn(CqlIdentifier.asCql(columnName), dataType)
.@NonNull AlterDseTableAddColumnEnd addStaticColumn(@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 AlterDseTableAddColumnEnd addStaticColumn(@NonNull String columnName, @NonNull DataType dataType)
Copyright © 2017–2022. All rights reserved.