Enum Class SASI.IndexMode

java.lang.Object
java.lang.Enum<SASI.IndexMode>
org.springframework.data.cassandra.core.mapping.SASI.IndexMode
All Implemented Interfaces:
Serializable, Comparable<SASI.IndexMode>, Constable
Enclosing class:
SASI

public static enum SASI.IndexMode extends Enum<SASI.IndexMode>
  • Enum Constant Details

    • PREFIX

      public static final SASI.IndexMode PREFIX
      Allows prefix queries.
    • CONTAINS

      public static final SASI.IndexMode CONTAINS
      Allows prefix, suffix and substring queries.
    • SPARSE

      public static final SASI.IndexMode SPARSE
      SPARSE mode is optimized for low-cardinality e.g. for indexed values having 5 or less corresponding rows.
  • Method Details

    • values

      public static SASI.IndexMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SASI.IndexMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null