Re: KeyRange over Long keys

2010-10-22 Thread Stu Hood
y, October 22, 2010 7:05am To: user@cassandra.apache.org Subject: Re: KeyRange over Long keys Prepend zeros to every number out to a fixed length determined by the maximum possible value. As an example, 0055 < 0100 in a lexical ordering where the maximum value is . On Fri, Oct 22, 2010 at 5

Re: KeyRange over Long keys

2010-10-22 Thread Eric Czech
Prepend zeros to every number out to a fixed length determined by the maximum possible value. As an example, 0055 < 0100 in a lexical ordering where the maximum value is . On Fri, Oct 22, 2010 at 5:05 AM, Christian Decker < decker.christ...@gmail.com> wrote: > Ever since I started implementi

KeyRange over Long keys

2010-10-22 Thread Christian Decker
Ever since I started implementing my second level caches I've been wondering on how to deal with this, and thus far I've not found a good solution. I have a CF acting as a secondary index, and I want to make range queries against it. Since my keys are Long I simply went ahead and wrote them as the