Enum Class AbstractType.ComparisonType

java.lang.Object
java.lang.Enum<AbstractType.ComparisonType>
org.apache.cassandra.db.marshal.AbstractType.ComparisonType
All Implemented Interfaces:
Serializable, Comparable<AbstractType.ComparisonType>, Constable
Enclosing class:
AbstractType<T>

public static enum AbstractType.ComparisonType extends Enum<AbstractType.ComparisonType>
  • Enum Constant Details

    • NOT_COMPARABLE

      public static final AbstractType.ComparisonType NOT_COMPARABLE
      This type should never be compared
    • BYTE_ORDER

      public static final AbstractType.ComparisonType BYTE_ORDER
      This type is always compared by its sequence of unsigned bytes
    • CUSTOM

      public static final AbstractType.ComparisonType CUSTOM
      This type can only be compared by calling the type's compareCustom() method, which may be expensive. Support for this may be removed in a major release of Cassandra, however upgrade facilities will be provided if and when this happens.
  • Method Details

    • values

      public static AbstractType.ComparisonType[] 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 AbstractType.ComparisonType 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