thanxx a ton :) :)

the counter column family works synonymous as 'auto increment' in other
databases rite?

I mean we have a column of  type integer which increments with every insert.

Am i goin the rite way??

please reply :)

On Tue, Mar 27, 2012 at 5:50 PM, R. Verlangen <ro...@us2.nl> wrote:

> *create column family MyCounterColumnFamily with
> default_validation_class=CounterColumnType and
> key_validation_class=UTF8Type and comparator=UTF8Type;*
>
> There you go! Keys must be utf8, as well as the column names. Of course
> you can change those validators.
>
> Cheers!
>
>
> 2012/3/27 puneet loya <puneetl...@gmail.com>
>
>> Can u give an example of create column family with counter column in it.
>>
>>
>> Please reply
>>
>>
>> Regards,
>>
>> Puneet Loya
>>
>
>
>
> --
> With kind regards,
>
> Robin Verlangen
> www.robinverlangen.nl
>
>

Reply via email to