Uses of Interface
org.springframework.data.cassandra.core.convert.ColumnType
Packages that use ColumnType
Package
Description
Spring Data Cassandra specific converter infrastructure.
-
Uses of ColumnType in org.springframework.data.cassandra.core.convert
Subinterfaces of ColumnType in org.springframework.data.cassandra.core.convertModifier and TypeInterfaceDescriptioninterfaceDescriptor for a Cassandra column type exposing aDataType.Methods in org.springframework.data.cassandra.core.convert that return ColumnTypeModifier and TypeMethodDescriptionstatic ColumnTypeCreates aColumnTypefor aClass.static ColumnTypeColumnType.create(TypeInformation<?> type) Creates aColumnTypefor aTypeInformation.ColumnType.getComponentType()Returns the component type forCollections or the key type forMaps.ColumnType.getMapValueType()Returns the map value type in case the underlying type is aMap.default ColumnTypeColumnType.getRequiredComponentType()Returns the component type forCollections, the key type forMaps or the single generic type if available.default ColumnTypeColumnType.getRequiredMapValueType()Returns the map value type in case the underlying type is aMap. or throwIllegalStateExceptionif the map value type cannot be resolved.static ColumnTypeColumnType.listOf(ColumnType componentType) Creates a ListColumnTypegiven itscomponent type.static ColumnTypeColumnType.mapOf(ColumnType keyType, ColumnType valueType) Creates a MapColumnTypegiven itskey and value types.Resolve aColumnTypefrom avalue.static ColumnTypeColumnType.setOf(ColumnType componentType) Creates a SetColumnTypegiven itscomponent type.Methods in org.springframework.data.cassandra.core.convert with parameters of type ColumnTypeModifier and TypeMethodDescriptionCassandraConverter.convertToColumnType(Object value, ColumnType typeDescriptor) Converts the given object into a value Cassandra will be able to store natively in a column.MappingCassandraConverter.convertToColumnType(Object value, ColumnType columnType) static ColumnTypeColumnType.listOf(ColumnType componentType) Creates a ListColumnTypegiven itscomponent type.static ColumnTypeColumnType.mapOf(ColumnType keyType, ColumnType valueType) Creates a MapColumnTypegiven itskey and value types.static ColumnTypeColumnType.setOf(ColumnType componentType) Creates a SetColumnTypegiven itscomponent type.