cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Tunnicliffe <...@beobal.com>
Subject Re: Get clustering column in Custom cassandra trigger
Date Thu, 26 May 2016 11:34:39 GMT
If you just want the string representations you can just use
Unfiltered::clustering to get the Clustering instance for each Unfiltered,
then call its toString(CFMetadata), passing update.metadata().



On Thu, May 26, 2016 at 12:01 PM, Siddharth Verma <
verma.siddharth@snapdeal.com> wrote:

> Tried the following as well. Still no result.
>
> update.metadata().clusteringColumns().toString()  -> get clustering column
> names
> update.columns().toString()                       -> gets no primary key
> colulmns
> update.partitionKey().toString()                  -> gets token range
>
> Any help would be appreciated.
>
> Thanks
> Siddharth Verma
>

Mime
View raw message