Module spring.data.cassandra
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.DataTypeReturns theDataTypeassociated with this column type.default booleanReturns whether the associatedDataTypeis aTupleType.default booleanReturns whether the associatedDataTypeis 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 theDataTypeassociated with this column type.- Returns:
- Throws:
MappingException- if the column cannot be mapped onto a Cassandra type.
-
isTupleType
default boolean isTupleType()Returns whether the associatedDataTypeis aTupleType.- Returns:
-
isUserDefinedType
default boolean isUserDefinedType()Returns whether the associatedDataTypeis aUserDefinedType.- Returns:
-