Enum Class DataType.Name

java.lang.Object
java.lang.Enum<DataType.Name>
org.apache.cassandra.cql3.functions.types.DataType.Name
All Implemented Interfaces:
Serializable, Comparable<DataType.Name>, Constable
Enclosing class:
DataType

public static enum DataType.Name extends Enum<DataType.Name>
The CQL type name.
  • Enum Constant Details

  • Method Details

    • values

      public static DataType.Name[] 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 DataType.Name 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
    • isCompatibleWith

      public boolean isCompatibleWith(DataType.Name that)
      Return true if the provided Name is equal to this one, or if they are aliases for each other, and false otherwise.
      Parameters:
      that - the Name to compare with the current one.
      Returns:
      true if the provided Name is equal to this one, or if they are aliases for each other, and false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DataType.Name>