Annotation Interface PrimaryKeyClass


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface PrimaryKeyClass
Annotates a type that represents the identity type of another class whose instances are stored in a table.

If your Cassandra table has multiple primary key columns, then you must define a primary key class, annotate it with this annotation, and use that class as the PrimaryKey of your entity class!

Author:
Alex Shvid, Matthew T. Adams, Mark Paluch
See Also: