Re: CQL, How to insert Bytes

2012-02-24 Thread Eric Evans
On Fri, Feb 24, 2012 at 11:08 AM, Montgomery Burns wrote: > Thank you - that works perfectly! > > One final question, is this in the docs somewhere - or where should I > look into in the future for questions like these? Google doesn't seem > to be much help since it mostly refers to the docs by da

Re: CQL, How to insert Bytes

2012-02-24 Thread Montgomery Burns
Thank you - that works perfectly! One final question, is this in the docs somewhere - or where should I look into in the future for questions like these? Google doesn't seem to be much help since it mostly refers to the docs by datastax, or other other posts in this mailing list. 2012/2/24 Eric E

Re: CQL, How to insert Bytes

2012-02-24 Thread Eric Evans
On Fri, Feb 24, 2012 at 10:33 AM, Montgomery Burns wrote: > That works - but only for static columns. How do I use this with > dynamic columns? And how can I specify column-names that are bytes > (rather than characters) themselves in CQL? Using blob as the comparator (WITH comparator = blob) wil

Re: CQL, How to insert Bytes

2012-02-24 Thread Montgomery Burns
That works - but only for static columns. How do I use this with dynamic columns? And how can I specify column-names that are bytes (rather than characters) themselves in CQL? 2012/2/24 Eric Evans : > On Fri, Feb 24, 2012 at 9:28 AM, Montgomery Burns > wrote: >> what do I use in order to insert

Re: CQL, How to insert Bytes

2012-02-24 Thread Eric Evans
On Fri, Feb 24, 2012 at 9:28 AM, Montgomery Burns wrote: > what do I use in order to insert bytes instead of characters into a > column, using CQL with the Thrift-client? Assuming the type is 'blob' (bytes), use hex encoding. -- Eric Evans Acunu | http://www.acunu.com | @acunu

CQL, How to insert Bytes

2012-02-24 Thread Montgomery Burns
Hi everyone, what do I use in order to insert bytes instead of characters into a column, using CQL with the Thrift-client?