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

public abstract class ColumnTypeChangeSpecification extends ColumnChangeSpecification
Base value object class for column changes that include DataType information.
Author:
Matthew T. Adams
See Also:
  • Constructor Details

    • ColumnTypeChangeSpecification

      protected ColumnTypeChangeSpecification(com.datastax.oss.driver.api.core.CqlIdentifier name, com.datastax.oss.driver.api.core.type.DataType type)
      Create a new ColumnTypeChangeSpecification for the given name and DataType
      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.