I don't think thats possible with the cli. You'd have to embellish
CliClient.Function
On 03/23/2012 09:59 PM, Drew Kutcharian wrote:
I actually have a custom type, I put the BytesType in the example to
demonstrate the issue is not with my custom type.
-- Drew
On Mar 23, 2012, at 6:46 PM, Dave Brosius wrote:
I think you want
assume UserDetails validator as bytes;
On 03/23/2012 08:09 PM, Drew Kutcharian wrote:
Hi Everyone,
I'm having an issue with cassandra-cli's assume command with a custom type. I
tried it with the built-in BytesType and got the same error:
[default@test] assume UserDetails validator as
org.apache.cassandra.db.marshal.BytesType;
Syntax error at position 35: missing EOF at '.'
I also tried it with single and double quotes with no success:
[default@test] assume UserDetails validator as
'org.apache.cassandra.db.marshal.BytesType';
Syntax error at position 32: mismatched input
''org.apache.cassandra.db.marshal.BytesType'' expecting Identifier
Is this a bug?
I'm using Cassanda 1.0.7 on Mac OSX Lion.
Thanks,
Drew