Class AlterColumnSpecification


public class AlterColumnSpecification extends ColumnTypeChangeSpecification
Value object representing a specification to alter a column.
Author:
Matthew T. Adams, Mark Paluch
See Also:
  • CqlIdentifier
  • Method Details

    • alterColumn

      public static AlterColumnSpecification alterColumn(String name, com.datastax.oss.driver.api.core.type.DataType type)
      Entry point into the AlterColumnSpecification's fluent API given name and DataType to alter a column. Convenient if imported statically.
      Parameters:
      name - must not be null or empty.
      type - must not be null.
      Returns:
      a new AlterColumnSpecification.
    • alterColumn

      public static AlterColumnSpecification alterColumn(com.datastax.oss.driver.api.core.CqlIdentifier name, com.datastax.oss.driver.api.core.type.DataType type)
      Entry point into the AlterColumnSpecification's fluent API given name and DataType to alter a column. Convenient if imported statically.
      Parameters:
      name - must not be null.
      type - must not be null.
      Returns:
      a new AlterColumnSpecification.