I am using spring-data-cassandra
and have a table such that
its primary key is ((int_col1,int_col2),bigint_col1,bigint_col2)
.
int_col1
&int_col2
are the partition keys
bigint_col1
& bigint_col2
are the cluster keys.
How important is it to implement hashcode
& equals
method for my class.
What should be the hashcode
implementation of my above @PrimaryKeyClass