RE: Question about AbstractType class

2011-04-20 Thread Desimpel, Ignace
s!! Ignace -Original Message- From: Sylvain Lebresne [mailto:sylv...@datastax.com] Sent: Wednesday, April 20, 2011 4:04 PM To: user@cassandra.apache.org Subject: Re: Question about AbstractType class On Wed, Apr 20, 2011 at 3:06 PM, Desimpel, Ignace wrote: > As said above, the remaing bytes won&

Re: Question about AbstractType class

2011-04-20 Thread Sylvain Lebresne
On Wed, Apr 20, 2011 at 3:06 PM, Desimpel, Ignace wrote: > As said above, the remaing bytes won't (always) be the actual bytes. Sorry I answered a bit quickly, I meant to say that the actual bytes won't (always) be the full backing array. That is, we never guarantee that BB.arrayOffset() == 0, no

RE: Question about AbstractType class

2011-04-20 Thread Desimpel, Ignace
-Original Message- From: Sylvain Lebresne [mailto:sylv...@datastax.com] Sent: Wednesday, April 20, 2011 2:07 PM To: user@cassandra.apache.org Subject: Re: Question about AbstractType class On Wed, Apr 20, 2011 at 1:35 PM, Desimpel, Ignace wrote: > Cassandra version 0.7.4 > &g

Re: Question about AbstractType class

2011-04-20 Thread Sylvain Lebresne
On Wed, Apr 20, 2011 at 1:35 PM, Desimpel, Ignace wrote: > Cassandra version 0.7.4 > > > > Hi, > > > > I created my own java class as an extension of the AbstractType class. But > I’m not sure about the following items related to the compare function : > > # The remaining bytes of the buffer somet