cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject Re: apply deserializer to "list" cmd in cli?
Date Wed, 17 Aug 2011 17:01:04 GMT
thanks a lot, this works great

On Wed, Aug 17, 2011 at 1:34 AM, aaron morton <aaron@thelastpickle.com> wrote:
> check the help for the assume statement in the cli.
>
> If the CF has the key_validation_class  set to AsciiType the CLI should do the right
thing.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Cassandra Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 17/08/2011, at 6:02 PM, Yang wrote:
>
>> [default@mykeyspace] list myCF;
>> Using default limit of 100
>> -------------------
>> RowKey: 49505f4652
>> => (counter=00040000ffffc77581888c00, value=161326)
>> => (counter=00040001ffffc77581888c00, value=161326)
>>
>>
>> here the Rowkey is actually ascii encoding for "IP_FR",
>>
>> for "get" command we could specify "ascii(hex_string)" in order to let
>> cli know how to serialize the row key,
>> is there a way to let cli display the row key in the form "IP_FR" ??
>>
>>
>> Thanks
>> Yang
>
>

Mime
View raw message