クラス CreateIndexSpecification
java.lang.ObjectSE
org.springframework.data.cassandra.core.cql.keyspace.IndexNameSpecification<CreateIndexSpecification>
org.springframework.data.cassandra.core.cql.keyspace.CreateIndexSpecification
- 実装されたすべてのインターフェース:
IndexDescriptor
public class CreateIndexSpecification
extends IndexNameSpecification<CreateIndexSpecification>
implements IndexDescriptor
CREATE INDEX
仕様を構成するオブジェクト。- 作成者:
- Matthew T. Adams, David Webb, Mark Paluch
ネストされたクラスのサマリー
ネストされたクラスメソッドのサマリー
修飾子と型メソッド説明columnFunction
(CreateIndexSpecification.ColumnFunction columnFunction) columnName
(com.datastax.oss.driver.api.core.CqlIdentifier columnName) 列名を設定します。columnName
(StringSE columnName) 列名を設定します。static CreateIndexSpecification
インデックスを作成するためのCreateIndexSpecification
の Fluent API へのエントリポイント。static CreateIndexSpecification
createIndex
(com.datastax.oss.driver.api.core.CqlIdentifier indexName) インデックスを作成するためにindexName
が指定されたCreateIndexSpecification
の Fluent API へのエントリポイント。static CreateIndexSpecification
createIndex
(StringSE indexName) インデックスを作成するためにindexName
が指定されたCreateIndexSpecification
の Fluent API へのエントリポイント。entries()
ENTRIES
句が組み込まれます。full()
FULL
句が組み込まれます。com.datastax.oss.driver.api.core.CqlIdentifier
boolean
com.datastax.oss.driver.api.core.CqlIdentifier
インデックスのテーブル名を返しますgetUsing()
IF NOT EXISTS
句が組み込まれます。ifNotExists
(boolean ifNotExists) IF NOT EXISTS
句の組み込みを切り替えます。boolean
isCustom()
keys()
KEYS
句が組み込まれます。tableName
(com.datastax.oss.driver.api.core.CqlIdentifier tableName) テーブル名を設定します。テーブル名を設定します。values()
VALUES
句が組み込まれます。withOption
(StringSE name, StringSE value) キーと値のペアを使用してインデックス作成オプションを構成します。クラス org.springframework.data.cassandra.core.cql.keyspace.IndexNameSpecification から継承されたメソッド
getName
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.data.cassandra.core.cql.keyspace.IndexDescriptor から継承されたメソッド
getName
メソッドの詳細
createIndex
インデックスを作成するためのCreateIndexSpecification
の Fluent API へのエントリポイント。静的にインポートすると便利です。createIndex
インデックスを作成するためにindexName
が指定されたCreateIndexSpecification
の Fluent API へのエントリポイント。静的にインポートすると便利です。- パラメーター:
indexName
- null または空であってはなりません。- 戻り値:
- 新しい
CreateIndexSpecification
。
createIndex
public static CreateIndexSpecification createIndex(com.datastax.oss.driver.api.core.CqlIdentifier indexName) インデックスを作成するためにindexName
が指定されたCreateIndexSpecification
の Fluent API へのエントリポイント。静的にインポートすると便利です。- パラメーター:
indexName
- null であってはなりません。- 戻り値:
- 新しい
CreateIndexSpecification
。
tableName
テーブル名を設定します。- パラメーター:
tableName
- null または空であってはなりません。- 戻り値:
- this
tableName
テーブル名を設定します。- パラメーター:
tableName
- null であってはなりません。- 戻り値:
- this
getTableName
public com.datastax.oss.driver.api.core.CqlIdentifier getTableName()インターフェースからコピーされた説明:IndexDescriptor
インデックスのテーブル名を返します- 次で指定:
- インターフェース
IndexDescriptor
のgetTableName
columnName
列名を設定します。- パラメーター:
columnName
- null または空であってはなりません。- 戻り値:
- this
columnName
public CreateIndexSpecification columnName(com.datastax.oss.driver.api.core.CqlIdentifier columnName) 列名を設定します。- パラメーター:
columnName
- null であってはなりません。- 戻り値:
- this
getColumnName
public com.datastax.oss.driver.api.core.CqlIdentifier getColumnName()- 次で指定:
- インターフェース
IndexDescriptor
のgetColumnName
ifNotExists
IF NOT EXISTS
句が組み込まれます。- 戻り値:
- this
ifNotExists
IF NOT EXISTS
句の組み込みを切り替えます。- 戻り値:
- this
getIfNotExists
public boolean getIfNotExists()isCustom
public boolean isCustom()- 次で指定:
- インターフェース
IndexDescriptor
のisCustom
using
getUsing
- 次で指定:
- インターフェース
IndexDescriptor
のgetUsing
keys
KEYS
句が組み込まれます。- 戻り値:
- this
- 導入:
- 2.0
values
VALUES
句が組み込まれます。- 戻り値:
- this
- 導入:
- 2.0
entries
ENTRIES
句が組み込まれます。- 戻り値:
- this
- 導入:
- 2.0
full
FULL
句が組み込まれます。- 戻り値:
- this
- 導入:
- 2.0
columnFunction
public CreateIndexSpecification columnFunction(CreateIndexSpecification.ColumnFunction columnFunction) - パラメーター:
columnFunction
- 適用する列関数は null であってはなりません。- 戻り値:
- this
- 導入:
- 2.0
getColumnFunction
withOption
キーと値のペアを使用してインデックス作成オプションを構成します。- パラメーター:
name
- オプション名。value
- オプション値。- 戻り値:
- this
- 導入:
- 2.0
getOptions
- 戻り値:
- インデックスオプションマップ。