public interface AlterTypeStart extends AlterTypeRenameField
Modifier and Type | Method and Description |
---|---|
BuildableQuery |
addField(CqlIdentifier fieldName,
DataType dataType)
Completes ALTER TYPE by adding a field definition in the ALTER TYPE statement.
|
default BuildableQuery |
addField(String fieldName,
DataType dataType)
Shortcut for
addField(CqlIdentifier.asCql(fieldName),
dataType) . |
BuildableQuery |
alterField(CqlIdentifier fieldName,
DataType dataType)
Completes ALTER TYPE specifying the the type of a field should be changed.
|
default BuildableQuery |
alterField(String fieldName,
DataType dataType)
Shortcut for
alterField(CqlIdentifier.fromCql(columnName,dataType) . |
renameField, renameField
@NonNull BuildableQuery alterField(@NonNull CqlIdentifier fieldName, @NonNull DataType dataType)
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default BuildableQuery alterField(@NonNull String fieldName, @NonNull DataType dataType)
alterField(CqlIdentifier.fromCql(columnName,dataType)
.@NonNull BuildableQuery addField(@NonNull CqlIdentifier fieldName, @NonNull DataType dataType)
To create the data type, use the constants and static methods in DataTypes
, or
SchemaBuilder.udt(CqlIdentifier, boolean)
.
@NonNull default BuildableQuery addField(@NonNull String fieldName, @NonNull DataType dataType)
addField(CqlIdentifier.asCql(fieldName),
dataType)
.Copyright © 2017–2020. All rights reserved.