Class DataType.CustomType
java.lang.Object
org.apache.cassandra.cql3.functions.types.DataType
org.apache.cassandra.cql3.functions.types.DataType.CustomType
- Enclosing class:
- DataType
A "custom" type is a type that cannot be expressed as a CQL type.
Each custom type is merely identified by the fully qualified
#getCustomTypeClassName() class name that represents this type server-side.
The driver provides a minimal support for such types through instances of this class.
A codec for custom types can be obtained via TypeCodec.custom(DataType.CustomType).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.functions.types.DataType
DataType.CollectionType, DataType.CustomType, DataType.Name, DataType.NativeType -
Field Summary
-
Method Summary
Methods inherited from class org.apache.cassandra.cql3.functions.types.DataType
ascii, asFunctionParameterString, bigint, blob, cboolean, cdouble, cfloat, cint, counter, custom, date, decimal, duration, getName, getTypeArguments, inet, isCollection, list, list, map, map, set, set, smallint, text, time, timestamp, timeuuid, tinyint, uuid, varchar, varint, vector
-
Method Details
-
isFrozen
public boolean isFrozen()Description copied from class:DataTypeReturns 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.
-
hashCode
public final int hashCode() -
equals
-
toString
-