列挙型クラス RingMemberHostMapper

java.lang.ObjectSE
java.lang.EnumSE<RingMemberHostMapper>
org.springframework.data.cassandra.core.cql.RingMemberHostMapper
実装されたすべてのインターフェース:
SerializableSEComparableSE<RingMemberHostMapper>ConstableSEHostMapper<RingMember>

public enum RingMemberHostMapper extends EnumSE<RingMemberHostMapper> implements HostMapper<RingMember>
HostMapper はホストを RingMember オブジェクトにマップします。
作成者:
David Webb, Mark Paluch
  • 列挙型定数の詳細

  • メソッドの詳細

    • values

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

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

      public CollectionSE<RingMember> mapHosts(IterableSE<com.datastax.oss.driver.api.core.metadata.Node> hosts) throws com.datastax.oss.driver.api.core.DriverException
      インターフェースからコピーされた説明: HostMapper
      実装では、各 Node をマップするためにこのメソッドを実装する必要があります。
      次で指定:
      インターフェース HostMapper<RingMember>mapHosts 
      パラメーター:
      hosts - マップする NodeIterableSE は null であってはなりません。
      戻り値:
      指定されたホストの結果オブジェクト。
      例外:
      com.datastax.oss.driver.api.core.DriverException - DriverException がマッピング値に遭遇した場合 (つまり、DriverException をキャッチする必要はありません)。