@NoRepositoryBean public interface MapIdCassandraRepository<T> extends CassandraRepository<T,MapId>
MapId to represent Ids.
This interface uses MapId for the id type, allowing you to annotate entity fields or properties with
@PrimaryKeyColumn. Use this interface if you do not require a composite primary key class
and want to specify the Id with MapId.
Steps to use this interface:
@PrimaryKeyColumnMapId (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.MapIdentifiable, to make it easier and
quicker for entity clients to get the entity's identity.CassandraRepository,
MapId,
MapIdentifiablefindAll, findAll, findAllById, insert, insert, saveAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, saveCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.