public static class DataType.CustomType extends DataType
Each custom type is merely identified by the fully qualified 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)
.
DataType.CollectionType, DataType.CustomType, DataType.Name, DataType.NativeType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCustomTypeClassName()
Returns the fully qualified name of the subtype of
org.apache.cassandra.db.marshal.AbstractType that represents this type server-side. |
int |
hashCode() |
boolean |
isFrozen()
Returns whether this data type is frozen.
|
String |
toString() |
allPrimitiveTypes, ascii, asFunctionParameterString, bigint, blob, cboolean, cdouble, cfloat, cint, counter, custom, date, decimal, duration, frozenList, frozenMap, frozenSet, getName, getTypeArguments, inet, isCollection, list, list, map, map, set, set, smallint, text, time, timestamp, timeuuid, tinyint, uuid, varchar, varint
public boolean isFrozen()
DataType
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.
public String getCustomTypeClassName()
org.apache.cassandra.db.marshal.AbstractType
that represents this type server-side.org.apache.cassandra.db.marshal.AbstractType
that represents this type server-side.Copyright © 2012–2024. All rights reserved.