Class PrimaryKeyClassEntityMetadataVerifier
java.lang.Object
org.springframework.data.cassandra.core.mapping.PrimaryKeyClassEntityMetadataVerifier
- All Implemented Interfaces:
CassandraPersistentEntityMetadataVerifier
public class PrimaryKeyClassEntityMetadataVerifier
extends Object
implements CassandraPersistentEntityMetadataVerifier
CassandraPersistentEntityMetadataVerifier
for PrimaryKeyClass
entities. Ensures a valid mapping for
composite primary keys.- Since:
- 1.5
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
verify
(CassandraPersistentEntity<?> entity) Performs verification on the Persistent Entity to ensure all markers and marker combinations are valid.
-
Constructor Details
-
PrimaryKeyClassEntityMetadataVerifier
public PrimaryKeyClassEntityMetadataVerifier()
-
-
Method Details
-
verify
Description copied from interface:CassandraPersistentEntityMetadataVerifier
Performs verification on the Persistent Entity to ensure all markers and marker combinations are valid.- Specified by:
verify
in interfaceCassandraPersistentEntityMetadataVerifier
- Parameters:
entity
- the entity to verify, must not be null.- Throws:
MappingException
-