クラス CreateUserTypeSpecification
java.lang.ObjectSE
org.springframework.data.cassandra.core.cql.keyspace.UserTypeNameSpecification
org.springframework.data.cassandra.core.cql.keyspace.UserTypeSpecification<CreateUserTypeSpecification>
org.springframework.data.cassandra.core.cql.keyspace.CreateUserTypeSpecification
CREATE TYPE
仕様を構成するオブジェクト。- 導入:
- 1.5
- 作成者:
- Fabio J. Mendes, Mark Paluch
- 関連事項:
CqlIdentifier
メソッドのサマリー
修飾子と型メソッド説明static CreateUserTypeSpecification
createType
(com.datastax.oss.driver.api.core.CqlIdentifier name) name
を指定して型を作成するCreateUserTypeSpecification
の Fluent API へのエントリポイント。static CreateUserTypeSpecification
createType
(StringSE name) name
を指定して型を作成するCreateUserTypeSpecification
の Fluent API へのエントリポイント。boolean
IF NOT EXISTS
句の組み込みを有効にします。ifNotExists
(boolean ifNotExists) IF NOT EXISTS
句の組み込みを設定します。クラス org.springframework.data.cassandra.core.cql.keyspace.UserTypeSpecification から継承されたメソッド
field, field, getFields
クラス org.springframework.data.cassandra.core.cql.keyspace.UserTypeNameSpecification から継承されたメソッド
getName
メソッドの詳細
createType
name
を指定して型を作成するCreateUserTypeSpecification
の Fluent API へのエントリポイント。静的にインポートすると便利です。- パラメーター:
name
- null または空であってはなりません。- 戻り値:
- 新しい
CreateUserTypeSpecification
。
createType
public static CreateUserTypeSpecification createType(com.datastax.oss.driver.api.core.CqlIdentifier name) name
を指定して型を作成するCreateUserTypeSpecification
の Fluent API へのエントリポイント。静的にインポートすると便利です。- パラメーター:
name
- null であってはなりません。- 戻り値:
- 新しい
CreateUserTypeSpecification
。
ifNotExists
IF NOT EXISTS
句の組み込みを有効にします。- 戻り値:
- この
CreateUserTypeSpecification
。
ifNotExists
IF NOT EXISTS
句の組み込みを設定します。- パラメーター:
ifNotExists
-IF NOT EXISTS
句を含める場合は true、IF NOT EXISTS
句を省略する場合は false。- 戻り値:
- この
CreateUserTypeSpecification
。
getIfNotExists
public boolean getIfNotExists()- 戻り値:
IF NOT EXISTS
句が含まれている場合は true です。