Uses of Interface
org.springframework.data.cassandra.core.mapping.CassandraPersistentEntity
Packages that use CassandraPersistentEntity
Package
Description
Apache Cassandra core support.
Spring Data Cassandra specific converter infrastructure.
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
Query derivation mechanism for Apache Cassandra specific repositories.
Support infrastructure for query derivation of Apache Cassandra specific repositories.
-
Uses of CassandraPersistentEntity in org.springframework.data.cassandra.core
Methods in org.springframework.data.cassandra.core with parameters of type CassandraPersistentEntityModifier and TypeMethodDescriptionStatementBuilder<com.datastax.oss.driver.api.querybuilder.select.Select>StatementFactory.count(Query query, CassandraPersistentEntity<?> persistentEntity) Create a COUNT statement by mappingQuerytoSelect.StatementBuilder<com.datastax.oss.driver.api.querybuilder.select.Select>StatementFactory.count(Query query, CassandraPersistentEntity<?> entity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Create a COUNT statement by mappingQuerytoSelect.StatementBuilder<com.datastax.oss.driver.api.querybuilder.delete.Delete>StatementFactory.delete(Query query, CassandraPersistentEntity<?> persistentEntity) Create a DELETE statement by mappingQuerytoDelete.StatementBuilder<com.datastax.oss.driver.api.querybuilder.delete.Delete>StatementFactory.delete(Query query, CassandraPersistentEntity<?> persistentEntity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Create a DELETE statement by mappingQuerytoDelete.StatementBuilder<com.datastax.oss.driver.api.querybuilder.delete.Delete>StatementFactory.deleteById(Object id, CassandraPersistentEntity<?> persistentEntity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Create an DELETE statement by mappingidto SELECT … WHERE consideringUpdateOptions.StatementBuilder<com.datastax.oss.driver.api.querybuilder.insert.RegularInsert>StatementFactory.insert(Object objectToInsert, WriteOptions options, CassandraPersistentEntity<?> persistentEntity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Creates a Query Object for an insert.StatementBuilder<com.datastax.oss.driver.api.querybuilder.select.Select>StatementFactory.select(Query query, CassandraPersistentEntity<?> persistentEntity) Create a SELECT statement by mappingQuerytoSelect.StatementBuilder<com.datastax.oss.driver.api.querybuilder.select.Select>StatementFactory.select(Query query, CassandraPersistentEntity<?> persistentEntity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Create a SELECT statement by mappingQuerytoSelect.StatementBuilder<com.datastax.oss.driver.api.querybuilder.select.Select>StatementFactory.selectOneById(Object id, CassandraPersistentEntity<?> persistentEntity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Create an SELECT statement by mappingidto SELECT … WHERE consideringUpdateOptions.StatementBuilder<com.datastax.oss.driver.api.querybuilder.update.Update>StatementFactory.update(Object objectToUpdate, WriteOptions options, CassandraPersistentEntity<?> entity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) StatementBuilder<com.datastax.oss.driver.api.querybuilder.update.Update>StatementFactory.update(Query query, Update update, CassandraPersistentEntity<?> persistentEntity) -
Uses of CassandraPersistentEntity in org.springframework.data.cassandra.core.convert
Methods in org.springframework.data.cassandra.core.convert with parameters of type CassandraPersistentEntityModifier and TypeMethodDescriptionSchemaFactory.getCreateIndexSpecificationsFor(CassandraPersistentEntity<?> entity) Returnsindex specificationsderived fromCassandraPersistentEntity.SchemaFactory.getCreateIndexSpecificationsFor(CassandraPersistentEntity<?> entity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) SchemaFactory.getCreateTableSpecificationFor(CassandraPersistentEntity<?> entity) Returns aCreateTableSpecificationfor the given entity, including all mapping information.SchemaFactory.getCreateTableSpecificationFor(CassandraPersistentEntity<?> entity, com.datastax.oss.driver.api.core.CqlIdentifier tableName) Returns aCreateTableSpecificationfor the given entity usingtable name, including all mapping information.SchemaFactory.getCreateUserTypeSpecificationFor(CassandraPersistentEntity<?> entity) Returns aCreateUserTypeSpecificationfor the given entity, including all mapping information.CassandraConverter.getId(Object object, CassandraPersistentEntity<?> entity) Returns the Id for an entity.MappingCassandraConverter.getId(Object object, CassandraPersistentEntity<?> entity) List<com.datastax.oss.driver.api.core.CqlIdentifier>QueryMapper.getMappedColumnNames(Columns columns, CassandraPersistentEntity<?> entity) QueryMapper.getMappedObject(Filter filter, CassandraPersistentEntity<?> entity) UpdateMapper.getMappedObject(Update update, CassandraPersistentEntity<?> entity) QueryMapper.getMappedSelectors(Columns columns, CassandraPersistentEntity<?> entity) QueryMapper.getMappedSort(Sort sort, CassandraPersistentEntity<?> entity) voidCassandraConverter.write(Object source, Object sink, CassandraPersistentEntity<?> entity) voidMappingCassandraConverter.write(Object source, Object sink, CassandraPersistentEntity<?> entity) Constructors in org.springframework.data.cassandra.core.convert with parameters of type CassandraPersistentEntityModifierConstructorDescriptionMetadataBackedField(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) Creates a newQueryMapper.MetadataBackedFieldwith the given name,CassandraPersistentEntityandMappingContext.MetadataBackedField(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CassandraPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,CassandraPersistentPropertyandMappingContextwith the givenCassandraPersistentProperty.Constructor parameters in org.springframework.data.cassandra.core.convert with type arguments of type CassandraPersistentEntityModifierConstructorDescriptionMetadataBackedField(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) Creates a newQueryMapper.MetadataBackedFieldwith the given name,CassandraPersistentEntityandMappingContext.MetadataBackedField(ColumnName name, CassandraPersistentEntity<?> entity, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CassandraPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,CassandraPersistentPropertyandMappingContextwith the givenCassandraPersistentProperty.SchemaFactory(MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext, CustomConversions customConversions, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry) -
Uses of CassandraPersistentEntity in org.springframework.data.cassandra.core.mapping
Classes in org.springframework.data.cassandra.core.mapping that implement CassandraPersistentEntityModifier and TypeClassDescriptionclassCassandra specificBasicPersistentEntityimplementation that adds Cassandra specific metadata.classCassandra Tuple-specificPersistentEntityfor a mapped tuples.classPersistentEntityfor a mapped user-defined type (UDT).Methods in org.springframework.data.cassandra.core.mapping that return CassandraPersistentEntityModifier and TypeMethodDescriptionEmbeddedEntityOperations.getEntity(CassandraPersistentProperty property) BasicCassandraPersistentProperty.getOwner()Methods in org.springframework.data.cassandra.core.mapping that return types with arguments of type CassandraPersistentEntityModifier and TypeMethodDescriptionCassandraMappingContext.getUserDefinedTypeEntities()Returns only those entities representing a user defined type.Methods in org.springframework.data.cassandra.core.mapping with parameters of type CassandraPersistentEntityModifier and TypeMethodDescriptionstatic PersistentPropertyTranslatorPersistentPropertyTranslator.create(CassandraPersistentEntity<?> targetEntity) Create a newPersistentPropertyTranslator.static PersistentPropertyTranslatorPersistentPropertyTranslator.create(CassandraPersistentEntity<?> targetEntity, Predicate<CassandraPersistentProperty> translationFilter) Create a newPersistentPropertyTranslatoraccepting afilter predicatewhether the translation should happen at all.default StringNamingStrategy.getTableName(CassandraPersistentEntity<?> entity) Create a table name from the givenCassandraPersistentEntity.SnakeCaseNamingStrategy.getTableName(CassandraPersistentEntity<?> entity) UsesClass.getSimpleName()and separates camel case parts with '_'.TransformingNamingStrategy.getTableName(CassandraPersistentEntity<?> entity) default StringNamingStrategy.getUserDefinedTypeName(CassandraPersistentEntity<?> entity) Create a user-defined type name from the givenCassandraPersistentEntity.SnakeCaseNamingStrategy.getUserDefinedTypeName(CassandraPersistentEntity<?> entity) UsesClass.getSimpleName()and separates camel case parts with '_'.TransformingNamingStrategy.getUserDefinedTypeName(CassandraPersistentEntity<?> entity) voidBasicCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) voidCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) Performs verification on the Persistent Entity to ensure all markers and marker combinations are valid.voidCompositeCassandraPersistentEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) voidPrimaryKeyClassEntityMetadataVerifier.verify(CassandraPersistentEntity<?> entity) Constructors in org.springframework.data.cassandra.core.mapping with parameters of type CassandraPersistentEntityModifierConstructorDescriptionBasicCassandraPersistentProperty(Property property, CassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) Create a newBasicCassandraPersistentProperty.BasicCassandraPersistentTupleProperty(Property property, CassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) Create a newBasicCassandraPersistentTupleProperty.CachingCassandraPersistentProperty(Property property, CassandraPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) VerifierMappingExceptions(CassandraPersistentEntity<?> entity, String message) Create a newVerifierMappingExceptionsfor the givenentityand message.VerifierMappingExceptions(CassandraPersistentEntity<?> entity, Collection<MappingException> exceptions) Create a newVerifierMappingExceptionsfor the givenentityand message.Constructor parameters in org.springframework.data.cassandra.core.mapping with type arguments of type CassandraPersistentEntityModifierConstructorDescriptionEmbeddedEntityOperations(MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) -
Uses of CassandraPersistentEntity in org.springframework.data.cassandra.repository.query
Methods in org.springframework.data.cassandra.repository.query that return types with arguments of type CassandraPersistentEntityModifier and TypeMethodDescriptionprotected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> CassandraRepositoryQuerySupport.getMappingContext()protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> PartTreeCassandraQuery.getMappingContext()Returns theMappingContextused by this query to access mapping meta-data used to store (map) objects to Cassandra tables.protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> ReactivePartTreeCassandraQuery.getMappingContext()Returns theMappingContextused by this query to access mapping meta-data used to store (map) objects to Cassandra tables.Constructor parameters in org.springframework.data.cassandra.repository.query with type arguments of type CassandraPersistentEntityModifierConstructorDescriptionCassandraQueryMethod(Method method, RepositoryMetadata repositoryMetadata, ProjectionFactory projectionFactory, MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newCassandraQueryMethodfrom 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 newReactiveCassandraQueryMethodfrom the givenMethod. -
Uses of CassandraPersistentEntity in org.springframework.data.cassandra.repository.support
Constructors in org.springframework.data.cassandra.repository.support with parameters of type CassandraPersistentEntityModifierConstructorDescriptionMappingCassandraEntityInformation(CassandraPersistentEntity<T> entity, CassandraConverter converter) Create a newMappingCassandraEntityInformationfor the givenCassandraPersistentEntity.