Re: CounterColumn as a double

2011-06-28 Thread David Boxenhorn
es and are pretty easily >>>>> convertible.  Check out Double.doubleToLongBits and >>>>> Double.longBitsToDouble in the JDK; you can also read more about the >>>>> details of the conversion and get some pointers to some code in a post >>>>>

Re: CounterColumn as a double

2011-06-27 Thread Jonathan Ellis
t;> I wrote last year: >>>> http://jasonfager.com/770-lexi-sortable-number-strings/  (the emphasis >>>> is on using doubles in key strings, but it should cover what you >>>> need). >>>> >>>> >>>> >>>> >>>&g

Re: CounterColumn as a double

2011-06-27 Thread Jason
ger.com/770-lexi-sortable-number-strings/ (the emphasis >>> is on using doubles in key strings, but it should cover what you >>> need). >>> >>> >>> >>> >>> >>> On Mon, Jun 27, 2011 at 7:13 PM, Joseph Stein wrote: &

Re: CounterColumn as a double

2011-06-27 Thread Joseph Stein
asis >> is on using doubles in key strings, but it should cover what you >> need). >> >> >> >> >> >> On Mon, Jun 27, 2011 at 7:13 PM, Joseph Stein wrote: >> > So has anyone considered using the CounterColumn for summing? >> > >>

Re: CounterColumn as a double

2011-06-27 Thread Joseph Stein
asis > is on using doubles in key strings, but it should cover what you > need). > > > > > > On Mon, Jun 27, 2011 at 7:13 PM, Joseph Stein wrote: > > So has anyone considered using the CounterColumn for summing? > > > > I wanted to-do this over the weekend

Re: CounterColumn as a double

2011-06-27 Thread Jason Fager
/770-lexi-sortable-number-strings/ (the emphasis is on using doubles in key strings, but it should cover what you need). On Mon, Jun 27, 2011 at 7:13 PM, Joseph Stein wrote: > So has anyone considered using the CounterColumn for summing? > > I wanted to-do this over the weekend until I

CounterColumn as a double

2011-06-27 Thread Joseph Stein
So has anyone considered using the CounterColumn for summing? I wanted to-do this over the weekend until I realized it was only a long :( so using it for things like duration (as an example for me this would have been great to keep track of aggregate durations of ad impressions) are not possible

Re: CounterColumn

2011-05-17 Thread Dave Rav
can you estimate when this feature will be added?

Re: CounterColumn

2011-05-06 Thread Dave Rav
JIRA ticket https://issues.apache.org/jira/browse/CASSANDRA-2614 On Fri, May 6, 2011 at 5:33 AM, Dave Rav wrote: > can I use 'Colunm' and  'CounterColumn' in the same 'column family'? No you cannot. As of 0.8.0 you have either counter column family or co

Re: CounterColumn

2011-05-06 Thread Sylvain Lebresne
On Fri, May 6, 2011 at 5:33 AM, Dave Rav wrote: > can I use 'Colunm' and  'CounterColumn' in the same 'column family'? No you cannot. As of 0.8.0 you have either counter column family or column family without counters. But I'll admit that right off the bat I

CounterColumn

2011-05-05 Thread Dave Rav
can I use 'Colunm' and 'CounterColumn' in the same 'column family'? create column family User with comparator = UTF8Type and column_metadata = [ {column_name: first, validation_class: UTF8Type}, {column_name: last, validation_class: UTF8Ty