Class Alter.AlterColumn
- java.lang.Object
-
- com.datastax.driver.core.schemabuilder.Alter.AlterColumn
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaStatementtype(DataType type)Define the new type of the altered column.SchemaStatementudtType(UDTType udtType)Define the new type of the altered column, when that type contains a UDT.
-
-
-
Method Detail
-
type
public SchemaStatement type(DataType type)
Define the new type of the altered column.- Parameters:
type- the new type of the altered column.- Returns:
- the final statement.
-
udtType
public SchemaStatement udtType(UDTType udtType)
Define the new type of the altered column, when that type contains a UDT.- Parameters:
udtType- the UDT type. UseSchemaBuilder.frozen(String)orSchemaBuilder.udtLiteral(String).- Returns:
- the final statement.
-
-