Quantcast
Channel: How to retrieve object from key value database into Map, then convert back to object in Java - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Imran for How to retrieve object from key value database into Map,...

This was solved by casting the generic Object object to MyObject (user defined class object) at serialization and also casting it at deserialization.Here is the code at serialization: public static...

View Article



How to retrieve object from key value database into Map, then convert back to...

I am storing an object as a value in LevelDB. Both key and value must be in bytes for LevelDB.I am receiving an object via a socket and casting it to MyObject:MyObject myObject = (MyObject)...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images