Interface CassandraColumnType
- All Superinterfaces:
ColumnType
Descriptor for a Cassandra column type exposing a
DataType
.- Since:
- 3.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptioncom.datastax.oss.driver.api.core.type.DataType
Returns theDataType
associated with this column type.default boolean
Returns whether the associatedDataType
is aTupleType
.default boolean
Returns whether the associatedDataType
is aUserDefinedType
.Methods inherited from interface org.springframework.data.cassandra.core.convert.ColumnType
getComponentType, getMapValueType, getRequiredComponentType, getRequiredMapValueType, getType, isCollectionLike, isList, isMap, isSet
-
Method Details
-
getDataType
com.datastax.oss.driver.api.core.type.DataType getDataType()Returns theDataType
associated with this column type.- Returns:
- Throws:
MappingException
- if the column cannot be mapped onto a Cassandra type.
-
isTupleType
default boolean isTupleType()Returns whether the associatedDataType
is aTupleType
.- Returns:
-
isUserDefinedType
default boolean isUserDefinedType()Returns whether the associatedDataType
is aUserDefinedType
.- Returns:
-