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.InvalidDataAccessApiUsageException
CassandraType
,
CassandraPersistentProperty
CassandraColumnType resolve(TypeInformation<?> typeInformation)
CassandraColumnType
from TypeInformation
. Considers potentially registered custom
converters and simple type rules.typeInformation
- must not be null.InvalidDataAccessApiUsageException
CassandraSimpleTypeHolder
,
CassandraCustomConversions
CassandraColumnType resolve(CassandraType annotation)
CassandraColumnType
from a CassandraType
annotation.annotation
- must not be null.InvalidDataAccessApiUsageException
CassandraType
,
CassandraPersistentProperty
ColumnType resolve(@Nullable Object value)
ColumnType
from a value
. Considers potentially registered custom converters and simple
type rules.value
- CassandraSimpleTypeHolder
,
CassandraCustomConversions
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.