Class ColumnTypeChangeSpecification
java.lang.Object
org.springframework.data.cassandra.core.cql.keyspace.ColumnChangeSpecification
org.springframework.data.cassandra.core.cql.keyspace.ColumnTypeChangeSpecification
- Direct Known Subclasses:
AddColumnSpecification
,AlterColumnSpecification
Base value object class for column changes that include
DataType
information.- Author:
- Matthew T. Adams
- See Also:
-
Field Summary
Fields inherited from class org.springframework.data.cassandra.core.cql.keyspace.ColumnChangeSpecification
name
-
Constructor Summary
ModifierConstructorDescriptionprotected
ColumnTypeChangeSpecification
(com.datastax.oss.driver.api.core.CqlIdentifier name, com.datastax.oss.driver.api.core.type.DataType type) -
Method Summary
Methods inherited from class org.springframework.data.cassandra.core.cql.keyspace.ColumnChangeSpecification
getName
-
Constructor Details
-
ColumnTypeChangeSpecification
protected ColumnTypeChangeSpecification(com.datastax.oss.driver.api.core.CqlIdentifier name, com.datastax.oss.driver.api.core.type.DataType type) - Parameters:
name
- must not be null.type
- must not be null.
-
-
Method Details
-
getType
public com.datastax.oss.driver.api.core.type.DataType getType()- Returns:
- the DataType.
-