INSERT JSON TimeStamp

2015-09-28 Thread Ashish Soni
If Anyone can help for below as i am getting the error effectiveStartDate and effectiveEndDate are TimeStamp INSERT INTO model.RuleSetSchedule JSON ' { "ruleSetName": "BOSTONRATES", "ruleSetId": "829aa84a-4bba-411f-a4fb-38167a987cda", "scheduleId":1, "effectiveStartDate": "01/01/2

Re: INSERT JSON TimeStamp

2015-09-28 Thread Ashish Soni
at 4:11 PM, Steve Robenalt wrote: > Hi Ashish, > > Most Json parsers expect either a raw long integer value or some version > of an iso-8601 date or timestamp. > > See https://en.wikipedia.org/wiki/ISO_8601 for a good reference. > > Steve > > > On Mon, Sep 28,

JSON Order By

2015-10-01 Thread Ashish Soni
Hi All , I have a question related to JSON sorting I have a below structure stored in cassandra and i would like to get the internal array sorted by a property when i select it , Please let me know if there is way to do that . I need to sort the rules Array by property ruleOrder when i select CRE

Example of JavaBeanColumnMapper

2015-10-04 Thread Ashish Soni
Hi All , Are there any Java examples of how to use JavaBeanColumnMapper or RowReader and RowWriter Factory. Any link to example code will be helpful. Ashish

Cassandra Object Mapper - Dynamically pass keyspace value

2015-10-20 Thread Ashish Soni
Hi All , is there any way i can specify value of keyspace during compile time like using maven build hard coding keyspace name inside the java class is bit not comfortable as if there a change and there are 1000's of files it become a big maintenance issue @UDT (keyspace = "complex", name = "addr

Object Mapping VS Direct Queries

2015-10-21 Thread Ashish Soni
Hi All , Please let me know if there are any disadvantages of using Object Mapping instead of writing direct CQL queries. Ashish