Package | Description |
---|---|
org.springframework.data.cassandra.core |
Apache Cassandra core support.
|
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.
|
org.springframework.data.cassandra.repository.support |
Support infrastructure for query derivation of Apache Cassandra specific repositories.
|
Modifier and Type | Method and Description |
---|---|
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
CassandraTemplate.getMappingContext()
Returns the
CassandraMappingContext used by this template to access mapping meta-data used to store (map)
object to Cassandra tables. |
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
ReactiveCassandraTemplate.getMappingContext()
Returns the
CassandraMappingContext used by this template to access mapping meta-data used to store (map)
objects to Cassandra tables. |
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
AsyncCassandraTemplate.getMappingContext()
Returns the
CassandraMappingContext used by this template to access mapping meta-data used to store (map)
objects to Cassandra tables. |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.RegularStatement |
StatementFactory.delete(Query query,
CassandraPersistentEntity<?> entity)
Create a DELETE statement by mapping
Query to Delete . |
com.datastax.driver.core.RegularStatement |
StatementFactory.select(Query query,
CassandraPersistentEntity<?> entity)
Create a SELECT statement by mapping
Query to Select . |
com.datastax.driver.core.RegularStatement |
StatementFactory.update(Query query,
Update updateObj,
CassandraPersistentEntity<?> entity)
|
Modifier and Type | Method and Description |
---|---|
Object |
MappingCassandraConverter.getId(Object object,
CassandraPersistentEntity<?> entity) |
Object |
CassandraConverter.getId(Object object,
CassandraPersistentEntity<?> entity)
Returns the Id for an entity.
|
List<String> |
QueryMapper.getMappedColumnNames(Columns columns,
CassandraPersistentEntity<?> entity)
|
Filter |
QueryMapper.getMappedObject(Filter filter,
CassandraPersistentEntity<?> entity)
|
Update |
UpdateMapper.getMappedObject(Update update,
CassandraPersistentEntity<?> entity)
|
List<Columns.Selector> |
QueryMapper.getMappedSelectors(Columns columns,
CassandraPersistentEntity<?> entity)
|
Sort |
QueryMapper.getMappedSort(Sort sort,
CassandraPersistentEntity<?> entity) |
protected Object |
MappingCassandraConverter.instantiatePrimaryKey(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty keyProperty,
CassandraValueProvider propertyProvider) |
protected <S> S |
MappingCassandraConverter.readEntityFromRow(CassandraPersistentEntity<S> entity,
com.datastax.driver.core.Row row) |
protected <S> S |
MappingCassandraConverter.readEntityFromUdt(CassandraPersistentEntity<S> entity,
com.datastax.driver.core.UDTValue udtValue) |
protected void |
MappingCassandraConverter.readProperties(CassandraPersistentEntity<?> entity,
CassandraValueProvider valueProvider,
PersistentPropertyAccessor propertyAccessor) |
protected void |
MappingCassandraConverter.readPropertiesFromRow(CassandraPersistentEntity<?> entity,
CassandraRowValueProvider row,
PersistentPropertyAccessor propertyAccessor) |
protected void |
MappingCassandraConverter.readProperty(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty property,
CassandraValueProvider valueProvider,
PersistentPropertyAccessor propertyAccessor) |
void |
MappingCassandraConverter.write(Object source,
Object sink,
CassandraPersistentEntity<?> entity) |
void |
CassandraConverter.write(Object source,
Object sink,
CassandraPersistentEntity<?> entity)
|
protected void |
MappingCassandraConverter.writeDeleteWhereFromObject(Object object,
com.datastax.driver.core.querybuilder.Delete.Where where,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeInsertFromWrapper(ConvertingPropertyAccessor accessor,
com.datastax.driver.core.querybuilder.Insert insert,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeSelectWhereFromObject(Object object,
com.datastax.driver.core.querybuilder.Select.Where where,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeUDTValueWhereFromObject(ConvertingPropertyAccessor accessor,
com.datastax.driver.core.UDTValue udtValue,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeUpdateFromObject(Object object,
com.datastax.driver.core.querybuilder.Update update,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeUpdateFromWrapper(ConvertingPropertyAccessor accessor,
com.datastax.driver.core.querybuilder.Update update,
CassandraPersistentEntity<?> entity) |
Constructor and Description |
---|
MetadataBackedField(ColumnName name,
CassandraPersistentEntity<?> entity,
MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> mappingContext)
Creates a new
QueryMapper.MetadataBackedField with the given name, CassandraPersistentEntity and
MappingContext . |
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 . |
Constructor and Description |
---|
MetadataBackedField(ColumnName name,
CassandraPersistentEntity<?> entity,
MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> mappingContext)
Creates a new
QueryMapper.MetadataBackedField with the given name, CassandraPersistentEntity and
MappingContext . |
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 |
BasicCassandraPersistentEntity<T>
Cassandra specific
BasicPersistentEntity implementation that adds Cassandra specific metadata. |
class |
CassandraUserTypePersistentEntity<T>
PersistentEntity for a mapped user-defined type (UDT). |
Modifier and Type | Method and Description |
---|---|
CassandraPersistentEntity<?> |
BasicCassandraPersistentProperty.getOwner() |
Modifier and Type | Method and Description |
---|---|
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getUserDefinedTypeEntities()
Returns only those entities representing a user defined type.
|
Modifier and Type | Method and Description |
---|---|
List<CreateIndexSpecification> |
CassandraMappingContext.getCreateIndexSpecificationsFor(CassandraPersistentEntity<?> entity) |
CreateTableSpecification |
CassandraMappingContext.getCreateTableSpecificationFor(CassandraPersistentEntity<?> entity)
Returns a
CreateTableSpecification for the given entity, including all mapping information. |
CreateUserTypeSpecification |
CassandraMappingContext.getCreateUserTypeSpecificationFor(CassandraPersistentEntity<?> entity)
Returns a
CreateUserTypeSpecification for the given entity, including all mapping information. |
void |
PrimaryKeyClassEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
void |
CassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity)
Performs verification on the Persistent Entity to ensure all markers and marker combinations are valid.
|
void |
CompositeCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
void |
BasicCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
Constructor and Description |
---|
BasicCassandraPersistentProperty(Property property,
CassandraPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder)
Create a new
BasicCassandraPersistentProperty . |
BasicCassandraPersistentProperty(Property property,
CassandraPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder,
UserTypeResolver userTypeResolver)
Create a new
BasicCassandraPersistentProperty . |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
Collection<MappingException> exceptions)
Create a new
VerifierMappingExceptions for the given entity and message. |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
String message)
Create a new
VerifierMappingExceptions for the given entity and message. |
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 . |
ReactiveCassandraQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory projectionFactory,
MappingContext<? extends CassandraPersistentEntity<?>,? extends CassandraPersistentProperty> mappingContext)
Create a new
ReactiveCassandraQueryMethod from the given Method . |
Constructor and Description |
---|
MappingCassandraEntityInformation(CassandraPersistentEntity<T> entity,
CassandraConverter converter)
Create a new
MappingCassandraEntityInformation for the given CassandraPersistentEntity . |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.