クラス AlterUserTypeSpecification

java.lang.ObjectSE
org.springframework.data.cassandra.core.cql.keyspace.UserTypeNameSpecification
org.springframework.data.cassandra.core.cql.keyspace.AlterUserTypeSpecification

public class AlterUserTypeSpecification extends UserTypeNameSpecification
ALTER TYPE 仕様を構成するオブジェクト。
導入:
1.5
作成者:
Fabio J. Mendes, Mark Paluch
関連事項:
  • CqlIdentifier
  • メソッドの詳細

    • alterType

      public static AlterUserTypeSpecification alterType(StringSE typeName)
      ユーザー型を変更するための typeName が指定された AlterColumnSpecification の Fluent API へのエントリポイント。静的にインポートすると便利です。
      パラメーター:
      typeName - null または空であってはなりません。
      戻り値:
      新しい AlterUserTypeSpecification
    • add

      public AlterUserTypeSpecification add(StringSE field, com.datastax.oss.driver.api.core.type.DataType type)
      フィールド変更のリストに ADD を追加します。
      パラメーター:
      field - null または空であってはなりません。
      type - null であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • add

      public AlterUserTypeSpecification add(com.datastax.oss.driver.api.core.CqlIdentifier field, com.datastax.oss.driver.api.core.type.DataType type)
      フィールド変更のリストに ADD を追加します。
      パラメーター:
      field - null であってはなりません。
      type - null であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • alter

      public AlterUserTypeSpecification alter(StringSE field, com.datastax.oss.driver.api.core.type.DataType type)
      フィールド変更のリストに ALTER を追加します。
      パラメーター:
      field - null または空であってはなりません。
      type - null であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • alter

      public AlterUserTypeSpecification alter(com.datastax.oss.driver.api.core.CqlIdentifier field, com.datastax.oss.driver.api.core.type.DataType type)
      フィールド変更のリストに ALTER を追加します。
      パラメーター:
      field - null であってはなりません。
      type - null であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • rename

      public AlterUserTypeSpecification rename(StringSE from, StringSE to)
      フィールド変更のリストに RENAME を追加します。
      パラメーター:
      from - null または空であってはなりません。
      to - null または空であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • rename

      public AlterUserTypeSpecification rename(com.datastax.oss.driver.api.core.CqlIdentifier from, com.datastax.oss.driver.api.core.CqlIdentifier to)
      フィールド変更のリストに RENAME を追加します。
      パラメーター:
      from - null であってはなりません。
      to - null または空であってはなりません。
      戻り値:
      this AlterUserTypeSpecification
    • getChanges

      public ListSE<ColumnChangeSpecification> getChanges()
      戻り値:
      フィールド変更の変更不可能なリスト。