Package | Description |
---|---|
org.springframework.data.cassandra.convert |
Spring Data Cassandra specific converter infrastructure.
|
org.springframework.data.cassandra.core |
Apache Cassandra core support.
|
org.springframework.data.cassandra.mapping |
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
|
org.springframework.data.cassandra.repository.support |
Support infrastructure for query derivation of Apache Cassandra specific repositories.
|
org.springframework.data.cassandra.util |
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.
|
protected Object |
MappingCassandraConverter.instantiatePrimaryKey(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty keyProperty,
PropertyValueProvider<CassandraPersistentProperty> 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) |
protected void |
MappingCassandraConverter.readPropertyFromRow(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty property,
CassandraRowValueProvider 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.writeInsertFromObject(Object object,
com.datastax.driver.core.querybuilder.Insert insert,
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
CassandraTemplate.appendIdCriteria(CassandraTemplate.ClauseCallback clauseCallback,
CassandraPersistentEntity<?> entity,
Map<?,?> id)
Deprecated.
|
protected void |
CassandraTemplate.appendIdCriteria(CassandraTemplate.ClauseCallback clauseCallback,
CassandraPersistentEntity<?> entity,
Object id)
Deprecated.
|
protected void |
CassandraTemplate.appendIdCriteria(com.datastax.driver.core.querybuilder.Delete.Where where,
CassandraPersistentEntity<?> entity,
Object id)
Deprecated.
|
protected void |
CassandraTemplate.appendIdCriteria(com.datastax.driver.core.querybuilder.Select.Where where,
CassandraPersistentEntity<?> entity,
Object id)
Deprecated.
|
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 | Field and Description |
---|---|
protected Map<Class<?>,CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.entitiesByType |
protected Map<CqlIdentifier,Set<CassandraPersistentEntity<?>>> |
BasicCassandraMappingContext.entitySetsByTableName |
protected Set<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.primaryKeyEntities |
protected Set<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.tableEntities |
protected Set<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.userDefinedTypes |
Modifier and Type | Method and Description |
---|---|
protected CassandraPersistentEntity<?> |
BasicCassandraMappingContext.addPersistentEntity(TypeInformation<?> typeInformation) |
protected <T> CassandraPersistentEntity<T> |
BasicCassandraMappingContext.createPersistentEntity(TypeInformation<T> typeInformation) |
CassandraPersistentEntity<?> |
CassandraPersistentProperty.getCompositePrimaryKeyEntity()
Returns a
CassandraPersistentEntity representing the composite primary key class of this entity, or null if
this class does not use a composite primary key. |
CassandraPersistentEntity<?> |
BasicCassandraPersistentProperty.getCompositePrimaryKeyEntity() |
CassandraPersistentEntity<?> |
CassandraMappingContext.getExistingPersistentEntity(Class<?> type)
Returns the existing
CassandraPersistentEntity for the given Class . |
CassandraPersistentEntity<?> |
BasicCassandraMappingContext.getExistingPersistentEntity(Class<?> type) |
CassandraPersistentEntity<?> |
CassandraPersistentProperty.getOwner() |
CassandraPersistentEntity<?> |
BasicCassandraPersistentProperty.getOwner() |
Modifier and Type | Method and Description |
---|---|
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getNonPrimaryKeyEntities()
Deprecated.
as of 1.5, use
CassandraMappingContext.getTableEntities() . |
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getNonPrimaryKeyEntities() |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPersistentEntities()
Returns only those entities that don't represent primary key types.
|
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPersistentEntities(boolean includePrimaryKeyTypesAndUdts)
Returns all persistent entities or only non-primary-key entities.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getPersistentEntities(boolean includePrimaryKeyTypesAndUdts) |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPrimaryKeyEntities()
Deprecated.
as of 1.5
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getPrimaryKeyEntities() |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getTableEntities()
Returns only
Table entities. |
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getTableEntities() |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getUserDefinedTypeEntities()
Returns only those entities representing a user defined type.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getUserDefinedTypeEntities() |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicCassandraPersistentProperty.addCompositePrimaryKeyColumnNames(CassandraPersistentEntity<?> compositePrimaryKeyEntity,
List<CqlIdentifier> columnNames) |
protected void |
BasicCassandraPersistentEntity.addCompositePrimaryKeyProperties(CassandraPersistentEntity<?> compositePrimaryKeyEntity,
List<CassandraPersistentProperty> properties) |
CassandraPersistentProperty |
BasicCassandraMappingContext.createPersistentProperty(Field field,
PropertyDescriptor descriptor,
CassandraPersistentEntity<?> owner,
CassandraSimpleTypeHolder simpleTypeHolder) |
CassandraPersistentProperty |
BasicCassandraMappingContext.createPersistentProperty(Field field,
PropertyDescriptor descriptor,
CassandraPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
CreateTableSpecification |
CassandraMappingContext.getCreateTableSpecificationFor(CassandraPersistentEntity<?> entity)
Returns a
CreateTableSpecification for the given entity, including all mapping information. |
CreateTableSpecification |
BasicCassandraMappingContext.getCreateTableSpecificationFor(CassandraPersistentEntity<?> entity) |
CreateUserTypeSpecification |
CassandraMappingContext.getCreateUserTypeSpecificationFor(CassandraPersistentEntity<?> entity)
Returns a
CreateUserTypeSpecification for the given entity, including all mapping information. |
CreateUserTypeSpecification |
BasicCassandraMappingContext.getCreateUserTypeSpecificationFor(CassandraPersistentEntity<?> entity) |
protected void |
BasicCassandraMappingContext.processMappingOverride(CassandraPersistentEntity<?> entity,
PropertyMapping mapping) |
protected void |
BasicCassandraMappingContext.processMappingOverrides(CassandraPersistentEntity<?> entity,
EntityMapping entityMapping) |
void |
PrimaryKeyClassEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
void |
CompositeCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
void |
CassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity)
Performs verification on the Persistent Entity to ensure all markers and marker combinations are valid.
|
void |
BasicCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) |
Constructor and Description |
---|
BasicCassandraPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
CassandraPersistentEntity<?> owner,
CassandraSimpleTypeHolder simpleTypeHolder)
Creates a new
BasicCassandraPersistentProperty . |
BasicCassandraPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
CassandraPersistentEntity<?> owner,
CassandraSimpleTypeHolder simpleTypeHolder,
UserTypeResolver userTypeResolver)
Creates a new
BasicCassandraPersistentProperty . |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
Collection<MappingException> exceptions)
Creates a new
VerifierMappingExceptions for the given entity and message. |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
String message)
Creates a new
VerifierMappingExceptions for the given entity and message. |
Constructor and Description |
---|
MappingCassandraEntityInformation(CassandraPersistentEntity<T> entity,
CassandraConverter converter)
Creates a new
MappingCassandraEntityInformation for the given CassandraPersistentEntity . |
Modifier and Type | Method and Description |
---|---|
static List<String> |
CqlUtils.alterTable(String tableName,
CassandraPersistentEntity<?> entity,
com.datastax.driver.core.TableMetadata table)
Deprecated.
Alter the table to reflect the entity annotations
|
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.