Hi,
I am querying around 7 queries and need to pick data and save it in the
cache. I need my response to look as shown below. I have following queries
to help me achieve this efficiently -
1. How do I manipulate and store data intermediately before loading it to
cache. Also, I need to cache few data permanently and update rest during
later part when I run my scheduler.
2. As of now for sample data I get key values in metadata and values
separately. I need it as key: value using cache.put(). I do not want to add
data to cache using rest-api.
*Response:*
{"tdy":{
"tdyGoal":500.69,
"tdyForecast":195.69,
"hourlySales":{
"0":{
"hourId":0,
"hourDesc":"1:00 AM",
"sales":0,
"lySales":73.17,
"avgBsktSz":0,
"tranCount":0,
"lyAvgBsktSz":10.45,
"lyTranCount":7,
"variance":-73.17},
"1":{
"hourId":1,
"hourDesc":"2:00 AM",
"sales":0,
"lySales":35.21,
"avgBsktSz":0,
"tranCount":0,
"lyAvgBsktSz":17.61,
"lyTranCount":2,
"variance":-35.21},
"yst":{
"goal":100.81,
"forecast":180,
"tySales":290.04,
"lySales":200.05,
"tyTransactionCount":20,
"tyAverageBasketSize":36.49,
"lyTransactionCount":39,
"lyAverageBasketSize":37.11
},
}
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Way-to-save-Multiple-queries-results-for-further-manipulation-tp7189.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.