列挙型クラス Query.Idempotency

java.lang.ObjectSE
java.lang.EnumSE<Query.Idempotency>
org.springframework.data.cassandra.repository.Query.Idempotency
実装されたすべてのインターフェース:
SerializableSEComparableSE<Query.Idempotency>ConstableSE
含まれているクラス:
Query

public static enum Query.Idempotency extends EnumSE<Query.Idempotency>
ステートメントの冪等性を定義する列挙体。
導入:
2.2
  • 列挙型定数の詳細

    • UNDEFINED

      public static final Query.Idempotency UNDEFINED
      未定義の状態 (すべての非 SELECT ステートメントのデフォルト)。Statement.setIdempotent(Boolean) 状態は変更されません。
    • IDEMPOTENT

      public static final Query.Idempotency IDEMPOTENT
      ステートメントはべき等であると見なされます。
    • NON_IDEMPOTENT

      public static final Query.Idempotency NON_IDEMPOTENT
      ステートメントは非べき等であるとみなされます。Statement.setIdempotent(Boolean) を false に設定します。
  • メソッドの詳細

    • values

      public static Query.Idempotency[] values()
      この列挙型クラスの定数を含む配列を、宣言されている順序で返します。
      戻り値:
      この列挙型クラスの定数を宣言された順序で含む配列
    • valueOf

      public static Query.Idempotency valueOf(StringSE name)
      指定された名前でこのクラスの列挙型定数を返します。文字列は、このクラスで列挙型定数を宣言するために使用される識別子と正確に一致する必要があります。(余分な空白文字は許可されません。)
      パラメーター:
      name - 返される列挙定数の名前。
      戻り値:
      指定された名前の列挙定数
      例外:
      IllegalArgumentExceptionSE - この列挙型クラスに指定された名前の定数がない場合
      NullPointerExceptionSE - 引数が null の場合