Re: Purpose of BLOB datatype

2013-07-10 Thread Ollif Lee
t; blob into CQL request other than HEX string: > http://cassandra.apache.org/doc/cql3/CQL.html#constants > > > > On Tue, Jul 9, 2013 at 6:40 PM, Ollif Lee wrote: > >> Thank you for your patience. That is what I have expected. >> PS. Do you know any direct ways in

Re: Purpose of BLOB datatype

2013-07-09 Thread Ollif Lee
Thank you for your patience. That is what I have expected. PS. Do you know any direct ways in CQL to handle BLOB, just like DataStax Java driver? On Tue, Jul 9, 2013 at 4:53 PM, Sylvain Lebresne wrote: > > Pls explain why and how. > > Why and how what? > > Not encoding blobs into strings is the

Re: Purpose of BLOB datatype

2013-07-08 Thread Ollif Lee
Pls explain why and how. On Mon, Jul 8, 2013 at 5:44 PM, Sylvain Lebresne wrote: > If you do have blobs, the preferred way is to not encode them in strings > at all, but rather to use prepared statement (which don't involve a > conversion to string). > > -- > Sylvain > > > On Mon, Jul 8, 2013 at