クラス 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
  • メソッドの詳細

    • createIndex

      public static CreateIndexSpecification createIndex()
      インデックスを作成するための CreateIndexSpecification の Fluent API へのエントリポイント。静的にインポートすると便利です。
    • createIndex

      public static CreateIndexSpecification createIndex(StringSE indexName)
      インデックスを作成するために 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

      public CreateIndexSpecification tableName(StringSE tableName)
      テーブル名を設定します。
      パラメーター:
      tableName - null または空であってはなりません。
      戻り値:
      this
    • tableName

      public CreateIndexSpecification tableName(com.datastax.oss.driver.api.core.CqlIdentifier tableName)
      テーブル名を設定します。
      パラメーター:
      tableName - null であってはなりません。
      戻り値:
      this
    • getTableName

      public com.datastax.oss.driver.api.core.CqlIdentifier getTableName()
      インターフェースからコピーされた説明: IndexDescriptor
      インデックスのテーブル名を返します
      次で指定:
      インターフェース IndexDescriptorgetTableName 
    • columnName

      public CreateIndexSpecification columnName(StringSE 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()
      次で指定:
      インターフェース IndexDescriptorgetColumnName 
    • ifNotExists

      public CreateIndexSpecification ifNotExists()
      IF NOT EXISTS 句が組み込まれます。
      戻り値:
      this
    • ifNotExists

      public CreateIndexSpecification ifNotExists(boolean ifNotExists)
      IF NOT EXISTS 句の組み込みを切り替えます。
      戻り値:
      this
    • getIfNotExists

      public boolean getIfNotExists()
    • isCustom

      public boolean isCustom()
      次で指定:
      インターフェース IndexDescriptorisCustom 
    • using

      public CreateIndexSpecification using(StringSE className)
    • getUsing

      @Nullable public StringSE getUsing()
      次で指定:
      インターフェース IndexDescriptorgetUsing 
    • keys

      public CreateIndexSpecification keys()
      KEYS 句が組み込まれます。
      戻り値:
      this
      導入:
      2.0
    • values

      public CreateIndexSpecification values()
      VALUES 句が組み込まれます。
      戻り値:
      this
      導入:
      2.0
    • entries

      public CreateIndexSpecification entries()
      ENTRIES 句が組み込まれます。
      戻り値:
      this
      導入:
      2.0
    • full

      public CreateIndexSpecification full()
      FULL 句が組み込まれます。
      戻り値:
      this
      導入:
      2.0
    • columnFunction

      public CreateIndexSpecification columnFunction(CreateIndexSpecification.ColumnFunction columnFunction)
      KEYS(…)ENTRIES(…) などの CreateIndexSpecification.ColumnFunction を設定します。
      パラメーター:
      columnFunction - 適用する列関数は null であってはなりません。
      戻り値:
      this
      導入:
      2.0
    • getColumnFunction

      public CreateIndexSpecification.ColumnFunction getColumnFunction()
    • withOption

      public CreateIndexSpecification withOption(StringSE name, StringSE value)
      キーと値のペアを使用してインデックス作成オプションを構成します。
      パラメーター:
      name - オプション名。
      value - オプション値。
      戻り値:
      this
      導入:
      2.0
    • getOptions

      public MapSE<StringSE,StringSE> getOptions()
      戻り値:
      インデックスオプションマップ。