Class DataType.NativeType

java.lang.Object
org.apache.cassandra.cql3.functions.types.DataType
org.apache.cassandra.cql3.functions.types.DataType.NativeType
Enclosing class:
DataType

public static class DataType.NativeType extends DataType
Instances of this class represent CQL native types, also known as CQL primitive types.
  • Method Details

    • isFrozen

      public boolean isFrozen()
      Description copied from class: DataType
      Returns whether this data type is frozen.

      This applies to User Defined Types, tuples and nested collections. Frozen types are serialized as a single value in Cassandra's storage engine, whereas non-frozen types are stored in a form that allows updates to individual subfields.

      Specified by:
      isFrozen in class DataType
      Returns:
      whether this data type is frozen.
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object