Re: CQL - raw bytes values

2011-06-03 Thread Jonathan Ellis
You can use any AbstractType, including custom ones. The format depends on AT.fromString; in the case of bytestype (CQL "bytea") this is hex: SELECT 'd54' FROM MyColumnFamily On Fri, Jun 3, 2011 at 5:45 PM, Michal Augustýn wrote: > Hello, > > I have read a lot about CQL and I looked into source

CQL - raw bytes values

2011-06-03 Thread Michal Augustýn
Hello, I have read a lot about CQL and I looked into source and it seems that just string, long and uuid can be used as column name/value in CQL commands. Is there any way how to works with "pure" bytes? I.e. "SELECT BYTES(3412) FROM MyColumnFamily". Actually, I wouldn't use CQL without this featu