Package | Description |
---|---|
org.springframework.data.cassandra.core.convert |
Spring Data Cassandra specific converter infrastructure.
|
org.springframework.data.cassandra.core.mapping |
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
|
org.springframework.data.cassandra.repository.query |
Query derivation mechanism for Apache Cassandra specific repositories.
|
Modifier and Type | Method and Description |
---|---|
Optional<CassandraPersistentProperty> |
QueryMapper.Field.getProperty()
Returns the underlying
CassandraPersistentProperty backing the field. |
Optional<CassandraPersistentProperty> |
QueryMapper.MetadataBackedField.getProperty() |
Modifier and Type | Method and Description |
---|---|
<T> T |
TupleValueProvider.getPropertyValue(CassandraPersistentProperty property) |
<T> T |
UdtValueProvider.getPropertyValue(CassandraPersistentProperty property) |
<T> T |
RowValueProvider.getPropertyValue(CassandraPersistentProperty property) |
boolean |
CassandraValueProvider.hasProperty(CassandraPersistentProperty property)
Returns whether the underlying source contains a data source for the given
CassandraPersistentProperty . |
boolean |
TupleValueProvider.hasProperty(CassandraPersistentProperty property) |
boolean |
UdtValueProvider.hasProperty(CassandraPersistentProperty property) |
boolean |
RowValueProvider.hasProperty(CassandraPersistentProperty property) |
default CassandraColumnType |
ColumnTypeResolver.resolve(CassandraPersistentProperty property)
Resolve a
CassandraColumnType from a CassandraPersistentProperty . |
Constructor and Description |
---|
MetadataBackedField(ColumnName name,
CassandraPersistentEntity<?> entity,
MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> mappingContext,
CassandraPersistentProperty property)
Creates a new
QueryMapper.MetadataBackedField with the given name, CassandraPersistentProperty and
MappingContext with the given CassandraPersistentProperty . |
Modifier and Type | Class and Description |
---|---|
class |
BasicCassandraPersistentProperty
Cassandra specific
AnnotationBasedPersistentProperty implementation. |
class |
BasicCassandraPersistentTupleProperty
Cassandra Tuple specific
CassandraPersistentProperty implementation. |
class |
CachingCassandraPersistentProperty
BasicCassandraPersistentProperty that pre-computes primary key and embedded flags. |
Modifier and Type | Method and Description |
---|---|
protected CassandraPersistentProperty |
CassandraMappingContext.createPersistentProperty(Property property,
BasicCassandraPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
Modifier and Type | Method and Description |
---|---|
protected Association<CassandraPersistentProperty> |
BasicCassandraPersistentProperty.createAssociation() |
Association<CassandraPersistentProperty> |
BasicCassandraPersistentProperty.getAssociation() |
Modifier and Type | Method and Description |
---|---|
int |
CassandraPersistentPropertyComparator.compare(CassandraPersistentProperty left,
CassandraPersistentProperty right) |
String |
SnakeCaseNamingStrategy.getColumnName(CassandraPersistentProperty property)
Uses
PersistentProperty.getName() and separates camel case parts with '_'. |
String |
TransformingNamingStrategy.getColumnName(CassandraPersistentProperty property) |
default String |
NamingStrategy.getColumnName(CassandraPersistentProperty property)
Create a column name from the given
property . |
CassandraPersistentEntity<?> |
EmbeddedEntityOperations.getEntity(CassandraPersistentProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
BasicCassandraPersistentEntity.addAssociation(Association<CassandraPersistentProperty> association) |
void |
BasicCassandraPersistentEntity.doWithAssociations(AssociationHandler<CassandraPersistentProperty> handler) |
Constructor and Description |
---|
BasicCassandraPersistentEntity(TypeInformation<T> typeInformation,
CassandraPersistentEntityMetadataVerifier verifier,
Comparator<CassandraPersistentProperty> comparator)
Create a new
BasicCassandraPersistentEntity with the given TypeInformation . |
EmbeddedEntityOperations(MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> mappingContext) |
Modifier and Type | Method and Description |
---|---|
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
ReactivePartTreeCassandraQuery.getMappingContext()
Returns the
MappingContext used by this query to access mapping meta-data used to store (map) objects to
Cassandra tables. |
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
PartTreeCassandraQuery.getMappingContext()
Returns the
MappingContext used by this query to access mapping meta-data used to store (map) objects to
Cassandra tables. |
Constructor and Description |
---|
CassandraQueryMethod(Method method,
RepositoryMetadata repositoryMetadata,
ProjectionFactory projectionFactory,
MappingContext<? extends CassandraPersistentEntity<?>,? extends CassandraPersistentProperty> mappingContext)
Create a new
CassandraQueryMethod from the given Method . |
CassandraRepositoryQuerySupport(CassandraQueryMethod queryMethod,
MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> mappingContext)
|
ReactiveCassandraQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory projectionFactory,
MappingContext<? extends CassandraPersistentEntity<?>,? extends CassandraPersistentProperty> mappingContext)
Create a new
ReactiveCassandraQueryMethod from the given Method . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.