Modifier and Type | Method and Description |
---|---|
Object |
MappingCassandraConverter.getId(Object object,
CassandraPersistentEntity<?> entity) |
Object |
CassandraConverter.getId(Object object,
CassandraPersistentEntity<?> entity) |
protected Object |
MappingCassandraConverter.instantiatePrimaryKey(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty keyProperty,
BasicCassandraRowValueProvider propertyProvider) |
protected <S> S |
MappingCassandraConverter.readEntityFromRow(CassandraPersistentEntity<S> entity,
com.datastax.driver.core.Row row) |
protected void |
MappingCassandraConverter.readPropertiesFromRow(CassandraPersistentEntity<?> entity,
BasicCassandraRowValueProvider row,
BeanWrapper<?> wrapper) |
protected void |
MappingCassandraConverter.readPropertyFromRow(CassandraPersistentEntity<?> entity,
CassandraPersistentProperty prop,
BasicCassandraRowValueProvider row,
BeanWrapper<?> wrapper) |
protected void |
MappingCassandraConverter.writeDeleteWhereFromObject(Object object,
com.datastax.driver.core.querybuilder.Delete.Where where,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeDeleteWhereFromWrapper(BeanWrapper<Object> wrapper,
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(BeanWrapper<Object> wrapper,
com.datastax.driver.core.querybuilder.Insert insert,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeUpdateFromObject(Object object,
com.datastax.driver.core.querybuilder.Update update,
CassandraPersistentEntity<?> entity) |
protected void |
MappingCassandraConverter.writeUpdateFromWrapper(BeanWrapper<Object> wrapper,
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) |
protected void |
CassandraTemplate.appendIdCriteria(CassandraTemplate.ClauseCallback clauseCallback,
CassandraPersistentEntity<?> entity,
Object id) |
protected void |
CassandraTemplate.appendIdCriteria(com.datastax.driver.core.querybuilder.Delete.Where where,
CassandraPersistentEntity<?> entity,
Object id) |
protected void |
CassandraTemplate.appendIdCriteria(com.datastax.driver.core.querybuilder.Select.Where where,
CassandraPersistentEntity<?> entity,
Object id) |
Modifier and Type | Class and Description |
---|---|
class |
BasicCassandraPersistentEntity<T>
Cassandra specific
BasicPersistentEntity implementation that adds Cassandra specific metadata. |
Modifier and Type | Field and Description |
---|---|
protected Map<Class<?>,CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.entitiesByType |
protected Map<CqlIdentifier,Set<CassandraPersistentEntity<?>>> |
BasicCassandraMappingContext.entitySetsByTableName |
protected Set<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.nonPrimaryKeyEntities |
protected Set<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.primaryKeyEntities |
Modifier and Type | Method and Description |
---|---|
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()
Returns only those entities not representing primary key types.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getNonPrimaryKeyEntities() |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPersistentEntities()
Returns only those entities that don't represent primary key types.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getPersistentEntities() |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPersistentEntities(boolean includePrimaryKeyTypes)
Returns all persistent entities or only non-primary-key entities.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getPersistentEntities(boolean includePrimaryKeyTypes) |
Collection<CassandraPersistentEntity<?>> |
CassandraMappingContext.getPrimaryKeyEntities()
Returns only those entities representing primary key types.
|
Collection<CassandraPersistentEntity<?>> |
BasicCassandraMappingContext.getPrimaryKeyEntities() |
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) |
protected void |
BasicCassandraMappingContext.processMappingOverride(CassandraPersistentEntity<?> entity,
PropertyMapping mapping) |
protected void |
BasicCassandraMappingContext.processMappingOverrides(CassandraPersistentEntity<?> entity,
EntityMapping entityMapping) |
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 . |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
String s) |
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-2014–2015 Pivotal Software, Inc.. All rights reserved.