RE: How to export region keys in json file

2017-08-18 Thread Dinesh Akhand
the region > Key Class : java.lang.String > Key : > {\"customerID\":1592,\"customerGroup\":30006,\"cycleCode\":1,\"partiti > onID\":300062} --key-class=amdocs.imdg.model.keys.CustomerKey > > Showing error key not exist. > > We

Re: How to export region keys in json file

2017-08-17 Thread Swapnil Bawaskar
e have customerID=LONG type > cycleCode = short > customerGroup = int > partitionID =int > > Can you please suggest. > > Thanks, > Dinesh Akhand > > > From: Barry Oglesby [mailto:bogle...@pivotal.io] > Sent: Thursday, August 17, 2017 4:18 AM > To: dev@geode.apache.or

RE: How to export region keys in json file

2017-08-17 Thread Dinesh Akhand
--key-class=amdocs.imdg.model.keys.CustomerKey Showing error key not exist. We have customerID=LONG type cycleCode = short customerGroup = int partitionID =int Can you please suggest. Thanks, Dinesh Akhand From: Barry Oglesby [mailto:bogle...@pivotal.io] Sent: Thursday, August 17, 2017 4:18 AM

RE: How to export region keys in json file

2017-08-17 Thread Dinesh Akhand
.io] Sent: Thursday, August 17, 2017 4:18 AM To: dev@geode.apache.org Subject: Re: How to export region keys in json file There isn't anything built in to export keys as JSON. There was some talk about exporting values as JSON at one time, but that hasn't been done. I attached a functio

Re: How to export region keys in json file

2017-08-16 Thread Barry Oglesby
There isn't anything built in to export keys as JSON. There was some talk about exporting values as JSON at one time, but that hasn't been done. I attached a function to dump the keys as JSON. It just logs them to the terminal, but it can easily be changed to write them to a file. It dumps output

How to export region keys in json file

2017-08-16 Thread Dinesh Akhand
Hi, How I can export Region keys in json file. It will help full for us to use get command or remove command for particular key when we have the composite keys defined. get --region=/CUSTOMER_1 --key=({'customerID':'1593','customerGroup':'30013','cycleCode':'1','partitionID':'300133'}) --key-