Uses of Interface
org.springframework.data.cassandra.core.mapping.CassandraPersistentProperty
Package
Description
Spring Data Cassandra specific converter infrastructure.
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
Query derivation mechanism for Apache Cassandra specific repositories.
-
Uses of CassandraPersistentProperty in org.springframework.data.cassandra.core.convert
Modifier and TypeMethodDescriptionQueryMapper.Field.getProperty()
Returns the underlyingCassandraPersistentProperty
backing the field.QueryMapper.MetadataBackedField.getProperty()
Modifier and TypeMethodDescription<T> T
RowValueProvider.getPropertyValue
(CassandraPersistentProperty property) <T> T
TupleValueProvider.getPropertyValue
(CassandraPersistentProperty property) <T> T
UdtValueProvider.getPropertyValue
(CassandraPersistentProperty property) boolean
CassandraValueProvider.hasProperty
(CassandraPersistentProperty property) Returns whether the underlying source contains a data source for the givenCassandraPersistentProperty
.boolean
RowValueProvider.hasProperty
(CassandraPersistentProperty property) boolean
TupleValueProvider.hasProperty
(CassandraPersistentProperty property) boolean
UdtValueProvider.hasProperty
(CassandraPersistentProperty property) default CassandraColumnType
ColumnTypeResolver.resolve
(CassandraPersistentProperty property) Resolve aCassandraColumnType
from aCassandraPersistentProperty
.Modifier and TypeMethodDescriptionCassandraCustomConversions.CassandraConverterConfigurationAdapter.configurePropertyConversions
(Consumer<PropertyValueConverterRegistrar<CassandraPersistentProperty>> configurationAdapter) Gateway to register property specific converters.ModifierConstructorDescriptionCassandraConversionContext
(PropertyValueProvider<CassandraPersistentProperty> accessor, CassandraPersistentProperty persistentProperty, CassandraConverter CassandraConverter) CassandraConversionContext
(PropertyValueProvider<CassandraPersistentProperty> accessor, CassandraPersistentProperty persistentProperty, CassandraConverter CassandraConverter, SpELContext spELContext) MetadataBackedField
(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CassandraPersistentProperty property) Creates a newQueryMapper.MetadataBackedField
with the given name,CassandraPersistentProperty
andMappingContext
with the givenCassandraPersistentProperty
.ModifierConstructorDescriptionCassandraConversionContext
(PropertyValueProvider<CassandraPersistentProperty> accessor, CassandraPersistentProperty persistentProperty, CassandraConverter CassandraConverter) CassandraConversionContext
(PropertyValueProvider<CassandraPersistentProperty> accessor, CassandraPersistentProperty persistentProperty, CassandraConverter CassandraConverter, SpELContext spELContext) MetadataBackedField
(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) Creates a newQueryMapper.MetadataBackedField
with the given name,CassandraPersistentEntity
andMappingContext
.MetadataBackedField
(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CassandraPersistentProperty property) Creates a newQueryMapper.MetadataBackedField
with the given name,CassandraPersistentProperty
andMappingContext
with the givenCassandraPersistentProperty
.SchemaFactory
(MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CustomConversions customConversions, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry) -
Uses of CassandraPersistentProperty in org.springframework.data.cassandra.core.mapping
Modifier and TypeClassDescriptionclass
Cassandra specificAnnotationBasedPersistentProperty
implementation.class
Cassandra Tuple specificCassandraPersistentProperty
implementation.class
BasicCassandraPersistentProperty
that pre-computes primary key and embedded flags.Modifier and TypeMethodDescriptionprotected CassandraPersistentProperty
CassandraMappingContext.createPersistentProperty
(Property property, BasicCassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) BasicCassandraPersistentEntity.getProperty
(Parameter<?, CassandraPersistentProperty> parameter) CassandraPersistentEntity.getProperty
(Parameter<?, CassandraPersistentProperty> parameter) PersistentPropertyTranslator.translate
(CassandraPersistentProperty property) Translate aCassandraPersistentProperty
into a corresponding property from a differentCassandraPersistentEntity
.Modifier and TypeMethodDescriptionprotected Association<CassandraPersistentProperty>
BasicCassandraPersistentProperty.createAssociation()
BasicCassandraPersistentProperty.getAssociation()
Modifier and TypeMethodDescriptionint
CassandraPersistentPropertyComparator.compare
(CassandraPersistentProperty left, CassandraPersistentProperty right) default String
NamingStrategy.getColumnName
(CassandraPersistentProperty property) Create a column name from the givenproperty
.SnakeCaseNamingStrategy.getColumnName
(CassandraPersistentProperty property) UsesPersistentProperty.getName()
and separates camel case parts with '_'.TransformingNamingStrategy.getColumnName
(CassandraPersistentProperty property) EmbeddedEntityOperations.getEntity
(CassandraPersistentProperty property) PersistentPropertyTranslator.translate
(CassandraPersistentProperty property) Translate aCassandraPersistentProperty
into a corresponding property from a differentCassandraPersistentEntity
.Modifier and TypeMethodDescriptionvoid
BasicCassandraPersistentEntity.addAssociation
(Association<CassandraPersistentProperty> association) static PersistentPropertyTranslator
PersistentPropertyTranslator.create
(CassandraPersistentEntity<?> targetEntity, Predicate<CassandraPersistentProperty> translationFilter) Create a newPersistentPropertyTranslator
accepting afilter predicate
whether the translation should happen at all.void
BasicCassandraPersistentEntity.doWithAssociations
(AssociationHandler<CassandraPersistentProperty> handler) BasicCassandraPersistentEntity.getProperty
(Parameter<?, CassandraPersistentProperty> parameter) CassandraPersistentEntity.getProperty
(Parameter<?, CassandraPersistentProperty> parameter) ModifierConstructorDescriptionprotected
BasicCassandraPersistentEntity
(TypeInformation<T> typeInformation, CassandraPersistentEntityMetadataVerifier verifier, Comparator<CassandraPersistentProperty> comparator) Create a newBasicCassandraPersistentEntity
with the givenTypeInformation
.EmbeddedEntityOperations
(MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) -
Uses of CassandraPersistentProperty in org.springframework.data.cassandra.repository.query
Modifier and TypeMethodDescriptionprotected MappingContext<? extends CassandraPersistentEntity<?>,
CassandraPersistentProperty> CassandraRepositoryQuerySupport.getMappingContext()
protected MappingContext<? extends CassandraPersistentEntity<?>,
CassandraPersistentProperty> PartTreeCassandraQuery.getMappingContext()
Returns theMappingContext
used by this query to access mapping meta-data used to store (map) objects to Cassandra tables.protected MappingContext<? extends CassandraPersistentEntity<?>,
CassandraPersistentProperty> ReactivePartTreeCassandraQuery.getMappingContext()
Returns theMappingContext
used by this query to access mapping meta-data used to store (map) objects to Cassandra tables.ModifierConstructorDescriptionCassandraQueryMethod
(Method method, RepositoryMetadata repositoryMetadata, ProjectionFactory projectionFactory, MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newCassandraQueryMethod
from the givenMethod
.CassandraRepositoryQuerySupport
(CassandraQueryMethod queryMethod, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) ReactiveCassandraQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newReactiveCassandraQueryMethod
from the givenMethod
.