Class 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 Detail

      • 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 java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object