CassandraRepository.@NoRepositoryBean @Deprecated public interface TypedIdCassandraRepository<T,ID> extends CassandraRepository<T,ID>
CrudRepository interface that allows the specification of a type for the
identity of the @Table (or @Persistable) type.
If a single column comprises the identity of the entity, then you must do one of two things:
@PrimaryKey and declare your repository
interface to be a subinterface of this interface, specifying the entity type and id type, or@PrimaryKeyColumn and declare your
repository interface to be a subinterface of MapIdCassandraRepository.@PrimaryKeyClass) that represents your
entity's identity.@PrimaryKey.MapIdCassandraRepository@PrimaryKeyColumnMapIdCassandraRepository, which uses a provided
id type, MapId (implemented by BasicMapId).MapId, you can use the static factory method BasicMapId#id() (which is
convenient if you import statically) and the builder method MapId.with(String, Object) to easily construct an
id.findAll, findAll, findAllById, insert, insert, saveAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, saveCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.