Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2203

Java get map from redis key and add them into another redis Map Key

$
0
0

New to Java. Using version 11.Need to retrive map from a redis key , Insert selected fields and some new fields to a new map key.

hgetall operationRedisCacheKey1 : Map<String, String> : FirstName-> "Chris",LastName->"Roberts",City->"NY"hset operationRedisCacheKey2 :Map <String,String> : FirstName-> "Chris",Status -> "Completed"

Can i make a model so that i can add new fields or its going to be manually put into a map each time.


Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>