GridGain: How to add composite primary keys -


in gridgain, have load data such primary key composite key.

say have

class person{     int id;     int officeid;     ... } 

here want add primary key both id , officeid. possible add composite key in gridgain?

in gridgain object can used key, hashmaps. need make sure override equals(...) , hashcode() methods composite keys.


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -