public interface ColumnTypeResolver
| Modifier and Type | Method and Description |
|---|---|
default CassandraColumnType |
resolve(CassandraPersistentProperty property)
Resolve a
CassandraColumnType from a CassandraPersistentProperty. |
CassandraColumnType |
resolve(CassandraType annotation)
Resolve a
CassandraColumnType from a CassandraType annotation. |
ColumnType |
resolve(Object value)
Resolve a
ColumnType from a value. |
CassandraColumnType |
resolve(TypeInformation<?> typeInformation)
Resolve a
CassandraColumnType from TypeInformation. |
default CassandraColumnType resolve(CassandraPersistentProperty property)
CassandraColumnType from a CassandraPersistentProperty. Considers
CassandraType-annotated properties.property - must not be null.InvalidDataAccessApiUsageExceptionCassandraType,
CassandraPersistentPropertyCassandraColumnType resolve(TypeInformation<?> typeInformation)
CassandraColumnType from TypeInformation. Considers potentially registered custom
converters and simple type rules.typeInformation - must not be null.InvalidDataAccessApiUsageExceptionCassandraSimpleTypeHolder,
CassandraCustomConversionsCassandraColumnType resolve(CassandraType annotation)
CassandraColumnType from a CassandraType annotation.annotation - must not be null.InvalidDataAccessApiUsageExceptionCassandraType,
CassandraPersistentPropertyColumnType resolve(@Nullable Object value)
ColumnType from a value. Considers potentially registered custom converters and simple
type rules.value - CassandraSimpleTypeHolder,
CassandraCustomConversionsCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.