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 -

java - Unable to make sub reports with Jasper -

sql - The object name contains more than the maximum number of prefixes. The maximum is 2 -